Visual Studio 2015 project no longer runs in debug mode

后端 未结 22 1259
萌比男神i
萌比男神i 2020-12-04 18:32

This is what I get even when I run in the Debug configuration:

The way I got this to show was by enabling "Just My Code" and warn if there

22条回答
  •  生来不讨喜
    2020-12-04 19:23

    If none of mentioned solutions has helped, check your project's AssemblyInfo.cs for explicit DebuggableAttribute application. It seems like it overrides compiler's debug/release options.

    I had this line in the file in my case (legacy project, no idea how it got there). Deleting it solved the problem:

    [assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
    

提交回复
热议问题