Backtrace Reporting Enhancements
--------------------------------
Key: JRUBY-6080
URL: https://jira.codehaus.org/browse/JRUBY-6080
Project: JRuby
Issue Type: Improvement
Components: Miscellaneous
Reporter: Chris White
Priority: Minor
I left out the affected and fix versions since this is an enhancement so I am
unable to judge where such a feature would fit into the release schedule.
A discussion on Twitter regarding hindrances to non-java developers coming onto
JRuby prompted me to suggest an improvement on the way backtrace reporting is
handled. In the event of detailed backtraces, .java files are often mixed in
with .rb files roughly giving something like this:
Exception Goes Here
from .... Something.java:line
from .... Something.java:line
from .... Something.rb:line
from .... Something.java:line
from .... Something.java:line
from .... Something.java:line
from .... Something.rb:line
The issue in such traces is that .rb files are difficult to distinguish from
.java files, especially when there is more .java then .rb files displayed. A
few potential solutions are:
* Usage of colors to distinguish the files types
* For terminals that can not display colors, a fallback that uses prefixes such
as [J] for java and (R) for Ruby
* A command line option to filter the trace to only show .rb or only show .java
Another interesting suggestion was the ability to filter out custom .java code
from core Ruby .java code. Unfortunately I do not have a suggestion on how
that's possible due to the lack of familiarity with that part of the system.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email