First-Time WinDbg Options

You should execute the following one-time tasks the first time you run your program with WinDbg:

  1. Start WinDbg.exe.
  2. If you can attach WinDbg to your program after it has started, start your program and attach WinDbg to the process by clicking on File, then Attach to a Process and following the prompts. Otherwise, run your program from WinDbg using File, then Open Executable likewise.
  3. In the command line at the bottom of the Command window, type the following command.

    .symfix+

    This will connect this and future WinDbg sessions associated with this program to the Microsoft symbol server
  4. Click on File, then Symbol File Path and browse to the directory where your program's .exe file resides. Click again and browse to the directory where any DLLs you are using reside.
  5. Click on File, then Source File Path and browse to the directory where your program's source files reside. Click again and browse to the directory where the source files for any DLLs you are using reside.
  6. Exit WinDbg, clicking Yes to store the WinDbg options associated with this program. You will set other options from the command line before you run the program and from the WinDbg interface after you have attached to the program.

 

This Help system was created using a trial version of Adobe RoboHelp. Files generated with the trial version are intended for evaluation purposes only and may not be used or distributed for any other purpose.