|
Easier way to reproduce:
Breakpoint removeAll.
breakpoint := Breakpoint new
node: (RBCommentTest lookupSelector: #testIntersectsInterval) ast;
once;
install.
RBCommentTest debug: #testIntersectsInterval.
The problem looks to be that the breakpoint instruments the method by generating code that is removed as quickly as it is created. The PC (used to determine the portion of code to highlight) is compoutes from the instrumented version of the method while the debugger uses the non-instrumented version.
A workaround for now is to do not use a one-shot breakpoint.
|
|
|
Priority: 3 – Must Fix
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Pharo7.0
|
Go to Case
|
|