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:
parent
4093756b37
commit
8422bf48dd
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue