Examine System Code After an Exception
When an exception occurs, you might have to examine code inside a system call to determine the cause of the exception. The following procedure explains how to do this if you do not have symbols loaded for the system code or if Just My Code is enabled.
To examine system code following an exception
In the Call Stack window, right-click, then click Show External Code.
If Just My Code is not enabled, this option is not available on the shortcut menu and system code is shown by default.
Right-click the external code frames that now appear in the Call Stack window.
Point to Load Symbols From and then click Microsoft Symbol Servers.
If Just My Code was enabled, a dialog box appears. It states that Just My Code has now been disabled. This is necessary for stepping into system calls.
The Downloading public symbols dialog box appears. It will disappear when downloading finishes.
You can now examine the system code in the Call Stack window and other windows. For example, you can double-click a call stack frame to view the code in a source or Disassembly window.