Re: [GD-Windows] Debugging multiple apps
Brought to you by:
vexxed72
From: Brett B. \(Research\) <res...@ga...> - 2006-08-19 02:21:17
|
I'm glad to hear this is a valid technique! I resorted to a MessageBox as the first line so I can attach the process before continuing. But surely there's a way to do this properly? The doc goes on and on about how great solution files are because each project and the dependencies are known and so multi-language, multi-project debugging "is a breeze".... I want to feel the wind in my hair! Brett ----- Original Message ----- From: "Chris Jones" <cj...@ob...> To: "Game Development for MS Windows" <gam...@li...> Sent: Saturday, August 19, 2006 3:31 AM Subject: Re: [GD-Windows] Debugging multiple apps > 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 = 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... >> [mailto:gam...@li...] >> On Behalf Of Research >> Sent: Friday, August 18, 2006 12:28 AM >> To: Gam...@li... >> Subject: [GD-Windows] Debugging multiple apps >> >> I cannot figure out how to debug multiple apps in Visual >> Studio, and I can't seem to find the right google words to >> find this either. >> >> I'm have one application that launches another with >> ShellExecute. They are both in the same solution. I put >> breakpoints on the WinMain of the launched app and it never >> gets called. >> >> I know how to attach to something already running, but I need >> to trap the app on entry. So I want to step on the >> ShellExecute and have the other app start and immediately break. >> >> Is this possible in Visual Studio? >> >> Thanks, >> Brett >> >> >> -------------------------------------------------------------- >> ----------- >> Using Tomcat but need to do more? Need to support web >> services, security? >> Get stuff done quickly with pre-integrated technology to make >> your job easier Download IBM WebSphere Application Server >> v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >> dat=121642 >> _______________________________________________ >> Gamedevlists-windows mailing list >> Gam...@li... >> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows >> Archives: >> http://sourceforge.net/mailarchive/forum.php?forum_id=555 >> > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 |