Hi all,

I thought we should maybe some time talk about the stack traces java 
gives. A typical problem for Groovy is, that you a huge trace, which is 
of no interest to the user. What is commonly done is to catch the 
exception somewhere, edit the array to remove the unwanted elements and 
throw it again. This problem applies not only to Groovy, but also to 
almost any framework. Now in languages such as Groovy it is very common 
to generate helper function in bytecode. But usually I want those to not 
to show up. Also my runtime should not really show up to a normal user. 
Even Java has several helper methods, that then show up in the trace.

Wouldn't it be possible to give an method an attribute so it will no add 
that stack frame to the exception? Is there a problem for the VM to do that?

bye Jochen

-- 
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/

--

You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en.


Reply via email to