Tracing Errors

By | | .NET

1

There are several ways of debugging applications. The familiar

Written By:

Philip Miseldine

Philip is a Computer Science PhD student at Liverpool John Moores University. He's still not mastered guitar tabs, never finished Mario, and needs a haircut. He discusses life at http://www.miseldine.com/.

Website
>> More Posts By Philip Miseldine

 

{ 1 comment }

dhtmlgod February 10, 2004 at 4:32 am

With ASP.NET, you can also directly pass the trace object the error. I usually use the following:


[size=2]trace.Warn("The.Namespace.and.class.name", "Error", ex)

Which makes it a little easier to track errors when I’m developing a n-tier app.
[/size]

Comments on this entry are closed.