I have a VB.Net projects which calls some C# dll’s, but how can I debug the C# code?
It must be possible, because when an exception occurs, VB.Net opens the C# code in a text-editor, but I want to be able to have syntax-coloring, set breakpoints in other files, etc. I feel it must be obvious, but I can’t figure it out.
Start your debugging session normally.
Then once it is started, use Visual Studio, File/Open menu to open the correct .cs file. If you have a corresponding .pdb file for the dll in which the file is included you will be able to set breakpoints which will be hit in your debugging session.
If you don’t have the pdb file, this means your dll was compiled in Release configuration rather than debug configuration.
During this session you may need to open other .cs files manually as you step into statements. Open the needed files before you step into them.