How to Debug a DLL ?

B

Bassam

Hello , I'm using VS.NET 2005 and VB.NET

I made a DLL file having compiled classes and successfully added a reference
to it in the main application , is there a way i can debug the DLL from the
main application ? i mean in the main application can i debug the DLL code
and walk normally thru lines like a normal breakpoint ?

any help is very appreciated

Best Regards
Bassam
 
C

ClayB

One way you can do this is to add the DLL project to the solution that
holds your main project (still keepingthe Mian project as the StartUp
project). Then remove the reference to the DLL assembly from the main
project and add a reference to the DLL project instead. Then you
should be able to debug into your DLL code (provided the DLL project
assembly is a debug build).
=====================
Clay Burch
Syncfusion, Inc.
 

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