Re: Debugging in Visual Studio 2012
Bernhard Wymann <[email protected]> Thu, 20 Jun 2013 15:21:27 +0200
| Newsgroups | gmane.games.torcs.devel |
|---|---|
| Organization | wytec |
| Message-ID | <[email protected]> |
Hi McCriddle Of course you can. I can just speak for VS2008, that's the version I am currently using (apart from VS 6). There it is very easy to achieve: - Go to the properties tab, then into debugging for the debug version, there you fill in what to run (wtorcs.exe and the current working directory of it), then you should be able to hit F5 to run it out of the IDE and using full debugging. An alternative is to place a "DebugBreak()" statement in the main.cpp, then the window to attach to the process pops up. Hope this helps Bernhard On 06/14/2013 10:34 AM, Michael Sieben wrote: > Hi, > > i have a question to some more experienced users of Visual Studio. > > I got Torcs 1.3.4 and my own robots to compile in VS and can run > wtorcs.exe from runtime and/or runtimed. > > > > But is it possible to modify the configuration so i could run and debug > torcs with VS? (e.g. use breakpoints, step by step, and inspect > variables and classes directly with the VS builtin functions) > > > Thanks in advance to any help. > > best regards > McCriddle > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > > > > _______________________________________________ > Torcs-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/torcs-devel > ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev