How To: Debug Into File References — Correction

Quite a while ago, I posted a way to debug into file references when you have the source code. At the time, we believed it to be the only way, even though it did not work at all times. However, I have found an easier way to do just that:

  1. While debugging, break and open the Modules pane (Ctrl+Alt+U).
  2. Right click your Assembly and select “Reload Symbols”.
  3. Select the PDB file for your assembly.
  4. Step into the code.

Easy, isn’t it?
You can also reload the symbols from the Call Stack window, when selecting any method from the Assembly you wish to debug.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s