aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/breakhandler.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2015-02-04 16:27:46 +0100
committerhjk <[email protected]>2015-02-04 15:32:20 +0000
commit96a0f48093cc64503962483750912451fa1f6db5 (patch)
tree9ffd7cef3ee85315f9274f9ee0090e5347675dca /src/plugins/debugger/breakhandler.cpp
parentca1f7434633df961db7c1bda622198a0cfef7269 (diff)
Debugger: Pass all breakpoint properties to *brigde.py
Diffstat (limited to 'src/plugins/debugger/breakhandler.cpp')
-rw-r--r--src/plugins/debugger/breakhandler.cpp15
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());