1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

- fixed broken ability to add address breakpoint from console

This commit is contained in:
Alena Laskavaia 2008-09-18 21:03:49 +00:00
parent 7f3a9922f5
commit f0cec37944

View file

@ -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