Page 1 of 1

Make it easier to show the memory from the variable viewer

Posted: Fri Mar 13, 2009 5:16 pm
by Hurga
What I find a bit uncomfortably to show the memory when I have a pointer or a memarea in the variable list.
What I have to do now is:
- open memory viewer
- read the adress from the variable viewer
- write it as startmem in the memory viewer
- think about how large is the mem allocated here
- add this to the "-" field
- pray that I didnt make any mistake

... hard work, isnt it?

So heres my wish...
It would be great, if there is a memory stored into a variable or pointer, to right click in the variable viewer and in the popping up context menu there would be an option -> show memory....

This opens the memory viewer and shows the allocated mem at these adress.

Any chance for this?

Posted: Fri Mar 13, 2009 6:50 pm
by freak
Since PB 4.20, this is much simpler:

If your variable is called "*Buffer" and you want to view 100 bytes, then you just do this:
- open memory viewer
- enter "*Buffer" in the first field (no quotes)
- enter "+100" in the second field (no quotes)
- press display

The memory viewer can resolve variables and even more complex expressions, and the second field is interpreted as relative if it starts with a + (the second field can contain variables too btw)

I can add the menu entry, but it is already quite simple as it is. ;)

Posted: Fri Mar 13, 2009 8:25 pm
by Hurga
Thx for the reply.
I know the +100 thing, but i Didnt know the *Buffer.

That makes it a bit easier, but if you can add the menu entry, i woul dbe a bit more easy ;-)

Thx