[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] stepping synchronized with the source editor PC marker updates

Actually what you described is what DSF does by default: i.e. minimum step interval preference is 0, and wait to update views is unchecked.

However, we did not go as far as delaying updates to data views. Such that the data views will request data from the debug engine upon a suspended event, but the run control commands will not wait for the views to finish updating. For details look at SteppingController and its supporting cast.

On 05/16/2011 02:11 PM, Alexiev, Dobrin wrote:
I need a little more control:

In my case I want the source editor to be somewhat different than the others views( memory, variables, registers, etc.).
I want to ensure the source editor has opened/updated the PC indicator after the step, but I don't want to wait for all the data in the registers, memory, variables to update before I allow the next step.

How can I achieve that?

Thanks
Dobrin

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Khouzam
Sent: Thursday, May 12, 2011 8:13 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] stepping synchronized with the source editor PC marker updates

I think you want

Preferences->Run/Debug->View Performance
and don't use the option "Wait for views to update after every step"
The "Minimum interval between steps" could be useful for you as well on that page.

Marc
________________________________________
From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Alexiev, Dobrin [dalexiev@xxxxxx]
Sent: May 12, 2011 4:46 PM
To: CDT General developers list.
Subject: [cdt-dev] stepping synchronized with the source editor PC marker       updates

Hello,

Is there a way in DSF to make sure the editor PC indicator updates before other views go ahead and update themselves when stepping?

I want the users to be able to perform the next step as fast as the PC indicator in the source editor updates.
If there are other views opened ( Registers, Memory, Variables, Expressions, Disassembly, etc.) their updates should not be blocking the stepping.

Thanks
Dobrin

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev