Debugging 2 exe's

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.
 
S

Steve B.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top