On Sun, Mar 29, 2009 at 4:26 AM, Rayne <disciplera...@gmail.com> wrote:
>
> The long list of stuff you get is called a Stack Trace. It will save
> your life someday.

Definitely having the ability to see the full stack trace is be
useful. I wonder though if that should be the default output. Maybe by
default only lines from the stack trace that are not part of the
Clojure implementation should be output. If you want a full stace
trace, maybe there could be a flag you have to set to get that. If
this were the case then Glen's output would have been:

java.lang.IllegalArgumentException: Wrong number of args passed to:
user$testing (test.clj:0)
Caused by: java.lang.IllegalArgumentException: Wrong number of args
passed to: user$testing
at user$eval__4.invoke(test.clj:2)

This could be achieved by simply filtering out all lines that begin
with "at clojure.".

I understand there are utilities available that make stack traces more
readable, but I'm talking about what should happen by default.

-- 
R. Mark Volkmann
Object Computing, Inc.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to