Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 237556 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/dd/mi/service/command/AbstractMIControl.java (-1 / +1 lines)
Lines 259-265 Link Here
259
				if (runControl != null && execDmc != null && runControl.isSuspended(execDmc)) {
259
				if (runControl != null && execDmc != null && runControl.isSuspended(execDmc)) {
260
			    	// Before the command is sent, Check the Thread Id and send it to 
260
			    	// Before the command is sent, Check the Thread Id and send it to 
261
			    	// the queue only if the id has been changed.
261
			    	// the queue only if the id has been changed.
262
			    	if (targetThread != -1 && targetThread != fCurrentThreadId) {
262
			    	if (targetThread != -1 && targetThread != 0 && targetThread != fCurrentThreadId) {
263
			    		fCurrentThreadId = targetThread;
263
			    		fCurrentThreadId = targetThread;
264
			    		resetCurrentStackLevel();
264
			    		resetCurrentStackLevel();
265
			    		CommandHandle cmdHandle = new CommandHandle(new MIThreadSelect(execDmc), null);
265
			    		CommandHandle cmdHandle = new CommandHandle(new MIThreadSelect(execDmc), null);

Return to bug 237556