1 2 #pragma once 3 4 #include <memory> 5 6 #include "core/Cutter.h" 7 8 class PreferencesDialog; 9 10 namespace Ui { 11 class DebugOptionsWidget; 12 } 13 14 class DebugOptionsWidget : public QDialog 15 { 16 Q_OBJECT 17 18 public: 19 explicit DebugOptionsWidget(PreferencesDialog *dialog); 20 ~DebugOptionsWidget(); 21 22 private: 23 std::unique_ptr<Ui::DebugOptionsWidget> ui; 24 25 private slots: 26 void updateDebugPlugin(); 27 void updateStackAddr(); 28 void updateStackSize(); 29 void onDebugPluginChanged(const QString &index); 30 void on_esilBreakOnInvalid_toggled(bool checked); 31 }; 32