nomad
2008-11-06 10:01:01 UTC
I'm trying to debug an MFC application that's being launched by the Shell
under Vista in response to double-clicking a file. I want the debugger to
catch the app in InitInstance(), before it really gets started. But I need to
debug remotely, so I have my debugger set up on another machine, I'm running
the VS Remote Debugging Monitor on the Vista box, and I have a call to
DebugBreak() in the InitInstance() method.
The problem is, I can't figure out how to get the debugger to automatically
connect to the app on the other side of the connection. There doesn't appear
to be any 'wait for process' setting that I can apply to a remote target. Or
is there?
How does one do this?
under Vista in response to double-clicking a file. I want the debugger to
catch the app in InitInstance(), before it really gets started. But I need to
debug remotely, so I have my debugger set up on another machine, I'm running
the VS Remote Debugging Monitor on the Vista box, and I have a call to
DebugBreak() in the InitInstance() method.
The problem is, I can't figure out how to get the debugger to automatically
connect to the app on the other side of the connection. There doesn't appear
to be any 'wait for process' setting that I can apply to a remote target. Or
is there?
How does one do this?