Sara Chipps
Sara Chipps

Reputation: 9372

Exception thrown in a referenced .dll how do I debug?

I'm using watermark extenders on textboxes and an exception is being thrown from the AJAX Control Toolkit .dll. It's strange because this just started happening.

I tried debugging from the Ajax solution and Ajax examples (but with my code), but no dice.

Is there a way to step into the Ajax .dll from my solution to see where this is happening?

Upvotes: 2

Views: 327

Answers (4)

David Robbins
David Robbins

Reputation: 10046

Maybe a black box approach is more appropriate here. You said that this error just started - what has changed in your environment to start this? You may be headed down a rabbit hole by stepping through the code. Can you deploy to a clean environment and not get the error? Or, does it work in the dev but not the test environment?

Upvotes: 0

Esteban Araya
Esteban Araya

Reputation: 29664

You don't need to include the AjaxControlToolkit project. Just open the file you need (in the VS instance where your code that currently breaks is), and set a breakpoint where appropriate.

Upvotes: 0

Kev
Kev

Reputation: 119856

The source code for the AJAX Control Toolkit is available from:

http://www.codeplex.com/AjaxControlToolkit/Release/ProjectReleases.aspx?ReleaseId=16488

Just download and start debugging.

Upvotes: 2

Pete
Pete

Reputation: 4051

Couldn't you just get the source for the Ajax Control Toolkit and include it as a project in your solution and then reference it? You'd then be able to step into the code and if you really needed to, you can just put the precompiled one out when you deploy out.

Upvotes: 3

Related Questions