I'm working in a VS 2010 SP1 Isolated Shell application. I need to ask the debugger to stop during a debug session. Currently I know two ways to do that:
- Using DTE: DTE.Debugger.Stop(...)
- Using the corresponding VS command: DTE.ExecuteCommand( "Debug.StopDebugging" )
But for internal reason, we try to not depend on DTE at all. So I would like to know if there is another way completely independent from DTE to stop the debugger ?
Ideally, I'm looking for a service interface more or less like IVsDebugLaunch which allow to ask the debugger to stop.