Forum Discussion

RandomClear's avatar
RandomClear
New Contributor
9 years ago
Solved

Detect running under AQTime? Avoid crashing debugging code

I usePerformance Profiler in AQTime. Trying to run it under IDE (using Embarcadero RAD Studio XE). Inspected project crashes on such code:     // Setting a Thread Name (Unmanaged): // http://msdn....
  • RandomClear's avatar
    9 years ago
    You can check the following environment variables that are passed to the profiled process by default: AQTIME_DEBUGGER_PRESENT and AQTIME_VERSION.