Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Khouzam2011-02-03 14:26:14 -0500
committerMarc Khouzam2011-02-03 14:26:14 -0500
commitcb7670dbc486b47cc034427c96795c826f17f2f4 (patch)
tree25292a4eadc3ad7700043526c62ec4951d3a2f59
parentbaba3cb3634e222f699d9c72c695e41323e83490 (diff)
downloadorg.eclipse.cdt-cb7670dbc486b47cc034427c96795c826f17f2f4.tar.gz
org.eclipse.cdt-cb7670dbc486b47cc034427c96795c826f17f2f4.tar.xz
org.eclipse.cdt-cb7670dbc486b47cc034427c96795c826f17f2f4.zip
Bug 335895: GDB Traces Console has infinite capacity
-rw-r--r--dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/console/TracingConsoleManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/console/TracingConsoleManager.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/console/TracingConsoleManager.java
index 778e37164c..f88539c2f4 100644
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/console/TracingConsoleManager.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/console/TracingConsoleManager.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009, 2010 Ericsson and others.
+ * Copyright (c) 2009, 2011 Ericsson and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -121,6 +121,7 @@ public class TracingConsoleManager implements ILaunchesListener2, IPropertyChang
if (launch.isTerminated() == false) {
// Create and new tracing console.
TracingConsole console = new TracingConsole(launch, ConsoleMessages.ConsoleMessages_trace_console_name);
+ console.setWaterMarks(400000, 500000);
ConsolePlugin.getDefault().getConsoleManager().addConsoles(new IConsole[]{console});
} // else we don't display a new console for a terminated launch
}

Back to the top