From a7c5da0b08ebe413c67599fc1ed543f72a67814b Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Tue, 18 Mar 2008 14:54:09 +0000 Subject: [PATCH] Print the token when printing the debug traces for the inserted thread-select and stack-select. --- .../org/eclipse/dd/mi/service/command/AbstractMIControl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/AbstractMIControl.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/AbstractMIControl.java index 5772bbb3fb9..a2d3b3741f0 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/AbstractMIControl.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/AbstractMIControl.java @@ -239,7 +239,7 @@ public abstract class AbstractMIControl extends AbstractDsfService CommandHandle cmdHandle = new CommandHandle( new MIThreadSelect(handle.fCommand.getContext(), fCurrentThreadId), null); fTxCommands.add(cmdHandle); - MIPlugin.debug(MIPlugin.getDebugTime() + " " + cmdHandle.getCommand()); //$NON-NLS-1$ + MIPlugin.debug(MIPlugin.getDebugTime() + " " + cmdHandle.getToken() + cmdHandle.getCommand()); //$NON-NLS-1$ } // Before the command is sent, Check the Stack level and send it to @@ -252,7 +252,7 @@ public abstract class AbstractMIControl extends AbstractDsfService CommandHandle cmdHandle = new CommandHandle( new MIStackSelectFrame(handle.fCommand.getContext(), fCurrentStackLevel), null); fTxCommands.add(cmdHandle); - MIPlugin.debug(MIPlugin.getDebugTime() + " " + cmdHandle.getCommand()); //$NON-NLS-1$ + MIPlugin.debug(MIPlugin.getDebugTime() + " " + cmdHandle.getToken() + cmdHandle.getCommand()); //$NON-NLS-1$ } fTxCommands.add(handle); }