Skip to content

Debugging with SymbolSource

mrdavidlaing edited this page Mar 14, 2012 · 3 revisions

Set Debugging options (VS10->Tools->Debugging) as follows:

  • UNCheck "Enable Just My Code"
  • Check "Enable source server support"
  • UNCheck "Require source files to exactly match the originals"

Set Symbols options (VS10->Tools->Debugging->Symbols) as follows: Add a new 'folder' (?) named 'http://srv.symbolsource.org/pdb/Public' and tick the box

Install and update packages from Package Manager Console using '-source' switch

[install|update]-Package [package name] [-pre] -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc

e.g.

PM> install-Package CIAPI -pre -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc

you should see something like this:

Each package is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may include dependencies which are governed by additional licenses. Follow the package source (feed) URL to determine any dependencies.

Package Manager Console Host Version 1.6.21215.9133

Type 'get-help NuGet' to see all available NuGet commands.

PM> install-Package CIAPI -pre -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
Successfully installed 'CIAPI 4.0.2-bleeding-340'.
Successfully installed 'Newtonsoft.Json 4.0.8'.
Successfully added 'Newtonsoft.Json 4.0.8' to ConsoleApplication5.
Successfully installed 'Salient.ReflectiveLoggingAdapter 3.1.0'.
Successfully added 'Salient.ReflectiveLoggingAdapter 3.1.0' to ConsoleApplication5.
Successfully installed 'Salient.JsonClient 3.2.0'.
Successfully added 'Salient.JsonClient 3.2.0' to ConsoleApplication5.
Successfully added 'CIAPI 4.0.2-bleeding-340' to ConsoleApplication5.

Now you can step into Salient.ReflectiveLoggingAdapter, Salient.JsonClient and CIAPI, as demonstrated in this screencast - https://cityindex.viewscreencasts.com/1c84e7c47c8d46d1bfbde2ecd33bfb12

Clone this wiki locally