Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorAlena Laskavaia2008-09-18 21:03:49 +0000
committerAlena Laskavaia2008-09-18 21:03:49 +0000
commitf0cec379441d60f2792cb3480278c32e0a3e24ed (patch)
tree28d99f516f7444fdd9a0abadb8b520623d56e7b1 /debug
parent7f3a9922f5e51260703f739fd43a8a08846019d6 (diff)
downloadorg.eclipse.cdt-f0cec379441d60f2792cb3480278c32e0a3e24ed.tar.gz
org.eclipse.cdt-f0cec379441d60f2792cb3480278c32e0a3e24ed.tar.xz
org.eclipse.cdt-f0cec379441d60f2792cb3480278c32e0a3e24ed.zip
- fixed broken ability to add address breakpoint from console
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
index 449f412e4ad..1243534217c 100644
--- a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
+++ b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
@@ -470,7 +470,7 @@ public class BreakpointManager extends Manager {
hint == MIBreakpointChangedEvent.HINT_NONE) && function != null && function.length() > 0) {
FunctionLocation location = createFunctionLocation(file, function);
newBreakpoint = new FunctionBreakpoint(target, type, location, condition, enabled);
- } else if (hint == MIBreakpointChangedEvent.HINT_NEW_EVENTBREAKPOINT || EventBreakpoint.getEventArgumentFromMI(miBreakpoint)!=null) {
+ } else if (hint == MIBreakpointChangedEvent.HINT_NEW_EVENTBREAKPOINT || EventBreakpoint.getEventTypeFromMI(miBreakpoint)!=null) {
String ctype = EventBreakpoint.getEventTypeFromMI(miBreakpoint);
if (ctype != null) {
newBreakpoint = new EventBreakpoint(target, ctype, EventBreakpoint

Back to the top