Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Khouzam2011-05-18 02:11:25 +0000
committerMarc Khouzam2011-05-18 02:11:25 +0000
commitde6f00d9c8af6c99ecf84cd9936f1b2adf8bb971 (patch)
tree44d2149d91e167c6bf807142109281de2cb27339
parentd3e6580734a2e34807eafa69cd348ca6126fd096 (diff)
downloadorg.eclipse.cdt-de6f00d9c8af6c99ecf84cd9936f1b2adf8bb971.tar.gz
org.eclipse.cdt-de6f00d9c8af6c99ecf84cd9936f1b2adf8bb971.tar.xz
org.eclipse.cdt-de6f00d9c8af6c99ecf84cd9936f1b2adf8bb971.zip
Bug 335320: NPE when terminating a launch and using the TraceControl view
-rw-r--r--dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/tracepoints/TraceControlView.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/tracepoints/TraceControlView.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/tracepoints/TraceControlView.java
index 82842fa0ea..c2ba6b9ee7 100644
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/tracepoints/TraceControlView.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/tracepoints/TraceControlView.java
@@ -266,7 +266,9 @@ public class TraceControlView extends ViewPart implements IViewPart, SessionEnde
}
}
- fStatusText.setText(EMPTY_STRING);
+ if (fStatusText != null) {
+ fStatusText.setText(EMPTY_STRING);
+ }
updateActionEnablement();
}

Back to the top