How to view variable values when an exception was thrown

Code profiling for .NET Developers

How to view variable values when an exception was thrown

Postby DanAvni » Tue Jun 29, 2010 6:44 am

i have a method call that threw an exception on one of many calls to it.
the method accepts a string and looks for it in a collection and then passes the object associated with that string to more internal processing.
the exception i get is that the string is not found.
although the method is in a DLL to which i do not have the source code, i could easily find the problem if i could see the problem if there was a way to view what is the string i am sending sometimes that causes the exception.

can this be done using ANTS profiler or any other tool?
Dan Avni
DanAvni
 
Posts: 50
Joined: Wed Jun 15, 2005 11:55 am

Postby nick.maidment » Tue Jun 29, 2010 2:20 pm

You may want to look into the exception reporting features in smartassembly: http://www.red-gate.com/products/smarta ... atures.htm
nick.maidment
 
Posts: 74
Joined: Fri Jan 29, 2010 12:55 pm


Return to ANTS Performance Profiler Previous Versions

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests