2017-09-11 1:26 GMT+02:00 Tim Mackinnon <tim@testit.works>: > While I’m on a debugger trip… anyone else also notice that the > Suggestions, Break once debug option acts weirdly? I seem to get a debugger > but it halts several lines after where I have said, and if I start stepping > the debugger seems to jump to funny places and show values that don’t line > up with what I know is happening? If I use Suggestions, Break it seems to > work correctly (apart from the Step Through I mentioned in another thread). > > Tim >
Thats because the "Break once" creates a MetaLink that when executing this Metalink it removes itself from the methode prior to the break-command. If now the debugger opens the method, it executes a context to a method that already had changed. (the actual method bytecode only exists in the current context). You can see the "real" bytecode of the contexts method if you select GTs bytecode view.