the debugger does not show struct members when the struct is defined as a pointer
A free, portable, fast and simple C/C++ IDE
Brought to you by:
orwelldevcpp
the debugger does not show the members of a struct when it is defined as a pointer, only its address, or, am i doing something wrong?
and when it show the members is in a weird way, take a look at the attached image...
that is really annoying...
thanks, isaac.
It appears to be the behavior of the debugger. I found the same thing.
This one and somewhat related ticket 111 should be fixed by this patch:
http://wilcobrouwer.nl/bestanden/Dev-Cpp%205.6.2%20SilverNexus%20Test.7z
I'm still seeing pointers to structures show up as only addresses in the 5.6.2 beta attached here. It did fix the problems in ticket 111, though.
it didnt solve the problem for me too, still the same bug...
This is expected behaviour. For pointers, the address it points to are shown. If you want to know what the pointer points to, add watches for dereferenced pointers, like *aaa.
yeah, it is working now, thanks
hey, i already asked this in the past, but you didnt answer me, what about adding rad gui capabilities to devc++, could be simple, just the basic controls (buttons, comboboxes, line edits, ...), for simple guis, that would be awesome.
what about?
I'd implement RAD GUI if I had the time, but that doesn't seem to be the case unfortunately.
As an alternative, take a look at resource file creators like ResEdit:
http://www.resedit.net/
this little program is really cool, i've create a simple gui using it, but now i dont know how to link it to an application, in other words, how to write code for the events (button press, ...), do you have any tutorial about that or site where i can learn how to use it?