debugger: work on location marker setting.

This commit is contained in:
hjk
2009-10-01 17:03:37 +02:00
parent 828b1f9616
commit 21f0f2c900
4 changed files with 43 additions and 18 deletions

View File

@@ -1357,9 +1357,9 @@ void DebuggerManager::resetLocation()
void DebuggerManager::gotoLocation(const Debugger::Internal::StackFrame &frame, bool setMarker)
{
if (theDebuggerBoolSetting(OperateByInstruction) || !frame.isUsable()) {
d->m_disassemblerViewAgent.setFrame(frame);
if (setMarker)
resetLocation();
d->m_disassemblerViewAgent.setFrame(frame);
} else {
// Connected to the plugin.
emit gotoLocationRequested(frame.file, frame.line, setMarker);