1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Print the token when printing the debug traces for the

inserted thread-select and stack-select.
This commit is contained in:
Marc Khouzam 2008-03-18 14:54:09 +00:00
parent 4f501b788f
commit a7c5da0b08

View file

@ -239,7 +239,7 @@ public abstract class AbstractMIControl extends AbstractDsfService
CommandHandle cmdHandle = new CommandHandle( CommandHandle cmdHandle = new CommandHandle(
new MIThreadSelect(handle.fCommand.getContext(), fCurrentThreadId), null); new MIThreadSelect(handle.fCommand.getContext(), fCurrentThreadId), null);
fTxCommands.add(cmdHandle); 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 // 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( CommandHandle cmdHandle = new CommandHandle(
new MIStackSelectFrame(handle.fCommand.getContext(), fCurrentStackLevel), null); new MIStackSelectFrame(handle.fCommand.getContext(), fCurrentStackLevel), null);
fTxCommands.add(cmdHandle); 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); fTxCommands.add(handle);
} }