Exception stack trace sometimes not showing line numbers

  • Thread starter Thread starter TS
  • Start date Start date
T

TS

I have an application on one server that shows line numbers in stack trace,
but on another server the "in c:\xxx.aspx:line 9999" part that accompanies
the "at" part doesn't show. Besides this difference, they appear to be
nearly identical.

The app handles all exceptions thru global_Error event, so the exception is
never re-thrown (i know that the way you re-throw an exception could lose
some info)

thanks!~
 
Would one be a debug build and one be a realease build, by any chance?

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.
 
yes it is

Kevin Spencer said:
Would one be a debug build and one be a realease build, by any chance?

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.
 
Well, there you go. Debug Builds include debugging information, such as line
numbers. Release Builds do not.

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.
 
thanks
Kevin Spencer said:
Well, there you go. Debug Builds include debugging information, such as
line numbers. Release Builds do not.

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.
 
Back
Top