Ask a Question related to ASP.NET General, Design and Development.
-
Karsten Grombach #1
Stacktrace with line numbers
Hi,
I'm trying to implement a custom error page for testing purposes.
When an error occurs, I catch it in the global.asax and store it in a
session object, so that the custom error page can display it.
so far so good.
my problem is, that i would like to have a detailed error message like the
standard asp.net error message with line numbers etc. At the moment i'm just
getting the methods called...
This is the code I'm using:
sb.Append("<br>Stacktrace ")
sb.Append("<br>" + ex.StackTrace.Replace(System.Environment.NewLine,
"<br>"))
sb.Append("<br>")
sb.Append("<br>Error")
sb.Append("<br>" + ex.ToString().Replace(System.Environment.NewLine,
"<br>"))
sb.Append("<br>")
Any ideas??
Thanks and Regards
Karsten
Karsten Grombach Guest
-
Line Numbers missing Application.log MX! can youmodify neo-logging.xml
Can this also be why the netconnection debugger also gives me little to no information back on my onStatus errors? The log files are pretty much... -
function that reads line numbers?
So this may be wishful thinking, but I would be kicking myself later if I didn't ask. Is there a function in perl where you give the function exact... -
get line numbers in REXML'S StreamListener
Hi, I'm using the StreamListener Mix-In from REXML to parse a file. I want to stuuply line numbers as error information. Where do I get them? -
#21938 [Com]: Wrong error line numbers
ID: 21938 Comment by: chris at antiochwebhost dot com Reported By: arne dot brachhold at co4 dot de Status: No... -
Occasionally no line numbers in Exception.StackTrace
Terry, If the code is compiled in release mode vs. development mode then there are no line numbers because the code has been compacted. The line...



Reply With Quote

