Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2015-10-21 12:01:39 -0400
committerEugene Tarassov2015-10-21 12:01:39 -0400
commit6162714d611861de29a4d34a0a375ab8a98069aa (patch)
treeb6629e3953a092aadf442df87a0fe10cb95e5337
parent597f0a78a56b94f768b37eb50a9927f6b03f972d (diff)
downloadorg.eclipse.tcf-6162714d611861de29a4d34a0a375ab8a98069aa.tar.gz
org.eclipse.tcf-6162714d611861de29a4d34a0a375ab8a98069aa.tar.xz
org.eclipse.tcf-6162714d611861de29a4d34a0a375ab8a98069aa.zip
TCF Debugger: fixed NPE when Debug view layout changed to "Breadcrumb"
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java
index 5ac93be60..66022f6e2 100644
--- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java
+++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java
@@ -678,7 +678,7 @@ public class TCFModel implements ITCFModel, IElementContentProvider, IElementLab
public void run() {
if (done) return;
if (initial_selection != this) return;
- if (launch_node != null) {
+ if (launch_node != null && !proxy.isDisposed()) {
ArrayList<TCFNodeExecContext> nodes = new ArrayList<TCFNodeExecContext>();
if (!searchSuspendedThreads(launch_node.getFilteredChildren(), nodes)) return;
if (nodes.size() == 0) {

Back to the top