Menu

#112 the debugger does not show struct members when the struct is defined as a pointer

None
fixed
2014-03-11
2014-03-06
Isaac
No

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.

1 Attachments

Discussion

  • Isaac

    Isaac - 2014-03-06
    • Milestone: -->
     
  • SilverNexus

    SilverNexus - 2014-03-07

    It appears to be the behavior of the debugger. I found the same thing.

     
  • orwelldevcpp

    orwelldevcpp - 2014-03-11
    • status: open --> pending
     
  • SilverNexus

    SilverNexus - 2014-03-11

    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.

     
  • Isaac

    Isaac - 2014-03-11

    it didnt solve the problem for me too, still the same bug...

     
  • orwelldevcpp

    orwelldevcpp - 2014-03-11
    • status: pending --> fixed
     
  • orwelldevcpp

    orwelldevcpp - 2014-03-11

    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.

     
    • Isaac

      Isaac - 2014-03-11

      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?

       
      • orwelldevcpp

        orwelldevcpp - 2014-03-14

        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/

         
        • Isaac

          Isaac - 2014-03-15

          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?

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.