Link to home
Start Free TrialLog in
Avatar of lcor
lcor

asked on

Debug Mode not working in

I have a dsw file that has both Debug and Release configurations.  I set the active configuration to Debug.

The cpp files have the following debug:

#ifdef _DEBUG
    TRACE("Blah blah");
#endif

But none of the debug statements are showing up in the Debug window.  What am I doing wrong?
Avatar of jkr
jkr
Flag of Germany image

You need to run it under the debugger, IOW debug the program to have the output show up there. Alternatively, you can use a separate debug output viewer, e.g. like DebugView: http://www.sysinternals.com/ntw2k/freeware/debugview.shtml
Avatar of lcor
lcor

ASKER

Oops I mean to say I am using VC++ 6.0 which has a debugger.

I meant to put that in the title.
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lcor

ASKER

Like, duh!

Thanks!