eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[debugger] Inaccurate initial display #1530

Open eclipse-ocl-bot opened 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 468490 | | Status | NEW | | Importance | P3 minor | | Reported | May 27, 2015 11:01 EDT | | Modified | May 27, 2015 12:23 EDT | | Reporter | Ed Willink |

Description

The worker thread startup for the OCL editors means that the debugger may send the annotation highlights to the editor before the text has been set on the document.

As a result the initial selection is not shown.

Workaround. Click on the debugger stack frame.

The SourceLookupFacility is not amenable to customization, so slowing the debugger down does not appear to be an option.

Perhaps the editor should send some event that causes the debugger to resend the annotation highlights.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 27, 2015 12:23

(In reply to Ed Willink from comment #0)

Perhaps the editor should send some event that causes the debugger to resend the annotation highlights.

Ultimately a selectionChange for the Debugger View TreeModelViewer will correct the displays.

But triggering a non-change 2 seconds later doesn't seem to help and requires tacky code.