// Update GUI void CCodeWindow::Update() { if (!codeview) return; codeview->Refresh(); UpdateCallstack(); UpdateButtonStates(); // Do not automatically show the current PC position when a breakpoint is hit or // when we pause since this can be called at other times too. //codeview->Center(PC); }
void Debugger_Disasm::UpdateDialog() { if(!isVisible()) return; ui->DisasmView->setAlign(cpu->getInstructionSize(0)); ui->DisasmView->redraw(); ui->RegList->redraw(); vfpudlg->Update(); UpdateBreakpoints(); UpdateThread(); UpdateDisplayList(); UpdateCallstack(); char tempTicks[24]; sprintf(tempTicks, "%lld", CoreTiming::GetTicks()); ui->debugCount->setText(QString("Ctr : ") + tempTicks); if(mainWindow->GetDialogMemory()) mainWindow->GetDialogMemory()->Update(); }