Line numbers in stack traces [was: GCJ application runs not too bad with shared libs...]

Andrew Haley aph@redhat.com
Fri Nov 29 02:41:00 GMT 2002


Adam Megacz writes:
 > 
 > In an ideal world, where we all have infinite time...
 > 
 > 
 > Andrew Haley <aph@redhat.com> writes:
 > > *  works without debugging info,
 > 
 > Right, this would be the deciding factor: debug info is used if
 > available; otherwise, use reflection data

Right.

 > > *  doesn't require additional processes to be created,
 > > *  removes a dependency on external tools that may not be present and
 > >    occasionally don't do what we want.
 > 
 > This just means that we have to reimplement addr2line or convince the
 > FSF to LGPL it so it can be included in libgcj.

:-)

 > > the right thing to do is to make thr choice configurable or
 > > have some time of runtime auto-detection.
 > 
 > I had that working at one point (runtime auto-detection); it's not too
 > hard.

Yeah, I guess so.

Thanks,
Andrew.



More information about the Java mailing list