473,405 Members | 2,210 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Call stack not displaying line numbers

Hi all

When my asp.net site errors the event logs contain the call-stack, but
unfortunately there are no line numbers beside the method names.

Any ideas?
Thanks
Kev
May 12 '06 #1
5 1916
Most likely the .pdb files are not there and/or the dlls are built in
release mode.

Cheers,

Greg Young
"Mantorok" <ma******@mantorok.com> wrote in message
news:e4**********@newsfeed.th.ifl.net...
Hi all

When my asp.net site errors the event logs contain the call-stack, but
unfortunately there are no line numbers beside the method names.

Any ideas?
Thanks
Kev

May 12 '06 #2
There are no pdb files, but it was built in Debug mode.

Kev

"Greg Young" <Dr*************@hotmail.com> wrote in message
news:e1*************@TK2MSFTNGP02.phx.gbl...
Most likely the .pdb files are not there and/or the dlls are built in
release mode.

Cheers,

Greg Young
"Mantorok" <ma******@mantorok.com> wrote in message
news:e4**********@newsfeed.th.ifl.net...
Hi all

When my asp.net site errors the event logs contain the call-stack, but
unfortunately there are no line numbers beside the method names.

Any ideas?
Thanks
Kev


May 12 '06 #3
Well, there are pdb files for referenced assemblies, but there are no pdb
files for web site's dlls.

"Greg Young" <Dr*************@hotmail.com> wrote in message
news:e1*************@TK2MSFTNGP02.phx.gbl...
Most likely the .pdb files are not there and/or the dlls are built in
release mode.

Cheers,

Greg Young
"Mantorok" <ma******@mantorok.com> wrote in message
news:e4**********@newsfeed.th.ifl.net...
Hi all

When my asp.net site errors the event logs contain the call-stack, but
unfortunately there are no line numbers beside the method names.

Any ideas?
Thanks
Kev


May 12 '06 #4
You need the pdb file .. it contains all of the line numbers mappings etc.

Cheers,

Greg Young
"Mantorok" <ma******@mantorok.com> wrote in message
news:e4**********@newsfeed.th.ifl.net...
Well, there are pdb files for referenced assemblies, but there are no pdb
files for web site's dlls.

"Greg Young" <Dr*************@hotmail.com> wrote in message
news:e1*************@TK2MSFTNGP02.phx.gbl...
Most likely the .pdb files are not there and/or the dlls are built in
release mode.

Cheers,

Greg Young
"Mantorok" <ma******@mantorok.com> wrote in message
news:e4**********@newsfeed.th.ifl.net...
Hi all

When my asp.net site errors the event logs contain the call-stack, but
unfortunately there are no line numbers beside the method names.

Any ideas?
Thanks
Kev



May 12 '06 #5
Where do I get them from, for some reason they're not being included...

Kev

"Greg Young" <Dr*************@hotmail.com> wrote in message
news:Ov**************@TK2MSFTNGP05.phx.gbl...
You need the pdb file .. it contains all of the line numbers mappings etc.

Cheers,

Greg Young
"Mantorok" <ma******@mantorok.com> wrote in message
news:e4**********@newsfeed.th.ifl.net...
Well, there are pdb files for referenced assemblies, but there are no pdb
files for web site's dlls.

"Greg Young" <Dr*************@hotmail.com> wrote in message
news:e1*************@TK2MSFTNGP02.phx.gbl...
Most likely the .pdb files are not there and/or the dlls are built in
release mode.

Cheers,

Greg Young
"Mantorok" <ma******@mantorok.com> wrote in message
news:e4**********@newsfeed.th.ifl.net...
Hi all

When my asp.net site errors the event logs contain the call-stack, but
unfortunately there are no line numbers beside the method names.

Any ideas?
Thanks
Kev



May 12 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Verane | last post by:
Hi all, I am writing code in C# using visual studio .NET 2003. I use System.Diagnostics.Trace.Assert, and when I get an assertion at run time, I can see the call stack. But for each line of the...
6
by: Phil Jollans | last post by:
Hi, I have an error dialog which shows the stack trace, usually without line numbers in the release version. To try to diagnose a particular problem, I have provided a user with a debug version...
9
by: Jop | last post by:
Hi guys, I'm trying to debug a deployed application (no debug symbols) and what I got is a stack trace similar to this one. What does the '+' prefixed number after the method name signify? ...
0
by: BillGatesFan | last post by:
I'm trying to display line numbers in the stack trace so that when I write the stack trace to the error log table it will tell me what line the error occured on. But I'm reading in some places that...
4
by: TS | last post by:
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...
5
by: dav3 | last post by:
I am by no means an ultra slick programmer and my problem solving skills.. well they leave much to be desired. That being said I have been working on the following problem for the past few days and...
2
by: pavel.orehov | last post by:
Hi, I am using Environment.StackTrace to print the stack trace to the log when I have any exceptions in my application. When I work in development environment I see the line numbers in the...
2
by: John Kotuby | last post by:
Hi all, I am working on what I "thought" was a Web Project in VS 2005 using VB. I have published the site to an IIS server in our office for testing. When I hit a runtime error I get a basically...
1
by: yaarnick | last post by:
Create a linked list data structure library to hold strings. Then library should support the following linked list operations. Create() – Creates the linked list Insert() – Insert a string into the...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.