From b7479d46be3de4e9969320f0cd7c81304c4fbcad Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Wed, 21 May 2008 22:06:44 +0000 Subject: [PATCH] Bug 233113 When refactoring the CDT code for DSF I made a copy/paste mistake which caused the Stop on Main to stop working. --- .../org/eclipse/dd/gdb/internal/ui/launching/CDebuggerTab.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/org.eclipse.dd.gdb.ui/src/org/eclipse/dd/gdb/internal/ui/launching/CDebuggerTab.java b/plugins/org.eclipse.dd.gdb.ui/src/org/eclipse/dd/gdb/internal/ui/launching/CDebuggerTab.java index a37d046061e..2143f03ec01 100644 --- a/plugins/org.eclipse.dd.gdb.ui/src/org/eclipse/dd/gdb/internal/ui/launching/CDebuggerTab.java +++ b/plugins/org.eclipse.dd.gdb.ui/src/org/eclipse/dd/gdb/internal/ui/launching/CDebuggerTab.java @@ -323,7 +323,7 @@ public class CDebuggerTab extends AbstractCDebuggerTab { } if (!fAttachMode) { config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN, - ICDTLaunchConfigurationConstants.DEBUGGER_STOP_AT_MAIN_DEFAULT); + fStopInMain.getSelection()); config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN_SYMBOL, fStopInMainSymbol.getText());