title: How can I detect a debugger or other tool that might be analysing my software?
body: <p>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...</p>
  
  <p>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.)</p>
  
  <p>Any suggestions, solutions?</p>