diff options
author | hjk <[email protected]> | 2013-04-09 10:59:36 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2013-04-10 15:58:02 +0200 |
commit | 87f2d83ec2f44b17924599f87bd188db75962e57 (patch) | |
tree | 076033c34f4564a2837f8b14fc13da609389c92e /src/plugins/debugger/breakhandler.cpp | |
parent | 46b9c03cbcc49b31bc9c6e4e30b516cf537e309f (diff) |
Debugger: Add basic breakpoint handling and stepping to LLDB backend
Change-Id: Ib700afa63739e6d26bdd97225265559d7112eadb
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/breakhandler.cpp')
-rw-r--r-- | src/plugins/debugger/breakhandler.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index 637c57ff5c2..75a6d7056f0 100644 --- a/src/plugins/debugger/breakhandler.cpp +++ b/src/plugins/debugger/breakhandler.cpp @@ -123,7 +123,8 @@ static QString typeToString(BreakpointType type) return BreakHandler::tr("Breakpoint on QML Signal Emit"); case BreakpointAtJavaScriptThrow: return BreakHandler::tr("Breakpoint at JavaScript throw"); - case UnknownType: + case UnknownBreakpointType: + case LastBreakpointType: break; } return BreakHandler::tr("Unknown Breakpoint Type"); @@ -189,7 +190,7 @@ static bool isSimilarTo(const BreakpointParameters &data, const BreakpointRespon { // Clear hit. // Clear miss. - if (needle.type != UnknownType && data.type != UnknownType + if (needle.type != UnknownBreakpointType && data.type != UnknownBreakpointType && data.type != needle.type) return false; @@ -382,7 +383,7 @@ void BreakHandler::loadBreakpoints() if (v.isValid()) data.tracepoint = bool(v.toInt()); v = map.value(_("type")); - if (v.isValid() && v.toInt() != UnknownType) + if (v.isValid() && v.toInt() != UnknownBreakpointType) data.type = BreakpointType(v.toInt()); v = map.value(_("module")); if (v.isValid()) |