Enable and disable “Step into” debugging on certain project in a Visual Studio solution

前端 未结 7 1491
忘了有多久
忘了有多久 2021-01-01 13:13

I have a Visual Studio solution with four C# projects in it. I want to step into the code of a supporting project in the solution from my main project, but when I use the \"

7条回答
  •  不知归路
    2021-01-01 13:31

    A couple of possibilities:

    • There is a check box to step into "just my code". Its intent is to make it so you can't step into Microsoft's Framework code (unless you choose to by unchecking the box).

    • You might try recompiling the supporting code to make sure the code you're debugging exactly matches the code file you're looking at. VS does care about this and will disable a breakpoint if you put it in the code file whose version doesn't match. Also, make sure the PDB file is in the same directory as the DLL.

提交回复
热议问题