How to Debug a DLL ?

  • Thread starter Thread starter Bassam
  • Start date Start date
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
 
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.
 
Back
Top