Why can’t I debug my VS Package in an Isolated Shell?

Aaron helped me figure this out as it puzzled me for a couple of days 🙂

It’s also a topic at: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3377742&SiteID=1

If you create an isolated shell and then drop your VS packages into it, you won’t be able to debug into any managed package until you change the debug settings to mixed mode.  The debugger defaults to “Auto” but it only loads the native symbols.

To enable debugging into your managed packages, try this:

  1. Right click on your shell stub exe and select Properties

  2. Go to the Configuration Properties / Debugging option

  3. Change the Debugger Type from “Auto” to “Mixed”

This will now load the symbols for your managed packages and allow you to debug into it.

Note – your F5 experience will be a little slower.


Comments (1)

  1. My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Scott Guthrie announced the availability of ASP.NET MVC Preview 3 . The release was also mentioned by Phil Haack and Scott Hanselman