2023-12-22 11:57:49 +00:00
|
|
|
// SPDX-FileCopyrightText: 2002-2023 PCSX2 Dev Team
|
|
|
|
// SPDX-License-Identifier: LGPL-3.0+
|
2022-12-24 06:51:44 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "CpuWidget.h"
|
|
|
|
|
|
|
|
#include "ui_DebuggerWindow.h"
|
|
|
|
|
|
|
|
class DebuggerWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
DebuggerWindow(QWidget* parent);
|
|
|
|
~DebuggerWindow();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void onVMStateChanged();
|
|
|
|
void onRunPause();
|
|
|
|
void onStepInto();
|
|
|
|
void onStepOver();
|
|
|
|
void onStepOut();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::DebuggerWindow m_ui;
|
|
|
|
QAction* m_actionRunPause;
|
|
|
|
QAction* m_actionStepInto;
|
|
|
|
QAction* m_actionStepOver;
|
|
|
|
QAction* m_actionStepOut;
|
|
|
|
|
|
|
|
CpuWidget* m_cpuWidget_r5900;
|
|
|
|
CpuWidget* m_cpuWidget_r3000;
|
2023-10-15 16:44:37 +00:00
|
|
|
|
|
|
|
void setTabActiveStyle(BreakPointCpu toggledCPU);
|
|
|
|
};
|