By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,156 Members | 1,004 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,156 IT Pros & Developers. It's quick & easy.

Debugger stepping into referenced DLL

P: n/a
Is it possible to step into the code of a referenced .net assembly from
within a project that is being debugged?

Thanks!!!
Nov 15 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
If you have the debug symbols and source code for that assembly, then yes.

"craig" <e@mail.com> wrote in message
news:Oq**************@TK2MSFTNGP09.phx.gbl...
Is it possible to step into the code of a referenced .net assembly from
within a project that is being debugged?

Thanks!!!

Nov 15 '05 #2

P: n/a
(I'm assuming it's not an assembly in your solution.)

Yes, provided:
1) the asembly you referenced (and want to step into) was compiled as DEBUG
(debug symbols were created)
2) You have the .pdb (debug symbols) for the assembly you referenced in the
same directory as the .dll (normally your bin dir)
3) You have the source to step into.

"craig" <e@mail.com> wrote in message
news:Oq**************@TK2MSFTNGP09.phx.gbl...
Is it possible to step into the code of a referenced .net assembly from
within a project that is being debugged?

Thanks!!!

Nov 15 '05 #3

P: n/a
Yes on all three counts!

I have the source code in a different solution, and it was compiled in DEBUG
mode. It contains many of the base classes that I derive from in my
solution. But I would like to be able to set a breakpoint in the referenced
assembly and step into it from my solution. How can I do that?

Thanks!!!!

"Philip Rieck" <st***@mckraken.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
(I'm assuming it's not an assembly in your solution.)

Yes, provided:
1) the asembly you referenced (and want to step into) was compiled as DEBUG (debug symbols were created)
2) You have the .pdb (debug symbols) for the assembly you referenced in the same directory as the .dll (normally your bin dir)
3) You have the source to step into.

"craig" <e@mail.com> wrote in message
news:Oq**************@TK2MSFTNGP09.phx.gbl...
Is it possible to step into the code of a referenced .net assembly from
within a project that is being debugged?

Thanks!!!


Nov 15 '05 #4

P: n/a
You need the debugger to load up the source first. Meaning, right when the
function you want to debug is called, do a 'step into'. This should load up
the class in the other solution, and once it's open, you can put breakpoints
anywhere in it.

"craig" <e@mail.com> wrote in message
news:u6**************@TK2MSFTNGP09.phx.gbl...
Yes on all three counts!

I have the source code in a different solution, and it was compiled in DEBUG mode. It contains many of the base classes that I derive from in my
solution. But I would like to be able to set a breakpoint in the referenced assembly and step into it from my solution. How can I do that?

Thanks!!!!

"Philip Rieck" <st***@mckraken.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
(I'm assuming it's not an assembly in your solution.)

Yes, provided:
1) the asembly you referenced (and want to step into) was compiled as

DEBUG
(debug symbols were created)
2) You have the .pdb (debug symbols) for the assembly you referenced in

the
same directory as the .dll (normally your bin dir)
3) You have the source to step into.

"craig" <e@mail.com> wrote in message
news:Oq**************@TK2MSFTNGP09.phx.gbl...
Is it possible to step into the code of a referenced .net assembly from within a project that is being debugged?

Thanks!!!



Nov 15 '05 #5

P: n/a
Someone else also just pointed out to me that it is possible to drag the
file from the directory into the development environment and then set break
points in it. very cool.
"Marina" <so*****@nospam.com> wrote in message
news:OG**************@TK2MSFTNGP10.phx.gbl...
You need the debugger to load up the source first. Meaning, right when the
function you want to debug is called, do a 'step into'. This should load up the class in the other solution, and once it's open, you can put breakpoints anywhere in it.

"craig" <e@mail.com> wrote in message
news:u6**************@TK2MSFTNGP09.phx.gbl...
Yes on all three counts!

I have the source code in a different solution, and it was compiled in

DEBUG
mode. It contains many of the base classes that I derive from in my
solution. But I would like to be able to set a breakpoint in the

referenced
assembly and step into it from my solution. How can I do that?

Thanks!!!!

"Philip Rieck" <st***@mckraken.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
(I'm assuming it's not an assembly in your solution.)

Yes, provided:
1) the asembly you referenced (and want to step into) was compiled as

DEBUG
(debug symbols were created)
2) You have the .pdb (debug symbols) for the assembly you referenced
in
the
same directory as the .dll (normally your bin dir)
3) You have the source to step into.

"craig" <e@mail.com> wrote in message
news:Oq**************@TK2MSFTNGP09.phx.gbl...
> Is it possible to step into the code of a referenced .net assembly

from > within a project that is being debugged?
>
> Thanks!!!
>
>



Nov 15 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.