Uploaded image for project: '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
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: scalate-core
    • Labels:
      None

      Description

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

        Gliffy Diagrams

          Activity

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

          Implemented using JSR45

          Show
          chirino Hiram Chirino added a comment - Implemented using JSR45

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development