Difference between revisions of "MSVC Crash Debugging"

From Hercules Wiki
Jump to: navigation, search
(Created page with "1. In the 'Solution Explorer' sidebar, right click map-server<br/> 2. Hit 'Set as StartUp Project'<br/> 3. right click map-server again, hit 'Properties'<br/> 4. In the Proper...")
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
1. In the 'Solution Explorer' sidebar, right click map-server<br/>
+
1. In the '''Solution Explorer''' sidebar, right click '''map-server'''<br/>
2. Hit 'Set as StartUp Project'<br/>
+
2. Hit '''Set as StartUp Project'''<br/>
3. right click map-server again, hit 'Properties'<br/>
+
3. right click '''map-server''' again, hit '''Properties'''<br/>
4. In the Properties window, within 'Configuration Properties' -> 'Debugging', change 'Working Directory' to '$(SolutionDir)', then save & close the Properties window.<br/>
+
4. In the '''Properties''' window, within '''Configuration Properties''' -> '''Debugging''', change '''Working Directory''' to '''$(SolutionDir)''', then save & close the '''Properties''' window.<br/>
5. Hit 'F5' it will launch map server under debug mode, once it crashes a 'Call Stack' window will be populated with useful debug information.<br/>
+
5. Hit '''F5''' key it will launch map server under debug mode, once it crashes a '''Call Stack''' window will be populated with useful debug information.<br/>
  
 
== Footnote ==
 
== Footnote ==
 
Written by a non-MSVC user, please improve at will, and feel free to dump this footnote when you do so.
 
Written by a non-MSVC user, please improve at will, and feel free to dump this footnote when you do so.
 +
[[Category:Debugging]]

Latest revision as of 17:48, 3 October 2013

1. In the Solution Explorer sidebar, right click map-server
2. Hit Set as StartUp Project
3. right click map-server again, hit Properties
4. In the Properties window, within Configuration Properties -> Debugging, change Working Directory to $(SolutionDir), then save & close the Properties window.
5. Hit F5 key it will launch map server under debug mode, once it crashes a Call Stack window will be populated with useful debug information.

Footnote

Written by a non-MSVC user, please improve at will, and feel free to dump this footnote when you do so.