Debugging Dotnet Web Application

J

J. Paquette

This may be an exercise in futility otherwise I would already have
found the answer, but what the heck. Here's the scenario:

I maintain a website programmed in C# using the .Net framework. I
have the global asax file configured to grab the InnerException
message and send me an email when an error is encountered on the site.
This does a good job of telling me the page and type of problem, but
in certain circumstances is utterly useless because I cannot find a
way to produce the line number of the actual code where the error
occured.

I've already tried getting the info from the stacktrace but all I get
is information from the asax file that is sending me the email (that
is the stackframe.GetLineNumber returns the line in the asax where the
stacktrace is referenced).

If there is anyone out there in googleland that can sympathize with my
plight and provide me with a nice explanation of how to do this or why
it is not possible I would be most appreciative.
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top