1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +02:00

Bug 223076

Debug traces were printed for out-of-band events when they were processed (processEvent()) and again when the next ResultRecord is received (processCommandDone()).

This fix only prints the ResultRecord in the processCommandDone() method.
This commit is contained in:
Marc Khouzam 2008-04-10 14:46:02 +00:00
parent 4093756b37
commit 8422bf48dd

View file

@ -350,7 +350,9 @@ public abstract class AbstractMIControl extends AbstractDsfService
if ( result != null ) {
MIInfo cmdResult = (MIInfo) result ;
MIOutput output = cmdResult.getMIOutput();
MIPlugin.debug(MIPlugin.getDebugTime() + " " + output + "\n"); //$NON-NLS-1$ //$NON-NLS-2$
// Only print the result record and not the out-of-band records.
// Out-of-band records have already been printed in processEvent()
MIPlugin.debug(MIPlugin.getDebugTime() + " " + output.getMIResultRecord() + "\n"); //$NON-NLS-1$ //$NON-NLS-2$
}
else
{