News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Newbie question about logging

Started by daniloz, April 20, 2010, 09:08:18 AM

Previous topic - Next topic

daniloz

Hi all,

I'm have a very basic (and kind of stupid) question about using the debug output (logging) of the CC.

I've set NATIVE_PARSER_DEBUG_OUTPUT=1 (#define NATIVE_PARSER_DEBUG_OUTPUT 1) in nativeparser.cpp, but I don't see the log. Actually, I have no idea where to look for it...  :oops: I expected it to be on the "Code::Blocks" tab on the bottom of the screen (in the "Logs & others" panel), but it doesn't show up in there...

Please help !!!

And sorry for the silly question...

Jenna

You have to start C::B with the -d or --debug-log parameter.

daniloz

Now it works... :-) Thank you !!!!!

ollydbg

Quote from: daniloz on April 20, 2010, 10:30:25 AM
Now it works... :-) Thank you !!!!!
Also, if you would like to test CodeCompletion plugin, this Code Completion Design - CodeBlocks could help.  :D
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.