Skip to content

Cannot set breakpoints within annotation closure body #1154

@eric-milles

Description

@eric-milles

Consider the following:

@interface A {
  Class<? extends Closure> value()
}
class C {
  @A({
    println "want to break here"
  })
  void m() {
  }
}

Trying to set a breakpoint for the "println" line creates a method breakpoint on the "m()" line.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions