Author Topic: Codeblocks debug: how to watch the contents of "this" object  (Read 4595 times)

Doraemon

  • Guest
Codeblocks debug: how to watch the contents of "this" object
« on: January 15, 2014, 07:30:55 am »
Hello guys!

The title says it all, but let's clarify: in some IDEs, the simple fact of being in some objects' context
allows to watch what's going on in the object. For example, I have an object, and I want to see
what happens during the function "ProcessData". Right now, even if I jump into MyObj->ProcessData,
there is no way to watch the object's contents.
Is there a way to do that?
If it could be done automatically without adding anything to the current watch window, that would
be even better.

Thanks,

Dora.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Codeblocks debug: how to watch the contents of "this" object
« Reply #1 on: January 15, 2014, 08:23:25 am »
Add these *this and *MyObj->ProcessData... or add "this" and then right click -> dereference.
There is no automatic way at the moment unfortunately.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]