How do I debug a Class Library?

Discussion in 'ASP .Net' started by Steve Kershaw, Sep 20, 2006.

  1. 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
    Steve Kershaw, Sep 20, 2006
    #1
    1. Advertising

  2. 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

    Steve Kershaw wrote:
    > 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
    Sean Chambers, Sep 20, 2006
    #2
    1. Advertising

  3. Thanks Sean!

    That worked!

    Steve

    Sean Chambers wrote:
    > 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
    >
    > Steve Kershaw wrote:
    > > 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
    Steve Kershaw, Sep 20, 2006
    #3
  4. Steve Kershaw

    anandghodake

    Joined:
    Feb 5, 2008
    Messages:
    1
    hi,
    what if i can't add this project to the solution of the website.
    then how do i debug.
    anandghodake, Feb 5, 2008
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. RonL
    Replies:
    0
    Views:
    718
  2. E11
    Replies:
    1
    Views:
    4,686
    Thomas Weidenfeller
    Oct 12, 2005
  3. ringos75
    Replies:
    0
    Views:
    930
    ringos75
    Apr 14, 2005
  4. Mike C. Fletcher
    Replies:
    3
    Views:
    966
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Oct 12, 2003
  5. André
    Replies:
    3
    Views:
    1,554
Loading...

Share This Page