branches/kdevelop/3.4/languages/cpp/debugger

Jens Dagerbo jens.dagerbo at swipnet.se
Sun Jan 7 22:01:06 UTC 2007


SVN commit 620972 by dagerbo:

Apparently, currentCmd_ can be 0 here, lets plug that.

CCMAIL: kdevelop-devel at kdevelop.org

 M  +1 -1      gdbcontroller.cpp  


--- branches/kdevelop/3.4/languages/cpp/debugger/gdbcontroller.cpp #620971:620972
@@ -1381,7 +1381,7 @@
     else if (result.reason == "error")
     {
         // Some commands want to handle errors themself.
-        if (currentCmd_->handlesError() &&
+        if (currentCmd_ && currentCmd_->handlesError() &&
             currentCmd_->invokeHandler(result))
         {
             // Done, nothing more needed




More information about the KDevelop-devel mailing list