diff options
author | Marc Khouzam | 2011-06-03 18:10:54 +0000 |
---|---|---|
committer | Marc Khouzam | 2011-06-03 18:10:54 +0000 |
commit | fa8c801dcc256bdbe3eca13b70e13bb2f7fd4457 (patch) | |
tree | 29698c09013b6413280e6ffd5f319e28c2eb9cf7 | |
parent | 1f46851ba3a50227098540ec3c6d64d990bf0f1e (diff) | |
download | org.eclipse.cdt-fa8c801dcc256bdbe3eca13b70e13bb2f7fd4457.tar.gz org.eclipse.cdt-fa8c801dcc256bdbe3eca13b70e13bb2f7fd4457.tar.xz org.eclipse.cdt-fa8c801dcc256bdbe3eca13b70e13bb2f7fd4457.zip |
Bug 348159: Tracing console is not shown automatically. Hack to get it working in time for Indigo. Needs to be revisited.
-rw-r--r-- | dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchUtils.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchUtils.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchUtils.java index 2f2ef8b96ab..d294c6a69e2 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchUtils.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchUtils.java @@ -439,7 +439,13 @@ public class LaunchUtils { public static boolean getIsNonStopMode(ILaunchConfiguration config) { try { return config.getAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUGGER_NON_STOP, - getIsNonStopModeDefault()); + // This call causes a race condition with the TraceControlManager + // Don't use it for now, until we find a fix. + // Consequence is that a Debug As->C/C++ application shortcut will not follow + // the preference for non-stop. This is not as bad as not have the gdb traces + // Bug 348159 + IGDBLaunchConfigurationConstants.DEBUGGER_NON_STOP_DEFAULT); +// getIsNonStopModeDefault()); } catch (CoreException e) { } return false; |