mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 08:45:44 +02:00
Bug 500066 - Debug traces can be in the wrong order
Change-Id: I4e28ade1df7d3f35f07bfb95870e7d9c449442fc
This commit is contained in:
parent
5426847cbb
commit
5d9eaa604e
1 changed files with 3 additions and 2 deletions
|
@ -667,8 +667,6 @@ public abstract class AbstractMIControl extends AbstractDsfService
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (fOutputStream != null) {
|
if (fOutputStream != null) {
|
||||||
fOutputStream.write(str.getBytes());
|
|
||||||
fOutputStream.flush();
|
|
||||||
|
|
||||||
if (GdbDebugOptions.DEBUG) {
|
if (GdbDebugOptions.DEBUG) {
|
||||||
GdbDebugOptions.trace(String.format( "%s %s %s", GdbPlugin.getDebugTime(), MI_TRACE_IDENTIFIER, str)); //$NON-NLS-1$
|
GdbDebugOptions.trace(String.format( "%s %s %s", GdbPlugin.getDebugTime(), MI_TRACE_IDENTIFIER, str)); //$NON-NLS-1$
|
||||||
|
@ -689,6 +687,9 @@ public abstract class AbstractMIControl extends AbstractDsfService
|
||||||
setMITracingStream(null);
|
setMITracingStream(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fOutputStream.write(str.getBytes());
|
||||||
|
fOutputStream.flush();
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
// Shutdown thread in case of IO error.
|
// Shutdown thread in case of IO error.
|
||||||
|
|
Loading…
Add table
Reference in a new issue