Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: SCALATE-24
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: James Strachan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Forge: Scalate

do the JSP trick of generating debug/line number information into the generated scala file so exceptions/stack traces refer to the line numbers in the SSP/Scaml file not the generated scala file?

Created: 04/Feb/10 07:37 PM   Updated: 26/Mar/10 01:09 PM
Component/s: scalate-core
Affects Version/s: None
Fix Version/s: 1.0


 Description  « Hide
this may only be possible if we generate bytecode directly though, not sure .

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Hiram Chirino added a comment - 08/Feb/10 09:20 PM
Perhaps we can use a Compiler hook... Perhaps special comments tags can be inserted to specify the line numbers.. the compiler hook then groks the the comment tags and transforms the AST with new line numbers.

Hiram Chirino added a comment - 26/Mar/10 01:09 PM
Implemented using JSR45