Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Determine whether in debug mode

michael_green
Beginner
265 Views
Hi All,

I would like to have a program determine whether it is being run in debug mode or not. Can this be done? If so how?

With many thanks in advance
Mike
0 Kudos
1 Reply
DavidWhite
Valued Contributor II
265 Views
kernell32 includes the IsDebuggerPresent API. Suggest you do some searching on the web to see how to interface to it.
0 Kudos
Reply