Clojure

enhance stacktrace: causes like java, syntax like clojure

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Declined
  • Affects Version/s: None
  • Fix Version/s: Release 1.3
  • Component/s: None
  • 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

Activity

Hide
Assembla Importer added a comment -

mikehinchey said: [file:dz8x6oOqar3PnLeJe5afGb]: enhance stacktrace

Show
Assembla Importer added a comment - mikehinchey said: [file:dz8x6oOqar3PnLeJe5afGb]: enhance stacktrace
Hide
Assembla Importer added a comment -

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).

Show
Assembla Importer added a comment - 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).
Hide
Assembla Importer added a comment -

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.

Show
Assembla Importer added a comment - 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.
Hide
Assembla Importer added a comment -

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

Show
Assembla Importer added a comment - richhickey said: Some work has been done in master, little feedback at present
Aaron Bedra made changes -
Field Original Value New Value
Reporter Assembla Importer [ importer ]
Priority Major [ 3 ]
Hide
Aaron Bedra added a comment -

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.

Show
Aaron Bedra added a comment - 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.
Hide
Stuart Halloway added a comment -

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

Show
Stuart Halloway added a comment - This will be subsumed under the changes being proposed at http://dev.clojure.org/display/design/Error+Handling
Stuart Halloway made changes -
Status In Progress [ 3 ] Resolved [ 5 ]
Resolution Declined [ 2 ]
Aaron Bedra made changes -
Approval Test
Stuart Halloway made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: