From a13c09f28dd285688b8a863c7eb2ebe789111253 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Sat, 24 Mar 2012 13:59:04 -0400 Subject: [PATCH] Bug 375256: Disable assertion to allow existing launches to migrate to the new 'normal' tracepoint terminology. --- .../cdt/dsf/gdb/internal/ui/launching/GdbDebuggerPage.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/GdbDebuggerPage.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/GdbDebuggerPage.java index 23474d8c35d..358197e73c6 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/GdbDebuggerPage.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/GdbDebuggerPage.java @@ -175,7 +175,12 @@ public class GdbDebuggerPage extends AbstractCDebuggerPage implements Observer { } else if (tracepointMode.equals(IGDBLaunchConfigurationConstants.DEBUGGER_TRACEPOINT_FAST_THEN_NORMAL)) { fTracepointModeCombo.setText(TP_AUTOMATIC); } else { - assert false : "Unknown Tracepoint Mode: " + tracepointMode; //$NON-NLS-1$ + // Comment out assertion in the short term to allow for existing launches + // that used the old names to migrate to the new names. + // It can be uncommented after we have released Juno. + // Bug 375256 + // + // assert false : "Unknown Tracepoint Mode: " + tracepointMode; //$NON-NLS-1$ fTracepointModeCombo.setText(TP_NORMAL_ONLY); } }