Exception stack trace sometimes not showing line numbers

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!~
 
K

Kevin Spencer

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.
 
T

TS

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.
 
K

Kevin Spencer

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.
 
T

TS

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.
 

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,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top