diff options
Diffstat (limited to 'dsf')
4 files changed, 13 insertions, 2 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/ExecutionContextLabelText.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/ExecutionContextLabelText.java index 8750303b51e..540f45ac7d6 100644 --- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/ExecutionContextLabelText.java +++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/ExecutionContextLabelText.java @@ -72,7 +72,12 @@ public class ExecutionContextLabelText extends LabelText { reasonLabel = MessagesForLaunchVM.State_change_reason__User_request__label; } else if (StateChangeReason.WATCHPOINT.name().equals(reason)) { reasonLabel = MessagesForLaunchVM.State_change_reason__Watchpoint__label; + } else if (StateChangeReason.EVENT_BREAKPOINT.name().equals(reason)) { + reasonLabel = MessagesForLaunchVM.State_change_reason__EventBreakpoint__label; + } else { + assert false : "unexpected state change reason: " + reason; //$NON-NLS-1$ } + return reasonLabel; } else if ( ILaunchVMConstants.PROP_STATE_CHANGE_DETAILS.equals(propertyName) ) { return properties.get(propertyName); diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/MessagesForLaunchVM.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/MessagesForLaunchVM.java index 0a76995a03f..0c9a4a4f4bd 100644 --- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/MessagesForLaunchVM.java +++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/MessagesForLaunchVM.java @@ -51,4 +51,5 @@ public class MessagesForLaunchVM extends NLS { public static String State_change_reason__Shared_lib__label; public static String State_change_reason__Error__label; public static String State_change_reason__Evaluation__label; + public static String State_change_reason__EventBreakpoint__label; } diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/messages.properties b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/messages.properties index 7cef5597a9a..b41bebc7020 100644 --- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/messages.properties +++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/messages.properties @@ -66,4 +66,5 @@ State_change_reason__Watchpoint__label = Watchpoint State_change_reason__Signal__label = Signal State_change_reason__Shared_lib__label = Shared Library State_change_reason__Error__label = Error -State_change_reason__Evaluation__label = Evaluation
\ No newline at end of file +State_change_reason__Evaluation__label = Evaluation +State_change_reason__EventBreakpoint__label = Event Breakpoint
\ No newline at end of file diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IRunControl.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IRunControl.java index 5fa6ebaa8c5..5abb794c252 100644 --- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IRunControl.java +++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IRunControl.java @@ -46,7 +46,11 @@ public interface IRunControl extends IDsfService public interface IContainerDMContext extends IExecutionDMContext {} /** Flag indicating reason context state change. */ - public enum StateChangeReason { UNKNOWN, USER_REQUEST, STEP, BREAKPOINT, EXCEPTION, CONTAINER, WATCHPOINT, SIGNAL, SHAREDLIB, ERROR, EVALUATION }; + public enum StateChangeReason { + UNKNOWN, USER_REQUEST, STEP, BREAKPOINT, EXCEPTION, CONTAINER, WATCHPOINT, SIGNAL, SHAREDLIB, ERROR, EVALUATION, + + /** @since 2.1 */ + EVENT_BREAKPOINT }; /** * Indicates that the given thread has suspended. |