News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Debugging In Code::Blocks

Started by mahmoud.arafa, May 22, 2014, 05:19:09 AM

Previous topic - Next topic

mahmoud.arafa

Hi.
While debugging, I can't watch the contents of a container (array, vector,..etc).
Any help?

ollydbg

Can you show us the full debugger plugin logs of you debug session, you can enable it by Menu->Settings->Debugger settings->Full(debug) log.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

oBFusCATed

#2
Do you have stl pretty printers installed and enabled for your gdb?
(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!]

mahmoud.arafa

Quote from: ollydbg on May 22, 2014, 07:31:03 AM
Can you show us the full debugger plugin logs of you debug session, you can enable it by Menu->Settings->Debugger settings->Full(debug) log.

I enabled it but still can't see them.

ollydbg

Quote from: mahmoud.arafa on May 23, 2014, 02:51:49 AM
Quote from: ollydbg on May 22, 2014, 07:31:03 AM
Can you show us the full debugger plugin logs of you debug session, you can enable it by Menu->Settings->Debugger settings->Full(debug) log.

I enabled it but still can't see them.

Do you see some logs in the debugger or debugger(debug) panel when you are debugging? See below:

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.