Visual Studio 2015 project no longer runs in debug mode

后端 未结 22 1172
萌比男神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:17

    This has happened to me on a couple of projects too. I reviewed my build settings, as suggested by stuartd. However, 'Optimize code' was not enabled in my build settings. So I enabled it and saved the project. Then I unchecked it and saved again. Problem solved.

    There's some kind of bug that causes the --optimize+ flag to be passed to the debugger. Enabling it and then disabling it is an easy workaround until the bug is fixed.

提交回复
热议问题