summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/breakpoint.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-10-20 10:45:59 +0200
committerhjk <qthjk@ovi.com>2011-10-20 10:51:09 +0200
commit6da15db62c796de1cd1b01eb8976cdffeddeedf8 (patch)
tree82c1961c7a509e341528ac00fc778ab0fc001677 /src/plugins/debugger/breakpoint.h
parent734829151490d6ceea3d3911fec29d4cbd5a6ea5 (diff)
downloadqt-creator-6da15db62c796de1cd1b01eb8976cdffeddeedf8.tar.gz
Debugger: Prevent adding invalid breakpoints.
Check on session restore and add. In particular, suppress watchpoints at 0x0, which hang gdb. Change-Id: I648f53a709fabdebe641e478f367f1354a315ab1 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/breakpoint.h')
-rw-r--r--src/plugins/debugger/breakpoint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/debugger/breakpoint.h b/src/plugins/debugger/breakpoint.h
index b1636be10c..a04a718bf2 100644
--- a/src/plugins/debugger/breakpoint.h
+++ b/src/plugins/debugger/breakpoint.h
@@ -203,6 +203,7 @@ class BreakpointParameters
public:
explicit BreakpointParameters(BreakpointType = UnknownType);
BreakpointParts differencesTo(const BreakpointParameters &rhs) const;
+ bool isValid() const;
bool equals(const BreakpointParameters &rhs) const;
bool conditionsMatch(const QByteArray &other) const;
bool isWatchpoint() const