Msvc Backtraces - WinDbg

Installation

  • Install the windows sdk from the download link above.
    • Only install the debugging tools (don't need the rest).
  • Set your path for the installed folder (e.g. C:\Program Files\Debugging Tools...

Core Dumps

Use the adplus script. To start a command

adplus -crash -o C:\work\rosbuild2\msvc\bin\dumps -sc add_two_ints_client.exe 3 2

To attach to a running command, simply switch -sc to -pn.

Then you can open the dumps in ms express just by double clicking on the dump files till you get the one that shows you the crash. Then choose the action debug with native only on the top right of the screen. That should give you a call stack.

Sometimes you might need to set the symbol paths (i.e. the location of the .pcb files).

Wiki: win_ros/Additional Help/Msvc Backtraces (last edited 2013-03-19 07:30:15 by DanielStonier)