How can I detect a debugger or other tool that might be analysing my software?

Posted by Workshop Alex on Stack Overflow See other posts from Stack Overflow or by Workshop Alex
Published on 2009-09-18T08:37:06Z Indexed on 2010/05/23 2:30 UTC
Read the original article Hit count: 327

A very simple situation. I'm working on an application in Delphi 2007 which is often compiled as 'Release' but still runs under a debugger. And occasionally it will run under SilkTest too, for regression testing. While this is quite fun I want to do something special...

I want to detect if my application is running within a debugger/regression-tester and if that's the case, I want the application to know which tool is used! (Thus, when the application crashes, I could report this information in it's error report.)

Any suggestions, solutions?

© Stack Overflow or respective owner

Related posts about delphi

Related posts about debugger