debuging assemblies - source code

G

Guest

I have an assembly that I compile on my machine with debugging symbols on.
So when I add a reference to it and call one of its method, I can "step into"
the assembly code. Now, I take the assembly and send it to my friend
sitting in the cube next to me, and when he tries to step into the assembly,
he can't, because even though he has the source code, I believe the assembly
is pointing to an exact path to the source code. Can my friend do something
to have the assembly point to the path where he has the source code, or does
it have to be the same path name that I had when I compiled the assembly?
 
G

Guest

figured it out:
while debugging (and no symbols loaded for the given assembly), go to the
"Modules" windows, for me it was under Debug->Windows->Modules. Find the
assembly in question, right click on that row, and select reload symbols,
browse to the ".pdb" file for the assembly and select that. Then, whenever
you try to step into the assembly's code, it will ask you for the location of
the *.cs file you're trying to step into.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top