Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorMikhail Khodjaiants2007-01-25 15:54:07 +0000
committerMikhail Khodjaiants2007-01-25 15:54:07 +0000
commitca878d9a0b48aa13bfdc5240f42124a3f2f5ca27 (patch)
tree5632f8265f8364cb504968c02bd489d2eb239ddf /debug
parent65af5a4620c6fb11baa3f357a2fd8e864ee0ed2d (diff)
downloadorg.eclipse.cdt-ca878d9a0b48aa13bfdc5240f42124a3f2f5ca27.tar.gz
org.eclipse.cdt-ca878d9a0b48aa13bfdc5240f42124a3f2f5ca27.tar.xz
org.eclipse.cdt-ca878d9a0b48aa13bfdc5240f42124a3f2f5ca27.zip
Bug 171644: RxThread crashes on NullPointerException if a unexpected "^running" message is received from debugger.
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/RxThread.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/RxThread.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/RxThread.java
index 09f4a37cc7e..6b5cd7de273 100644
--- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/RxThread.java
+++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/RxThread.java
@@ -208,7 +208,7 @@ public class RxThread extends Thread {
}
session.getMIInferior().setRunning();
MIEvent event = new MIRunningEvent(session, id, type);
- if (cmd.isQuiet())
+ if (cmd != null && cmd.isQuiet())
event.setPropagate(false);
list.add(event);
} else if ("exit".equals(state)) { //$NON-NLS-1$

Back to the top