mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-29 06:39:48 -06:00
debugger_frame fixerinno
delete zombie dialog clear breakpoints properly
This commit is contained in:
parent
f0b1a587aa
commit
67bbd59924
@ -190,11 +190,6 @@ void debugger_frame::UpdateUI()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (Emu.IsStopped())
|
||||
{
|
||||
g_breakpoints.clear();
|
||||
}
|
||||
}
|
||||
|
||||
void debugger_frame::UpdateUnitList()
|
||||
@ -388,6 +383,8 @@ void debugger_frame::Show_Val()
|
||||
}
|
||||
m_list->ShowAddr(CentrePc(pc));
|
||||
}
|
||||
|
||||
diag->deleteLater();
|
||||
}
|
||||
|
||||
void debugger_frame::Show_PC()
|
||||
@ -424,6 +421,11 @@ void debugger_frame::EnableButtons(bool enable)
|
||||
m_btn_run->setEnabled(enable);
|
||||
}
|
||||
|
||||
void debugger_frame::ClearBreakpoints()
|
||||
{
|
||||
g_breakpoints.clear();
|
||||
}
|
||||
|
||||
debugger_list::debugger_list(debugger_frame* parent) : QListWidget(parent)
|
||||
{
|
||||
m_pc = 0;
|
||||
|
||||
@ -73,6 +73,7 @@ public:
|
||||
void DoUpdate();
|
||||
void WriteRegs();
|
||||
void EnableButtons(bool enable);
|
||||
void ClearBreakpoints();
|
||||
|
||||
void OnUpdate();
|
||||
|
||||
|
||||
@ -729,6 +729,8 @@ void main_window::OnEmuPause()
|
||||
void main_window::OnEmuStop()
|
||||
{
|
||||
debuggerFrame->EnableButtons(false);
|
||||
debuggerFrame->ClearBreakpoints();
|
||||
|
||||
ui->sysPauseAct->setText(Emu.IsReady() ? tr("&Start\tCtrl+E") : tr("&Resume\tCtrl+E"));
|
||||
ui->sysPauseAct->setIcon(icon_play);
|
||||
#ifdef _WIN32
|
||||
|
||||
Loading…
Reference in New Issue
Block a user