struct Breakpoint
Represents a Break Rule data. It is used in the debugger.
<BreakpointEvaluator> DebuggerInterface
Breakpoint | Represents a Break Rule data. |
Functions | |
Evaluate | Evaluates break condition. |
Parse | Parses a condition string. |
ToString | Makes the Break Rule readable by putting it into a string. |
BreakpointsEvaluator | Holds and evaluates break conditions |
Variables | |
breakpoints | The list of breakpoints (break rules) currently active. |
breakpointHitID | If some rule causes a break, its ID will be stored here. |
memory | A pointer to the memory of the GBA. |
cpu | A pointer to the cpu of the GBA. |
Functions | |
Evaluate | Evaluates all the breakrules. |
DebuggerInterface | This class handles ncurses to draw and update the logic of the debugger terminal interface |
Functions | |
DebuggerInterface | Initializes the interface. |
SetRedrawAll | Sets the right flags to make a full refresh happen at the next Draw call. |
Initialize | Initializes ncurses and the windows fields in the interface. |
Resize | Resizes windows to fill the available area. |
Update | Updates the logic of the debugger. |
Draw | Draws all the windows in the terminal. |
struct BreakpointsEvaluator
Holds and evaluates break conditions
Variables | |
breakpoints | The list of breakpoints (break rules) currently active. |
breakpointHitID | If some rule causes a break, its ID will be stored here. |
memory | A pointer to the memory of the GBA. |
cpu | A pointer to the cpu of the GBA. |
Functions | |
Evaluate | Evaluates all the breakrules. |
class DebuggerInterface
This class handles ncurses to draw and update the logic of the debugger terminal interface
GBA CPU Memory BreakpointsEvaluator Breakpoint
Functions | |
DebuggerInterface | Initializes the interface. |
SetRedrawAll | Sets the right flags to make a full refresh happen at the next Draw call. |
Initialize | Initializes ncurses and the windows fields in the interface. |
Resize | Resizes windows to fill the available area. |
Update | Updates the logic of the debugger. |
Draw | Draws all the windows in the terminal. |
Represents a Break Rule data.
struct Breakpoint
Evaluates break condition.
bool Evaluate( Memory * mem, CPU * cpu, int address )
Parses a condition string.
bool Parse( char * str )
Makes the Break Rule readable by putting it into a string.
void ToString( char * str )
Holds and evaluates break conditions
struct BreakpointsEvaluator
The list of breakpoints (break rules) currently active.
std::vector<Breakpoint> breakpoints
If some rule causes a break, its ID will be stored here.
int breakpointHitID
A pointer to the memory of the GBA.
Memory* memory
A pointer to the cpu of the GBA.
CPU* cpu
Evaluates all the breakrules.
bool Evaluate( int address )
This class handles ncurses to draw and update the logic of the debugger terminal interface
class DebuggerInterface
Initializes the interface.
DebuggerInterface( Memory * _mem, CPU * _cpu, bool startTrace = false )
Sets the right flags to make a full refresh happen at the next Draw call.
void SetRedrawAll()
Draws all the windows in the terminal.
void Draw()
Initializes ncurses and the windows fields in the interface.
void Initialize()
Resizes windows to fill the available area.
void Resize()
Updates the logic of the debugger.
bool Update( int cycles )
This is the class representing the entire device.
class GBA
This class represents an ARM7TDMI CPU running at 16.78MHZ with 32 bit registers and two execution modes (ARM32bit, THUMB16bit).
class CPU
Represents the entire address space of the GBA.
struct Memory