Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Occasionally no line numbers in Exception.StackTrace

Thread Tools

Re: Occasionally no line numbers in Exception.StackTrace

S. Justin Gengo
Posts: n/a

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 numbers would
not be equivalent anymore.


S. Justin Gengo, MCP
Web Developer

Free code library at:

"Out of chaos comes order."
"terry" <(E-Mail Removed)> wrote in message
news:904a01c35b78$2f3ac650$(E-Mail Removed)...
> Hi,
> When an unhandled exception occurs I display an aspx
> page. This page displays the stack trace associated with
> the exception (exception.StackTrace). I have noticed that
> occasionally no line numbers are included in the stack
> trace. I'm curious why sometimes there are line number
> and other times there is not. These line numbers are
> invaluable for debugging.
> Thanks for your help,
> Terry

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Words occasionally dropped from closed captions RL DVD Video 6 06-08-2006 09:00 AM
ASP.NET pages occasionally time out BradC ASP .Net 4 11-12-2004 03:53 PM
mozilla bookmarks occasionally lost Mike Henley Firefox 3 07-27-2004 10:06 PM
Designing presentation-tier for occasionally connected applications. Vijay Kumar Java 3 02-04-2004 11:47 PM
frame relay traffic shaping drops pvc occasionally under light load... wr Cisco 0 11-12-2003 09:44 AM