Manuscript (Dossier [Issue]22823) Debugging - Debugger code highligt broken when using debugTest menu

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Dossier [Issue]22823) Debugging - Debugger code highligt broken when using debugTest menu

Pharo Issue Tracker
Manuscript Notification
avatar
Bug in Project:  Debugging: 1. Pharo Image  •  You are subscribed to this case
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 Priority: 3 – Must Fix Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Pharo7.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker