Actually I was trying to do the very same thing today, ie: debug an exe
launched by a batch file. The page entitled "launching the debugger
automatically" in the vs.net help was more helpful for me.
It suggests getting creative with the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image
File Execution Options
William DePalo [MVP VC++] wrote:
"KRK" <an*******@discussions.microsoft.com> wrote in message
news:D8**********************************@microsof t.com...
I am having one batch file and using this I can start my Server.
It will execute all exes while starting. Now my question is how to
debug my exe using this batch file?? Is it possible to execute
this batch file from my prject debug session....
From the menu select Project->Properties->Debugging.
Then enter the name of the batch file in the command box and any parameters
in the box below.
Regards,
Will