debugger: make string cutoff value configurable

Change-Id: I118016956a597ad689daa438f5517a47efe3cef0
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-11-11 00:32:33 +01:00
parent cb7d4f8d1c
commit 3685ce7599
6 changed files with 32 additions and 8 deletions

View File

@@ -4905,6 +4905,10 @@ void GdbEngine::loadPythonDumpers()
postCommand("python execfile('" + dumperSourcePath + "qttypes.py')",
ConsoleCommand|NonCriticalResponse);
postCommand("python qqStringCutOff = "
+ debuggerCore()->action(MaximalStringLength)->value().toByteArray(),
ConsoleCommand|NonCriticalResponse);
loadInitScript();
postCommand("bbsetup", ConsoleCommand, CB(handleHasPython));