Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Doraemon on January 15, 2014, 07:30:55 am

Title: Codeblocks debug: how to watch the contents of "this" object
Post by: Doraemon 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.
Title: Re: Codeblocks debug: how to watch the contents of "this" object
Post by: oBFusCATed 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.