Visual Studio 2015 project no longer runs in debug mode

后端 未结 22 1201
萌比男神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条回答
  •  萌比男神i
    2020-12-04 19:20

    Copying my other answer from here.

    As mentioned by @romanoza, Microsoft has updated the bug report with the following information:

    Uncheck the setting Debug -> Options -> Suppress JIT optimization on module load (Managed only)

    This is the workaround. They go on to say later:

    We recommend folks leaving it unchecked as having it unchecked will improve both performance and the behavior of just my code in specific scenarios.

    Lastly, the acknowledgement:

    It is a bug that it doesn't work with that setting enabled and we're working on a fix for that situation in case some customers still want to debug with that setting turned on.

提交回复
热议问题