News:

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

Main Menu

while debuging

Started by MoonKid, November 21, 2008, 10:44:17 AM

Previous topic - Next topic

MoonKid

Is it possible for the preprocessor to find out if the deubbger is running or not?

#ifdef _DEBUG
It work for debug builds, but it doesn't matter if the debuger is realy running or not.

Is there something like this?
#ifdef _DEBUG_RUNNING

thomas

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."