News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

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."