Hi Norman,
Not sure if it's the best example, but we do set the Debug View
selection to reflect a Multicore Visualizer selection.
Look in MulticoreVisualizer # selectionChanged()
@Override
public void selectionChanged(SelectionChangedEvent event) {
super.selectionChanged(event);
// Force Debug View's selection to reflect visualizer
selection,
// since debug view doesn't update itself from the
workbench selection.
// NOTE: This can be overridden by the model selection
policy, if there is one.
ISelection debugViewSelection =
visualizerToDebugViewSelection(getSelection());
DebugViewUtils.setDebugViewSelection(debugViewSelection);
// update actions to reflect change of selection
updateActions();
}
Regards,
Marc
On 03/05/2015 10:39 AM, Norman Yee wrote:
Hi,
After launching a multi-core session in our custom
DSF debugger, sometimes the last core in the Debug View gets
focus. We would like the first core to get focus so we need a
way to set the debug context.
Is
there a way set the debug context in the Debug View? I know
that it's possible to get the debug context but I haven't seen
any way to set it.
Thanks.
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev
|