On Apr 1, 10:53 am, hughw <[email protected]> wrote:
> I retract my comment! Although I agree with the sentiment that
> improvederrorreportingwould be great, I'm unsure exactly what I
> want.
>
Clarification:
In the SLIME repl I invoke my function. It reports the error as
java.lang.ClassCastException: java.lang.Boolean cannot be cast to
clojure.lang.IFn (NO_SOURCE_FILE:0)
I then invoke (.printStackTrace *e) at the repl. (I forgot to mention
that earlier).
Over in the *inferior lisp* window, it prints out a stack trace. At
the root of the stack trace is the source file and line number
faithfully reported.
The behavior isn't much different if I invoke my function in the
*inferior lisp* window in the first place. The short unhelpful message
displays there, and I have to invoke .printStackTrace to get any
useful information.
I don't mind scrolling through the long stack crawl to discover where
my error is. but I do wish the initial error report could somehow give
me the information, rather thanrequiring the two step process (and
switching windows when using the slime repl, although that is maybe
not a clojure issue).
Hugh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" 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/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---