• Advertisement
Sign in to follow this  

[solved] Detecting debugger

This topic is 2900 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I would like to add a special dialog box to my assert function which will show different information depends if the application runs under Visual Studio or not. Does anyone know if there is a function in VS which I can use to detect the debugger? I was also thinking about detecting process 'devenv.exe'. My application is written in C++ and I am using Visual Studio 2008. Regards, To [Edited by - Volgut on March 13, 2010 2:44:36 AM]

Share this post


Link to post
Share on other sites
Advertisement
Did you try the IsDebuggerPresent() function?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement