4

I have set a breakpoint in String class. On running the program in debug mode the breakpoint is hit but I cannot step into the code. Pressing F5 resumes the execution to next breakpoint. I have removed java.* package from step filters.

I am using Groovy grails toolsuite instead of vanilla Eclipse.

enter image description here

enter image description here

Edit: Eclipse does seem to have source archive: enter image description here

Beau Grantham
  • 3,435
  • 5
  • 33
  • 43
Kshitiz Sharma
  • 17,947
  • 26
  • 98
  • 169

2 Answers2

0

This is a defect in Groovy Grails Toolsuite bundle.

I wanted to localize the fault, so I started with vanilla eclipse and installed each plugin in the bundle individually until the problem occured. It showed up when I installed Grails IDE plugin.

The way to get around this problem is take a vanilla eclipse and install Groovy Eclipse and Spring IDE separately. This will also make eclipse run faster as it'll avoid other stuff that comes bundled with GGTS.

Kshitiz Sharma
  • 17,947
  • 26
  • 98
  • 169
0

GGTS has step filters on by default. Go to Preferences -> Java -> Debug -> Step filtering to disable it. You also may need to go to Preferences -> Groovy -> Debugger -> Extended debugging and disable all preferences there.

Andrew Eisenberg
  • 28,387
  • 9
  • 92
  • 148
  • In the question I've clearly mentioned that I've properly configured Step filters. A screenshot is attached. – Kshitiz Sharma Jun 06 '14 at 15:41
  • Make sure that you also have Extended debugging disabled. By default, it only applies to Groovy projects, but there is an option to turn it on globally. Disable all of that to be sure. – Andrew Eisenberg Jun 06 '14 at 16:18
  • I'll check that on Monday morning and let you know. Although I suspect that its something to do with `Grails IDE` plugin as I've mentioned in my answer. – Kshitiz Sharma Jun 07 '14 at 05:57
  • The only interaction that Grails IDE has in that area is through those options I mention above. – Andrew Eisenberg Jun 08 '14 at 02:18
  • Your suggestion works. However when I disable extended debugging the Display view stops working. Evaluating an expression gives a NP. – Kshitiz Sharma Jun 19 '14 at 07:33