This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: StackTraceElement support
- From: Mark Wielaard <mark at klomp dot org>
- To: java-patches at gcc dot gnu dot org
- Date: 11 Jul 2002 13:08:00 +0200
- Subject: Re: StackTraceElement support
- References: <1025989457.1039.33.camel@elsschot>
Hi,
On Sat, 2002-07-06 at 23:04, Mark Wielaard wrote:
> The following patch gives us real StackTraceElement support including
> printing of chained exceptions.
Could somebody take a look at it and let me know what they think? It is
not that different from how it is currently done but it does give us a
nice new feature (and exception chaining is not very useful without
StackTraceElement support). Even if you think the patch sucks please say
it so that I know where to start to improve it.
I know that people are working on using Dwarf2 and/or the Exception
Handler rewinder to get at the StackTraceElement info. That is probably
the way to go in the future, but this patch does give us some support
now. If someone already has some code to do it in a different way I
don't mind looking at it and trying to integrating it with this patch.
But I know nothing about Dwarf/EH at the moment so I would need some
pointers to more information if the current patch is unacceptable.
Thanks,
Mark