How do I debug a Class Library?

S

Steve Kershaw

Hello,
I have created a class library (.DLL) and there seems to be no way to
debug it. How do I run it in debug mode (setting break points, etc)?
Once I include it into my ASP.NET application the executable code is in
the /bin directory.

Thanks in advance for your help.

Steve
 
S

Sean Chambers

You have to open the project that compiles into the DLL, and then you
can add breakpoints etc,

If you want to debug it while you debug your asp.net app, then you can
add the project to the asp.net solution, and add breakpoints. Then you
can debug the class library at the same time as your asp.net app.

Hope this helps!

Sean
 
S

Steve Kershaw

Thanks Sean!

That worked!

Steve

Sean said:
You have to open the project that compiles into the DLL, and then you
can add breakpoints etc,

If you want to debug it while you debug your asp.net app, then you can
add the project to the asp.net solution, and add breakpoints. Then you
can debug the class library at the same time as your asp.net app.

Hope this helps!

Sean
 

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

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top