Re: [GD-Windows] Debugging multiple apps
Brought to you by:
vexxed72
From: Chris J. <cj...@ob...> - 2006-08-18 19:31:19
|
One way I've dealt with stuff like this in the past is to put a simple loop like this as the first thing in your WinMain: bool wait =3D true; while (wait); Once the process is launched, just attach to it with the debugger and break. Set wait to false and start stepping. Chris > -----Original Message----- > From: gam...@li...=20 > [mailto:gam...@li...]=20 > On Behalf Of Research > Sent: Friday, August 18, 2006 12:28 AM > To: Gam...@li... > Subject: [GD-Windows] Debugging multiple apps >=20 > I cannot figure out how to debug multiple apps in Visual=20 > Studio, and I can't seem to find the right google words to=20 > find this either. >=20 > I'm have one application that launches another with=20 > ShellExecute. They are both in the same solution. I put=20 > breakpoints on the WinMain of the launched app and it never=20 > gets called. >=20 > I know how to attach to something already running, but I need=20 > to trap the app on entry. So I want to step on the=20 > ShellExecute and have the other app start and immediately break. >=20 > Is this possible in Visual Studio? >=20 > Thanks, > Brett=20 >=20 >=20 > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web=20 > services, security? > Get stuff done quickly with pre-integrated technology to make=20 > your job easier Download IBM WebSphere Application Server=20 > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& > dat=3D121642 > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 >=20 |