Reputation: 3759
Starting with Visual Studio 2017, it seems that Microsoft has changed the default behavior for loading symbols into the debugger. If a component is built with a release configuration, it skips loading the symbols.
If I open the modules window (Debug/Windows/Modules) and look for the relevant module, it says "Skipped loading symbols". I can load the symbols via the context menu.
Is it possible to change this behavior, so that the symbols are loaded automatically?
Upvotes: 0
Views: 165
Reputation: 420
If this option "Enable Just My Code" under Tools->Options->Debugging->General is enabled, the managed debugger can not load symbols for any modules that are optimized. So you could disable it, and then re-debug your app again.
In addition, you could also visit the detailed Output windows during you debug your app, you would get much more useful information from the Output window.
Visual Studio Debugger Team members also shared the possible reasons before:
Upvotes: 1