forked from qt-creator/qt-creator
Debugger: Fix switching between assembler and source.
Do not drop stack index in resetLocation (which is called when switching). Do not switch to source unless we have the file. Reviewed-by: hjk
This commit is contained in:
@@ -511,7 +511,6 @@ void DebuggerEngine::breakByFunction(const QString &functionName)
|
||||
void DebuggerEngine::resetLocation()
|
||||
{
|
||||
d->m_disassemblerViewAgent.resetLocation();
|
||||
d->m_stackHandler.setCurrentIndex(-1);
|
||||
debuggerCore()->removeLocationMark();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user