Debugging a plugin that compiles as a class library in c#

developer
visualstudio

#1

Hi all, I’m using c# with visual studio and attempting to modify an existing plugin’s functionality. What I can’t seem to figure out is how to debug the code - I can’t directly debug the c# project because its output type is a class library. When I make a console project referencing the main project the breakpoint won’t be hit because the “no symbols have been loaded for this project.” Is there any suggested approach to troubleshooting this?


(Luis Fraguada) #2

Do you have an external application set to open when you run a debug session?


#3

Thanks - it was this and ensuring the .rhp and the .pdb are in the same directory!