Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Cortell2010-04-06 19:32:14 +0000
committerJohn Cortell2010-04-06 19:32:14 +0000
commit57c6ba5fec251d7f649ff7e56a540bc905377cb4 (patch)
treefdbd8ef648818191d6bc437373b24d1b53bd4a02 /dsf/org.eclipse.cdt.dsf.ui
parentcdb45fd02ad8fedd6b093c9c19327c301a63770e (diff)
downloadorg.eclipse.cdt-57c6ba5fec251d7f649ff7e56a540bc905377cb4.tar.gz
org.eclipse.cdt-57c6ba5fec251d7f649ff7e56a540bc905377cb4.tar.xz
org.eclipse.cdt-57c6ba5fec251d7f649ff7e56a540bc905377cb4.zip
[248587] Support "Event' Breakpoints
Diffstat (limited to 'dsf/org.eclipse.cdt.dsf.ui')
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/ExecutionContextLabelText.java5
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/MessagesForLaunchVM.java1
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/messages.properties3
3 files changed, 8 insertions, 1 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

Back to the top