Visual-studio – Debug ActiveX


I am trying to fix a bug on an ActiveX control. Is it possible to debug it from within Visual Studio 2008?

Best Solution

If attaching to the process is a problem, just throw a DebugBreak() into the code you wish to debug. If VS is your JIT debugger, once the debug break command is reached you'll be asked whether you'd like to debug the process. Just say yes, and you're in.