View Single Post
Debugging with MSVC & STEAM is possible
Old
  (#1)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Debugging with MSVC & STEAM is possible - 07-04-2004

Perhaps already known, but then again:

You can trace crashes by line number using MSVC. You do not really need to set it on 'debug mode'. What i did was set the configuration on Release Mode and changed a few options on the compiling settings:

On the C/C++ Tab:
Debug info is set to : Line Numbers Only

On the Link Tab:
Check the "Generate Debug Info"

THats it. Whenever your bot seems to crash, you can click on the button to 'trace the error'. MSVC will open in Debug mode. SHowing you some ASM crap probably, but you can backtrace that (below you can see the 'route of functions') and find your exact line number where it crashed.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote