Author Topic: while debuging  (Read 2468 times)

Offline MoonKid

  • Almost regular
  • **
  • Posts: 180
while debuging
« 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

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: while debuging
« Reply #1 on: November 21, 2008, 02:33:10 pm »
No.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."