Groups | Blog | Home
all groups > visual studio .net debugging > november 2004 >

visual studio .net debugging : unable to start debugging when program started with another exe.


Luc
11/25/2004 5:49:02 AM
Hi all,

I have to debug an exe with the VS studio .NET environment. but first my
exe has to be started using another exe. So I arranged my project properties
to start this first exe. Doing so, my breakpoints are not working.

It seems that the debugger cannot attach itself to my program since it is
started by another exe. I tried using a batch file calling my program but
it's not working. I received an error massge stating I cannot start a
program using a batch file from within the vs.net ide.

arthurwa NO[at]SPAM online.microsoft.com
11/26/2004 4:22:03 AM
you can running the process first and them use VS debugger to attach to it.
or
put DebugBreak() in your code.
--------------------
[quoted text, click to view]
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA0
3.phx.gbl
[quoted text, click to view]
AddThis Social Bookmark Button