I have two separete c# projects. One is a helper library that is included as a reference to another main project. The main project solution only has a reference to the helper library and not the entire source code there. I want to run the main project but also want to be able to debug and step through the code in the helper code. How can I do that? I have the source code for both projects.
Share
If you compile the library on your machine and include the .PDB files your visual studio should be able to step into the code if you use the
Step Incommand while debugging.If you want to breakpoint in that code, file->open then select the .cs file from the other project and set a breakpoint.
Hover your mouse over the breakpoint and it’ll say something like:
At Something.cs, line 12 character 34 ('MyOtherLibrary')This means the debugger is attached to the code in your helper library.