Debugging referenced project

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

Hi,
What do I have to do to be able to debug an external project
referenced by another project? I have a project that references
several other projects. For some of the external projects, I can hit
"goto class definition" and I get the code in the referenced project
that I can breakpoint, etc. For others, I just get "from metadata"
which shows the various methods and their signatures but no code to
debug. I do not remember doing anything differently in the projects I
can/cannot debug externally.

Thanks,
Bob
 
Bob said:
What do I have to do to be able to debug an external project
referenced by another project? I have a project that references
several other projects. For some of the external projects, I can hit
"goto class definition" and I get the code in the referenced project
that I can breakpoint, etc. For others, I just get "from metadata"
which shows the various methods and their signatures but no code to
debug. I do not remember doing anything differently in the projects I
can/cannot debug externally.

You need to have the PDB files generated for the referenced assemblies,
and the source of course.
 
You need to have the PDB files generated for the referenced assemblies,
and the source of course.

Thanks for your quick response. There is a pdb file in the referenced
folder with the same name (before extensions of exe and pdb) as my
reference.
 
Bob said:
Thanks for your quick response. There is a pdb file in the referenced
folder with the same name (before extensions of exe and pdb) as my
reference.

It needs to be the latest version - i.e. the pdb has to be from the
same build as the dll.
 
Back
Top