mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 386156 - IllegalArgumentException in ThreadVMNode
This commit is contained in:
parent
afda71bc56
commit
0596ffc0d2
1 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,6 @@ import java.util.Map;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.internal.ui.pinclone.PinCloneUtils;
|
import org.eclipse.cdt.debug.internal.ui.pinclone.PinCloneUtils;
|
||||||
import org.eclipse.cdt.debug.ui.IPinProvider.IPinElementColorDescriptor;
|
import org.eclipse.cdt.debug.ui.IPinProvider.IPinElementColorDescriptor;
|
||||||
import org.eclipse.cdt.dsf.concurrent.IDsfStatusConstants;
|
|
||||||
import org.eclipse.cdt.dsf.concurrent.ImmediateExecutor;
|
import org.eclipse.cdt.dsf.concurrent.ImmediateExecutor;
|
||||||
import org.eclipse.cdt.dsf.concurrent.RequestMonitor;
|
import org.eclipse.cdt.dsf.concurrent.RequestMonitor;
|
||||||
import org.eclipse.cdt.dsf.datamodel.IDMContext;
|
import org.eclipse.cdt.dsf.datamodel.IDMContext;
|
||||||
|
@ -316,7 +315,7 @@ public class ThreadVMNode extends AbstractThreadVMNode
|
||||||
final IThreadDMContext threadDmc = findDmcInPath(update.getViewerInput(), update.getElementPath(), IThreadDMContext.class);
|
final IThreadDMContext threadDmc = findDmcInPath(update.getViewerInput(), update.getElementPath(), IThreadDMContext.class);
|
||||||
|
|
||||||
if (processService == null || threadDmc == null) {
|
if (processService == null || threadDmc == null) {
|
||||||
update.setStatus(new Status(IDsfStatusConstants.INVALID_HANDLE, GdbUIPlugin.PLUGIN_ID, "Service or handle invalid", null)); //$NON-NLS-1$
|
update.setStatus(new Status(IStatus.ERROR, GdbUIPlugin.PLUGIN_ID, "Service or handle invalid", null)); //$NON-NLS-1$
|
||||||
} else {
|
} else {
|
||||||
processService.getExecutionData(
|
processService.getExecutionData(
|
||||||
threadDmc,
|
threadDmc,
|
||||||
|
|
Loading…
Add table
Reference in a new issue