all groups > dotnet compact framework > august 2006 >
You're in the

dotnet compact framework

group:

Debugging 2 exe's


Debugging 2 exe's at
8/21/2006 12:00:00 AM
dotnet compact framework:
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.

Re: Debugging 2 exe's ctacke/
8/21/2006 11:12:49 AM
Run 2 instances of the IDE.

-Chris


[quoted text, click to view]

Re: Debugging 2 exe's Steve B.
8/21/2006 5:25:43 PM
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

"at" <at@hotmail.com> a écrit dans le message de news:
uvC7VKQxGHA.4192@TK2MSFTNGP06.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button