Fix a crash when gdb produces malformed output. The crash was reported in https://bugs.kde.org/show_bug.cgi?id=376595.
It is actually a bug in gdb which can't handle invalid/out-of-scope watchpoints gracefully.
Instead of assert and crash the whole IDE, debugger errors are now reported to the user in a dialog.
And debug session will automatically end in this case.