My main solution is using code from a utiliy class library, that I wrote myself, but is part from an other solution.I want to set a breakpoint in the referenced .dll. How can I do that?
+1
A:
You can do one of the following:
- Add the DLL project to the solution containing your executable. Then you can set breakpoints as normal.
- You could instead just open the DLL project and use the Debug -> Attach to Process to attach to your running EXE
Josh Einstein
2010-04-11 16:15:03
+1
A:
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.
Matt Dearing
2010-04-11 16:19:40
+2
A:
Click Debug, New Breakpoint, Break at Function, then enter the full name of the function.
SLaks
2010-04-11 16:27:45