forked from qt-creator/qt-creator
Debugger: improve symbol lookup times for cdb
Task-number: QTCREATORBUG-18613 Change-Id: If8dac096fa4d0d8afc6fb8f7bbffd090a5dc6e19 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -566,6 +566,7 @@ void CdbEngine::setupInferior()
|
||||
[this, id](const DebuggerResponse &r) { handleBreakInsert(r, id); }});
|
||||
}
|
||||
|
||||
runCommand({".symopt+0x8000"}); // disable searching public symbol table - improving the symbol lookup speed
|
||||
runCommand({"sxn 0x4000001f", NoFlags}); // Do not break on WowX86 exceptions.
|
||||
runCommand({"sxn ibp", NoFlags}); // Do not break on initial breakpoints.
|
||||
runCommand({".asm source_line", NoFlags}); // Source line in assembly
|
||||
|
||||
@@ -1517,7 +1517,8 @@ void tst_Dumpers::dumper()
|
||||
<< "-c"
|
||||
<< "bm doit!qtcDebugBreakFunction;g"
|
||||
<< "debug\\doit.exe";
|
||||
cmds += "!qtcreatorcdbext.script sys.path.insert(1, '" + dumperDir + "')\n"
|
||||
cmds += ".symopt+0x8000\n"
|
||||
"!qtcreatorcdbext.script sys.path.insert(1, '" + dumperDir + "')\n"
|
||||
"!qtcreatorcdbext.script from cdbbridge import *\n"
|
||||
"!qtcreatorcdbext.script theDumper = Dumper()\n"
|
||||
"!qtcreatorcdbext.script theDumper.setupDumpers()\n"
|
||||
|
||||
Reference in New Issue
Block a user