forked from qt-creator/qt-creator
Debugger: Suppress fetching of locals when LLDB stack is empty
This happens on some spurious stops on startup on Linux Change-Id: I22954da2c829c26a6849c6e829bfe52f9c84dd7f Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -847,6 +847,11 @@ void LldbEngine::updateLocals()
|
||||
|
||||
void LldbEngine::doUpdateLocals(UpdateParameters params)
|
||||
{
|
||||
if (stackHandler()->stackSize() == 0) {
|
||||
showMessage(_("SKIPPING LOCALS DUE TO EMPTY STACK"));
|
||||
return;
|
||||
}
|
||||
|
||||
DebuggerCommand cmd("updateData");
|
||||
cmd.arg("nativeMixed", isNativeMixedActive());
|
||||
watchHandler()->appendFormatRequests(&cmd);
|
||||
|
Reference in New Issue
Block a user