How can I set a breakpoint in referenced code in Visual Studio?

后端 未结 7 1962
闹比i
闹比i 2020-12-24 05:12

My main solution is using code from a utility class library, that I wrote myself, but is a part from another solution. How can I set a breakpoint in the referenced DLL file?

7条回答
  •  离开以前
    2020-12-24 05:31

    Make sure you have the .pdb file in the bin/debug folder where the referenced class library dll resides. When you are debugging your current solution you should be able to step into the code from your class library. When you step into the class library you will be able to set breakpoints.

提交回复
热议问题