Debugger::CurrentMode Property
Visual Studio 2015
Gets the current mode of the debugger within the context of the integrated development environment (IDE).
Assembly: EnvDTE (in EnvDTE.dll)
Show: