2018-06-14 11:49:22 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
2019-02-22 16:50:45 +00:00
|
|
|
#include "core/Cutter.h"
|
2018-06-14 11:49:22 +00:00
|
|
|
|
|
|
|
class PreferencesDialog;
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class DebugOptionsWidget;
|
|
|
|
}
|
|
|
|
|
|
|
|
class DebugOptionsWidget : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit DebugOptionsWidget(PreferencesDialog *dialog, QWidget *parent = nullptr);
|
|
|
|
~DebugOptionsWidget();
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::unique_ptr<Ui::DebugOptionsWidget> ui;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void updateDebugPlugin();
|
2018-06-15 13:07:18 +00:00
|
|
|
void updateDebugArgs();
|
2018-07-17 19:00:35 +00:00
|
|
|
void updateStackAddr();
|
|
|
|
void updateStackSize();
|
2018-06-14 11:49:22 +00:00
|
|
|
void on_pluginComboBox_currentIndexChanged(const QString &index);
|
2018-07-27 12:00:23 +00:00
|
|
|
void on_esilBreakOnInvalid_toggled(bool checked);
|
2018-06-14 11:49:22 +00:00
|
|
|
};
|