Forge: Scalate
  1. Forge: Scalate
  2. SCALATE-24

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?

    Details

    • Type: Enhancement Enhancement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: scalate-core
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

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

        Gliffy Diagrams

          Activity

          Hide
          Hiram Chirino added a comment -

          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.

          Show
          Hiram Chirino added a comment - 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.
          Hide
          Hiram Chirino added a comment -

          Implemented using JSR45

          Show
          Hiram Chirino added a comment - Implemented using JSR45

            People

            • Assignee:
              Unassigned
              Reporter:
              James Strachan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development