Ha, we just tackled this
issue in EDC recently.
I didn’t play with
StepController, but control it using a delay in reporting IResumedDMEvent for stepping
in EDC RunControl service. You may take a look at where “RESUME_NOTIFICATION_DELAY”
is used in
org.eclipse.cdt.debug.edc.internal.services.dsf.RunControl.ExecutionDMC.scheduleResumeEvent()
Regards.
Ling
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf
Of ext Alexiev, Dobrin
Sent: Thursday, August 26, 2010 1:46 PM
To: CDT General developers list.
Subject: [cdt-dev] SteppingController question
I like the feature of Eclipse and DSF that if the user steps
while debugging the debug view doesn’t update for half a second with an
anticipation that the target will be suspended again. The problem is that under
some conditions (slow connection to the target) stepping takes around a second
and the debug view flickers badly.
Do other debuggers experience similar problems?
I noticed that half second is a hard coded delay in
DSF’s class SteppingController.
Is it possible for a DSF debuggers to be able to customize
the stepping controller somehow?
I can open a bugzilla entry so we can discuss there how it
can be addressed.
Regards
Dobrin