ide/debugger: Fixed crash on watching array[index]
authorJerome St-Louis <jerome@ecere.com>
Mon, 22 Sep 2014 07:15:18 +0000 (03:15 -0400)
committerJerome St-Louis <jerome@ecere.com>
Sun, 15 Feb 2015 18:39:06 +0000 (13:39 -0500)
ide/src/debugger/Debugger.ec

index a5ea6b9..efaa9c2 100644 (file)
@@ -2955,7 +2955,7 @@ class Debugger
                               !strcmp(wh.type._class.registered.name, "String")))
                      {
 
-                        if(exp.expType.kind != arrayType || exp.hasAddress)
+                        if(exp.expType && (exp.expType.kind != arrayType || exp.hasAddress))
                         {
                            uint64 address;
                            char value[4196];