CDB: Use maxStackDepth and implement reload full stack.

Task-number: QTCREATORBUG-7320

Change-Id: I78bf8cf63fa892f2a6771911333c246839439bf4
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Friedemann Kleint
2013-01-31 14:34:16 +01:00
committed by hjk
parent 0a35cae99d
commit 2970a036d8
6 changed files with 46 additions and 17 deletions

View File

@@ -203,7 +203,8 @@ void ExtensionContext::notifyIdleCommand(CIDebugClient *client)
else
str << ",threads=" << threadInfo;
const std::string stackInfo = gdbmiStack(exc.control(), exc.symbols(),
maxStackFrames, false, &errorMessage);
ExtensionContext::instance().parameters().maxStackDepth,
false, &errorMessage);
if (stackInfo.empty())
str << ",stackerror=" << gdbmiStringFormat(errorMessage);
else