473,372 Members | 975 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,372 software developers and data experts.

Debuggin Dlls?

Hi guys

I have an app that is quite large. As such any common classes and so forth i
am building separately and using the assembly dll as a reference, also any
large chunks of code that i am happy with i do the same so that the
programme can be built up piece by piece.

My issue is when debugging if there is an error in the dll classes i would
like to go in and see it.

Whats the best way to do this?

Thanks
Feb 21 '06 #1
4 1239
Hello, Daniel!

D> My issue is when debugging if there is an error in the dll classes i
D> would like to go in and see it.

D> Whats the best way to do this?

Set break point there. If your dlls are situated on the separate solutions then you can build them in debug mode.
Then open the startup prject ( that uses the dlls ), open source file of the dll of interest and put a break point there.

Debugger will know where to look, however make sure that application has references to the assemblies (dlls) that were compiled in debug mode...

Another, solutions is to include all the separate projects into one solution. It will simplify setting breakpoint in the dlls source code..

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Feb 21 '06 #2
Hi,

Good to have them as Dlls, add all your projects into one single solution,
and instead of adding the dll as reference, add them as a project reference.
Now put a break point where you would like to debug and see the VS debugger
stop there during execution.

HTH
--
Kannan.V
Home : http://www.kannanv.com
Blog : http://kannanv.blogspot.com
Blog : http://spaces.msn.com/members/visitkans
Web : http://www.dotnetlounge.net

"Daniel" wrote:
Hi guys

I have an app that is quite large. As such any common classes and so forth i
am building separately and using the assembly dll as a reference, also any
large chunks of code that i am happy with i do the same so that the
programme can be built up piece by piece.

My issue is when debugging if there is an error in the dll classes i would
like to go in and see it.

Whats the best way to do this?

Thanks

Feb 21 '06 #3
The love i am feeling for you guys.....seriously, big love.

Thanks! Will save me a LOT of headaches.

"Daniel" <Da*****@vestryonline.com> wrote in message
news:eQ**************@TK2MSFTNGP11.phx.gbl...
Hi guys

I have an app that is quite large. As such any common classes and so forth
i am building separately and using the assembly dll as a reference, also
any large chunks of code that i am happy with i do the same so that the
programme can be built up piece by piece.

My issue is when debugging if there is an error in the dll classes i would
like to go in and see it.

Whats the best way to do this?

Thanks

Feb 21 '06 #4
There is a program called ILDASM that is shipped with VS2005 i think.
That program lets you view all .exe and .dll
Its perfect to see what methods that are in that file and variable....i use
it alot.

jsut search for it on your computer, its likely you already have it

"Daniel" <Da*****@vestryonline.com> wrote in message
news:eQ**************@TK2MSFTNGP11.phx.gbl...
Hi guys

I have an app that is quite large. As such any common classes and so forth
i am building separately and using the assembly dll as a reference, also
any large chunks of code that i am happy with i do the same so that the
programme can be built up piece by piece.

My issue is when debugging if there is an error in the dll classes i would
like to go in and see it.

Whats the best way to do this?

Thanks

Feb 21 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
3
by: amjad | last post by:
hi i received that error error while trying to run project: unable to start debuggin on the web server. the debugger component on the server failed to connect to the local machine. any body...
0
by: ~john | last post by:
When I click the "start debuggin" In Visual Studio 2005 it opens IE in a small window, then I have to manually click on the maximize button so I can see the whole webpage... I can't find any...
0
by: Nishit | last post by:
wats the difference between debuggin and compiling?
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.