Debugging 2 exe's

  • Thread starter Thread starter at
  • Start date Start date
A

at

Hi, I'm developing app for PPC03 with VS2005 using VB.NET. My main app
launches
a second exe via button click. I can put breakpoints in my main app and
debug.
I would like to put breakpoints in my second exe, so i can debug that after
its launched.
I've added the second exe project in the solution.Is there a way i can debug
it even
though the IDE is debugging the main app to start with or is it not
possible.
 
You can't attach the second process if it is ran from the first app.

But you can "simulate" this behaviour by setting the command line argument
of the second app with exactly the command line arguments that the first app
should pass. Then enter in debug mode directly in the second app.
You can also use some message box to wait for something if you want your
code to be executed at a certain time.

HTH
Steve
 
Back
Top