22 #ifndef DIRECTOR_DEBUGGER_H 23 #define DIRECTOR_DEBUGGER_H 25 #include "common/array.h" 26 #include "common/file.h" 27 #include "common/str.h" 28 #include "gui/debugger.h" 35 kBreakpointTypeNull = 0,
36 kBreakpointFunction = 1,
38 kBreakpointMovieFrame = 3,
39 kBreakpointVariable = 4,
40 kBreakpointEntity = 5,
42 kBreakpointProperty = 7,
47 BreakpointType type = kBreakpointTypeNull;
56 LEvent eventId = kEventNone;
60 bool varWrite =
false;
74 void eventHook(LEvent eventId);
75 void pushContextHook();
76 void popContextHook();
77 void builtinHook(
const Symbol &funcSym);
82 void entityReadHook(
int entity,
int field);
83 void entityWriteHook(
int entity,
int field);
86 bool cmdHelp(
int argc,
const char **argv);
88 bool cmdVersion(
int argc,
const char **argv);
89 bool cmdInfo(
int argc,
const char **argv);
90 bool cmdMovie(
int argc,
const char **argv);
91 bool cmdFrame(
int argc,
const char **argv);
92 bool cmdChannels(
int argc,
const char **argv);
93 bool cmdCast(
int argc,
const char **argv);
94 bool cmdNextFrame(
int argc,
const char **argv);
95 bool cmdNextMovie(
int argc,
const char **argv);
96 bool cmdPrint(
int argc,
const char **argv);
97 bool cmdRepl(
int argc,
const char **argv);
98 bool cmdBacktrace(
int argc,
const char **argv);
99 bool cmdDisasm(
int argc,
const char **argv);
100 bool cmdStack(
int argc,
const char **argv);
101 bool cmdScriptFrame(
int argc,
const char **argv);
102 bool cmdFuncs(
int argc,
const char **argv);
103 bool cmdActions(
int argc,
const char **argv);
104 bool cmdVar(
int argc,
const char **argv);
105 bool cmdMarkers(
int argc,
const char **argv);
106 bool cmdStep(
int argc,
const char **argv);
107 bool cmdNext(
int argc,
const char **argv);
108 bool cmdFinish(
int argc,
const char **argv);
110 bool cmdBpSet(
int argc,
const char **argv);
111 bool cmdBpMovie(
int argc,
const char **argv);
112 bool cmdBpFrame(
int argc,
const char **argv);
113 bool cmdBpEntity(
int argc,
const char **argv);
114 bool cmdBpProp(
int argc,
const char **argv);
115 bool cmdBpVar(
int argc,
const char **argv);
116 bool cmdBpEvent(
int argc,
const char **argv);
117 bool cmdBpDel(
int argc,
const char **argv);
118 bool cmdBpEnable(
int argc,
const char **argv);
119 bool cmdBpDisable(
int argc,
const char **argv);
120 bool cmdBpList(
int argc,
const char **argv);
122 bool cmdDraw(
int argc,
const char **argv);
123 bool cmdForceRedraw(
int argc,
const char **argv);
125 void bpUpdateState();
126 void bpTest(
bool forceCheck =
false);
128 bool lingoCommandProcessor(
const char *inputOrig);
129 bool lingoEval(
const char *inputOrig);
136 int _nextFrameCounter;
147 bool _bpCheckFunc =
false;
148 bool _bpCheckMoviePath =
false;
149 bool _bpNextMovieMatch =
false;
151 uint _bpMatchScriptId = 0;
155 bool _bpCheckPropRead =
false;
156 bool _bpCheckPropWrite =
false;
157 bool _bpCheckVarRead =
false;
158 bool _bpCheckVarWrite =
false;
159 bool _bpCheckEntityRead =
false;
160 bool _bpCheckEntityWrite =
false;
161 bool _bpCheckEvent =
false;
Definition: debugger.h:41
Definition: debugger.h:66
Definition: debugger.h:45