ide/debugger/breakpoints: Fixed a null pointer crash on a bpItem
authorJerome St-Louis <jerome@ecere.com>
Thu, 29 Aug 2013 09:10:53 +0000 (05:10 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 29 Aug 2013 09:16:03 +0000 (05:16 -0400)
ide/src/debugger/Debugger.ec

index fd00ff5..7439519 100644 (file)
@@ -1867,7 +1867,7 @@ class Debugger
          delete location;
          if(!breakpointError)
          {
-            if(bpItem.multipleBPs && bpItem.multipleBPs.count)
+            if(bpItem && bpItem.multipleBPs && bpItem.multipleBPs.count)
             {
                int count = 0;
                GdbDataBreakpoint first = null;