2024-07-30 11:42:36 +00:00
|
|
|
// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team
|
|
|
|
// SPDX-License-Identifier: GPL-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();
|
2024-10-02 15:22:12 +00:00
|
|
|
void onAnalyse();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void showEvent(QShowEvent* event);
|
|
|
|
void hideEvent(QHideEvent *event);
|
2022-12-24 06:51:44 +00:00
|
|
|
|
|
|
|
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);
|
|
|
|
};
|