Bug 265229 - Need to be able to perform silent evaluations
Summary: Need to be able to perform silent evaluations
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-17 18:05 EST by Samantha Chan CLA
Modified: 2009-02-17 22:01 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samantha Chan CLA 2009-02-17 18:05:47 EST
When creating logicial structures, or running actions when a breakpoint is hit, it is often required that we run evaluations.  These evaluations are considered internal processing of the debugger, and should not be exposed to the users.

Currently, we can fire EVALUATION_IMPLICIT debug events.  However, the debug view actions and labels are still updated upon these debug events.  This causes significant flashing in the views, when many evaluations are being done to perform these internal processing.
Comment 1 Darin Wright CLA 2009-02-17 22:01:30 EST
Note that bug 260910 is proposing silent evaluations for breakpoint listeners. This works nicely because when a thread is notifying breakpoint listeners, it has not yet fired a suspend event/revealled its true state to the user interface (so the step actions are still disabled). This is *not* the case for logical structures - they resume/suspend after the thread has already admitted it has suspended. Supporting quiet evaluations in this case could be more involved.

We had problems in the past where actions ended up disabled when they should be enabled due to this (eg. step over is enabled, the user presses step, the action becomse disabled until the step ends... but it never ends because it never started and the action never re-enables until the frame is re-selected).