473,327 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Debugger stepping into referenced DLL

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
5 10988
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
(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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: c# newbie | last post by:
When stepping through code, to find where an error is thrown, the problem is that I have to step threw the statement that causes the error, and if it's in a class that's instantiated from the main...
8
by: Rob S | last post by:
I have UDB 8.1 Personal Edition installed. I'm using Development centre to develop JAVA Stored Procedues. I am unable to debug them. I have installed IBM Distributed Debugger and have set...
1
by: Drew Tennenbaum | last post by:
There is an old thread I found on google where the OP was exhibiting the same problems I am seeing. Reference "Debugger hell" posted 7-18-2002 by Sean Gies I am running Visual Studio 2003 RTM....
7
by: Piet Van Vlierberghe | last post by:
We are a software firm developing in C++ and we recently made the step from Microsoft Visual Studio 6 to Microsoft Visual Studio .NET 2003. We are really excited about the quality of the compiler;...
2
by: John Dalberg | last post by:
I need to know what happens after Page_load has finished so I put a breakpoint at the last statement. However after stepping into after this last statement, the app continues running without the...
4
by: Brett | last post by:
I walk through the following code and when I reach the last line, which is highlighted in yellow from the debugger, I step forward and nothing happens. The yellow highlighted block goes away and...
18
by: R. Bernstein | last post by:
Okay, a bit of an exaggeration. Recently, I've been using Python more seriously, and in using the debugger I think one of the first things I noticed was that there is no "restart" ("R" in...
12
by: mednyk | last post by:
T-SQL Debugger Doesn't Allow Stepping Through Stored Procedures And there is no other procedure with the same name owned by dbo or any other users. There is no error messages also, it just...
12
by: colin | last post by:
Hi, Ive got a difference in results depending on wether I run my app in the debugger, or run it seperatly (or with <ctrl-f5>) the results in the debugger seem to be more correct, although the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.