diff options
author | hjk <[email protected]> | 2015-02-04 16:27:46 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2015-02-04 15:32:20 +0000 |
commit | 96a0f48093cc64503962483750912451fa1f6db5 (patch) | |
tree | 9ffd7cef3ee85315f9274f9ee0090e5347675dca /src/plugins/debugger/breakhandler.cpp | |
parent | ca1f7434633df961db7c1bda622198a0cfef7269 (diff) |
Debugger: Pass all breakpoint properties to *brigde.py
Change-Id: I58ee1b106e1cd6e8ad5ce99b226860c528698520
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/breakhandler.cpp')
-rw-r--r-- | src/plugins/debugger/breakhandler.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index f4936e5c944..56a49e090c5 100644 --- a/src/plugins/debugger/breakhandler.cpp +++ b/src/plugins/debugger/breakhandler.cpp @@ -745,6 +745,21 @@ const BreakpointParameters &Breakpoint::parameters() const return b->m_params; } +void Breakpoint::addToCommand(DebuggerCommand *cmd) const +{ + cmd->arg("modelid", id().toByteArray()); + cmd->arg("type", type()); + cmd->arg("ignorecount", ignoreCount()); + cmd->arg("condition", condition().toHex()); + cmd->arg("function", functionName().toUtf8()); + cmd->arg("oneshot", isOneShot()); + cmd->arg("enabled", isEnabled()); + cmd->arg("fileName", fileName().toUtf8()); + cmd->arg("lineNumber", lineNumber()); + cmd->arg("address", address()); + cmd->arg("expression", expression()); +} + BreakpointState Breakpoint::state() const { QTC_ASSERT(b, return BreakpointState()); |