GRECLIPSE
  1. GRECLIPSE
  2. GRECLIPSE-436

[debug] Variables pane does not show expected variables when debuggin groovy code

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1Release
    • Fix Version/s: 2.1.1Release
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Variables in the variable pane show the actual objects as they exist in the running JVM. When debugging groovy code, this is not always the best view. For example, when stepping through a Closure, the parameters are wrapped in Reference objects.

        Activity

        Hide
        Andrew Eisenberg added a comment -

        I wonder if this will be as easy as calling the Evaluator with a groovy file name instead of a java file name.

        See Evaluator.getClasses() line 133

        Include some compiler option that can convert to a groovy file extension instead of a java file extension.

        Show
        Andrew Eisenberg added a comment - I wonder if this will be as easy as calling the Evaluator with a groovy file name instead of a java file name. See Evaluator.getClasses() line 133 Include some compiler option that can convert to a groovy file extension instead of a java file extension.
        Hide
        Andrew Eisenberg added a comment -

        Unfortunately not as easy as I would have hoped.

        Show
        Andrew Eisenberg added a comment - Unfortunately not as easy as I would have hoped.
        Hide
        Andrew Eisenberg added a comment -

        Unless we can figure out more specific cases, I'm thinking that this is fixed since we now support "Show logical structure" for Reference objects by default.

        Since groovy-eclipse now supports groovy-aware debug evaluation, this problem is not really too bad any more.

        Show
        Andrew Eisenberg added a comment - Unless we can figure out more specific cases, I'm thinking that this is fixed since we now support "Show logical structure" for Reference objects by default. Since groovy-eclipse now supports groovy-aware debug evaluation, this problem is not really too bad any more.

          People

          • Assignee:
            Andrew Eisenberg
            Reporter:
            Andrew Eisenberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: