Not stepping into library assembly

B

Bill McCormick

I'm working on a project that has more than one assembly/dll. The debugger
will *step into* most of them but, but there is one that it won't step into.
Everything is being built under debug, and all the pdb files are present in
the output debug/bin folder.

Under Tools/Options/Debugging, *Enable Just My Code" is unchecked and
*Enable .NET Framework source stepping* is checked. Should I be able to
*step into* other assemblies (especially my own assemblies) that are part of
the solution *without* having to copy the assembly to the GAC?

TIA,

Bill
 
J

Jeff Johnson

I'm working on a project that has more than one assembly/dll. The debugger
will *step into* most of them but, but there is one that it won't step
into. Everything is being built under debug, and all the pdb files are
present in the output debug/bin folder.

Under Tools/Options/Debugging, *Enable Just My Code" is unchecked and
*Enable .NET Framework source stepping* is checked. Should I be able to
*step into* other assemblies (especially my own assemblies) that are part
of the solution *without* having to copy the assembly to the GAC?

Is the other assembly a project in your solution or did you merely reference
it by browsing for its DLL? In my experience, the IDE only wants to debug
projects that are in the solution.
 
B

Bill McCormick

Is the other assembly a project in your solution or did you merely reference
it by browsing for its DLL? In my experience, the IDE only wants to debug
projects that are in the solution.
Yes, sorry. The DLL in question is both referenced and part of the solution.
 
S

SyntaxError

Does your client have a dll, GAC, or project reference? If the DLL is in
your solution, you may want to try a project reference if you are not
already.
 
B

Bill McCormick

Does your client have a dll, GAC, or project reference? If the DLL is
in your solution, you may want to try a project reference if you are not
already.

I should need to copy the assembly to the GAC if the project is part of the
solution, right? So, yes, the assembly/DLL is part of the solution and a
reference exits in all other projects/assemblies that use it.
 
B

Bill McCormick

I should need to copy the assembly to the GAC if the project is part of
the solution, right? So, yes, the assembly/DLL is part of the solution
and a reference exits in all other projects/assemblies that use it.

Sorry, should NOT need to copy ...
 
B

Bill McCormick

Correct: should NOT.

I found the problem:

I had a object that I was serializing built from a classes that were
decorated with [System.Diagnostics.DebuggerStepThroughAttribute()]

Thanks.
 

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