<< Back to previous view

[CLJ-191] enhance stacktrace: causes like java, syntax like clojure Created: 14/Sep/09  Updated: 01/Mar/13  Resolved: 31/Dec/10

Status: Closed
Project: Clojure
Component/s: None
Affects Version/s: None
Fix Version/s: Release 1.3

Type: Enhancement Priority: Major
Reporter: Assembla Importer Assignee: Unassigned
Resolution: Declined Votes: 0
Labels: None


 Description   

Various enhancements I'd like to make:
Copy the feature of java stacktrace to print "... 25 more" instead of duplicating stack lines.
Print java class.method in clojure format: class/method.

Discussion: http://groups.google.com/group/clojure-dev/browse_thread/thread/d03dd16acbe3aa14



 Comments   
Comment by Assembla Importer [ 01/Sep/10 9:39 AM ]

Converted from http://www.assembla.com/spaces/clojure/tickets/191
Attachments:
clojure-191-stacktrace.patch - https://www.assembla.com/spaces/clojure/documents/dz8x6oOqar3PnLeJe5afGb/download/dz8x6oOqar3PnLeJe5afGb

Comment by Assembla Importer [ 01/Sep/10 9:39 AM ]

mikehinchey said: [file:dz8x6oOqar3PnLeJe5afGb]: enhance stacktrace

Comment by Assembla Importer [ 01/Sep/10 9:39 AM ]

mikehinchey said: Printing causes, abridge duplicated stack lines with ... (same as java printStackTrace does).
Improve matching and reformatting of stack lines of clj code.
(e) takes an optional argument. (e) prints all causes.
Created unit tests for stacktrace (succeeds in repl and ant).

Comment by Assembla Importer [ 01/Sep/10 9:39 AM ]

richhickey said: I'm not sure this is the patch, but I'd like to get improved stack traces on the agenda again. See also http://github.com/mmcgrana/clj-stacktrace and other ideas.

Comment by Assembla Importer [ 01/Sep/10 9:39 AM ]

richhickey said: Some work has been done in master, little feedback at present

Comment by Aaron Bedra [ 10/Dec/10 10:10 AM ]

Further discussion on this ticket is at http://dev.clojure.org/display/design/Stacktraces and should be the basis for any future discussion and eventual design sign off.

Comment by Stuart Halloway [ 31/Dec/10 3:55 PM ]

This will be subsumed under the changes being proposed at http://dev.clojure.org/display/design/Error+Handling

Generated at Sun Nov 23 05:24:50 CST 2014 using JIRA 4.4#649-r158309.