Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: MoonKid on November 21, 2008, 10:44:17 am

Title: while debuging
Post by: MoonKid on November 21, 2008, 10:44:17 am
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
Title: Re: while debuging
Post by: thomas on November 21, 2008, 02:33:10 pm
No.