[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Adding line numbers to the execption stack :
From: |
Rhys Weatherley |
Subject: |
Re: [DotGNU]Adding line numbers to the execption stack : |
Date: |
Wed, 14 May 2003 20:00:25 +1000 |
User-agent: |
KMail/1.4.3 |
On Wednesday 14 May 2003 07:02 pm, Gopal V wrote:
> If memory serves me right, Rhys Weatherley wrote:
> > While I've never seen missing line numbers, I sometimes see truncated
> > filenames. There may be an "off by 1" bug or somesuch in the debug
> > section handling routines. The "image" directory is the place to look
> > for that.
>
> Actually I'm having problems with catch(Exception err) { throw err; }
> cases having stack traces ..
>
> Should it actually show the first place it was thrown or the last ?.
It used to show the first before I fixed the stack trace bug. It will now
show the last.
> Anyway, I'm not getting line numbers for either case ...
Then that is probably something in the debug reading/writing routines that
triggers on your machine due to differences in the compiler. I can't
reproduce it here, so I hope that you can track it down. Setting a
break-point in ILDebugGetLineInfo and then tracing it down is a good place to
start. The debug format itself is described in pnettools.texi.
Cheers,
Rhys.