Breakpoints are ignored / become invalid

hi,

i am desperately trying to debug some intricate code, and it is like playing lottery finding a line for which i can set a breakpoint which doesn't get rendered invalid after starting the application... please see the attached screenshot.

i have seen that this issue has come up before, and was maybe related to anonymous classes. but in this case i don't think there are anonymous classes involved.

in the editor, the tooltip says that "No executable code found at line xyz"...

this is with the latest plug-in and scala 2.8.0.RC6.

thanks, -sciss-



Attachment(s):
Bildschirmfoto 2010-07-01 um 22.48.17.png
2 comments
Comment actions Permalink

As a workaround I can at least do this:

object Debug {
     def breakpoint {
          println( "here" )     // this can be a valid breakpoint
     }
}

// nested code:
...
...
import Debug._
breakpoint  // insert a manual one here
...
...


but elegant it's not...

0
Comment actions Permalink

It's been like that forever. I reported it probably a year ago...


RRS

0

Please sign in to leave a comment.