Visual Studio 2015 RTM - Debugging not working

后端 未结 25 2240
感情败类
感情败类 2020-11-30 22:11

I have installed VS 2015 RTM (nothing else) and I\'m unable to debug any solution, not matter if it\'s an existing one or a brand new one (created with VS 2015 and compiled

相关标签:
25条回答
  • 2020-11-30 22:43

    My solution suddenly stopped to work in debug. I received a message during debug.

    [Window Title] Microsoft Visual Studio [Main Instruction] You are debugging a Release build of NettoProWin.exe. Using Just My Code with Release builds using compiler optimizations results in a degraded debugging experience (e.g. breakpoints will not be hit). [Stop Debugging] [Disable Just My Code and Continue] [Continue Debugging] [Continue Debugging (Don't Ask Again)]

    I chose to continue to debug, but it still did not work.

    The solution was simple. It is necessary in the project properties -> in the build section -> remote the check "Optimiz code"

    0 讨论(0)
  • 2020-11-30 22:43

    A friend had the same problem, he couln't debug in VS2015 but it was ok in VS2013. (our project is in .Net v4.0)

    We have found that it was the "Code Type" option in Debug / Attach to Process that was set to "Managed (v3.5, v3.0, v2.0)" instead of "Managed (v4.5, v4.0)"

    0 讨论(0)
  • 2020-11-30 22:43

    I hade the same problem. After trying the other solutions here without luck, I had to repair the installation through the installer.

    Control Panel > Programs > Programs and Features

    Then scroll down to Microsoft Visual Studio, right click it, then "Change". Then at the bottom of the window, click Repair. The repair process will take a decent amount of time, and at the end you will have to restart your computer.

    This fixed the problem to me, and I hopes it will help you.

    0 讨论(0)
  • 2020-11-30 22:45

    In my case,

    I have changed Platform from x86 to x64 in Debug Configuration Manager. It worked for me.

    0 讨论(0)
  • 2020-11-30 22:45

    I disabled avast file system shield and then all worked normal again. avast-setting wheel= active protections- top button off.

    Same is required to publish projects. A real nightmare

    0 讨论(0)
  • 2020-11-30 22:45

    I found I had to go to the project settings -> web, and tick the Enable Edit and Continue checkbox. I cannot say why it was unchecked to begin with, but this solved it for me.

    0 讨论(0)
提交回复
热议问题