summaryrefslogtreecommitdiff
path: root/src/plugins/debugger
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-01-31 14:24:39 +0100
committerhjk <hjk121@nokiamail.com>2013-01-31 15:48:31 +0100
commit72421c18c1f597755f9bd7a4d62751858a935c8b (patch)
tree46281231e1690cafc83e544089393cbc590dd1ac /src/plugins/debugger
parent9c96a5a971033e4e9124dd2068b14ded03b5f2da (diff)
downloadqt-creator-72421c18c1f597755f9bd7a4d62751858a935c8b.tar.gz
CDB: Pass settings maxStringLength and maxStackDepth to extension.
Change-Id: I602aa3758817026c8b4cbda1cc9fa9eff95fc691 Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/debugger')
-rw-r--r--src/plugins/debugger/cdb/cdbengine.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp
index c6f677c5ed..fd0769d109 100644
--- a/src/plugins/debugger/cdb/cdbengine.cpp
+++ b/src/plugins/debugger/cdb/cdbengine.cpp
@@ -783,6 +783,11 @@ void CdbEngine::setupInferior()
}
postCommand("sxn 0x4000001f", 0); // Do not break on WowX86 exceptions.
postCommand(".asm source_line", 0); // Source line in assembly
+ postCommand(m_extensionCommandPrefixBA + "setparameter maxStringLength="
+ + debuggerCore()->action(MaximalStringLength)->value().toByteArray()
+ + " maxStackDepth="
+ + debuggerCore()->action(MaximalStackDepth)->value().toByteArray()
+ , 0);
postExtensionCommand("pid", QByteArray(), 0, &CdbEngine::handlePid);
}