-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathdebugger.moc.hpp
More file actions
94 lines (82 loc) · 2.17 KB
/
Copy pathdebugger.moc.hpp
File metadata and controls
94 lines (82 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
class Debugger : public Window {
Q_OBJECT
public:
QMenuBar *menu;
QMenu *menu_tools;
QAction *menu_tools_breakpoint;
QAction *menu_tools_memory;
QAction *menu_tools_propertiesViewer;
QMenu *menu_ppu;
QAction *menu_ppu_tileViewer;
QAction *menu_ppu_tilemapViewer;
QAction *menu_ppu_oamViewer;
QAction *menu_ppu_cgramViewer;
QMenu *menu_misc;
QAction *menu_misc_clear;
QAction *menu_misc_cacheUsage;
QAction *menu_misc_saveBreakpoints;
QAction *menu_misc_loadDefaultSymbols;
QAction *menu_misc_saveSymbols;
QAction *menu_misc_showHClocks;
QAction *menu_misc_options;
QAction *menu_misc_editColors;
QVBoxLayout *layout;
QSplitter *consoleLayout;
QTextEdit *console;
QToolBar *toolBar;
QToolButton *runBreak;
QToolButton *stepInstruction;
QToolButton *stepOver;
QToolButton *stepOut;
QToolButton *stepToVBlank;
QToolButton *stepToHBlank;
QToolButton *stepToNMI;
QToolButton *stepToIRQ;
QToolButton *traceMask;
class DebuggerView *debugCPU;
class DebuggerView *debugSFX;
class DebuggerView *debugSA1;
class DebuggerView *debugSMP;
class DebuggerView *debugSGB;
QTabWidget *editTabs;
class SymbolMap *symbolsCPU;
class SymbolMap *symbolsSFX;
class SymbolMap *symbolsSA1;
class SymbolMap *symbolsSMP;
class SymbolMap *symbolsDSP;
class SymbolMap *symbolsSGB;
void modifySystemState(unsigned);
void echo(const char *message);
void event();
void autoUpdate();
Debugger();
public slots:
void hide();
void clear();
void synchronize();
void frameTick();
void toggleRunStatus();
void stepAction();
void stepOverAction();
void stepOutAction();
void stepToVBlankAction();
void stepToHBlankAction();
void stepToNMIAction();
void stepToIRQAction();
void createMemoryEditor();
void refreshDebuggerViews();
void refreshMemoryEditors();
protected:
void closeEvent(QCloseEvent *event);
private:
inline void switchWindow();
unsigned frameCounter;
string defaultSymbolsCPU;
string defaultSymbolsCPUWithSA1;
string defaultSymbolsCPUWithSFX;
string defaultSymbolsSMP;
string defaultSymbolsDSP;
string defaultSymbolsSA1;
string defaultSymbolsSGB;
};
extern Debugger *debugger;