|
typedef AZStd::string | BreakpointId |
|
typedef bool(* | EnumClass) (const char *, const AZ::Uuid &, void *) |
|
typedef bool(* | EnumMethod) (const AZ::Uuid *, const char *, const char *, void *) |
|
typedef bool(* | EnumProperty) (const AZ::Uuid *, const char *, bool, bool, void *) |
|
typedef bool(* | EnumEBus) (const AZStd::string &, bool, bool, bool, void *) |
|
typedef bool(* | EnumEBusSender) (const AZStd::string &, const AZStd::string &, const AZStd::string &, const AZStd::string &category, void *) |
|
typedef AZStd::function< void(ScriptContextDebug *, const Breakpoint *)> | BreakpointCallback |
|
typedef AZStd::function< void(ScriptContextDebug *)> | ProcessDebugCmdCallback |
|
typedef AZStd::function< bool(const char *, ScriptDataContext &)> | EnumLocalCallback |
|
typedef AZStd::vector< CallstackLine, OSStdAllocator > | CallstackInfo |
|
|
| AZ_CLASS_ALLOCATOR (ScriptContextDebug, SystemAllocator) |
|
| ScriptContextDebug (ScriptContext &scriptContext, bool isEnableStackRecord=false) |
|
void | EnumRegisteredClasses (EnumClass enumClass, EnumMethod enumMethod, EnumProperty enumProperty, void *userData=NULL) |
|
void | EnumRegisteredGlobals (EnumMethod enumMethod, EnumProperty enumProperty, void *userData=NULL) |
|
void | EnumRegisteredEBuses (EnumEBus enumEBus, EnumEBusSender enumEBusSender, void *userData=NULL) |
|
void | StackTrace (char *stackOutput, size_t stackOutputSize) |
|
void | EnableBreakpoints (BreakpointCallback &cb) |
|
void | DisableBreakpoints () |
|
void | AddBreakpoint (Breakpoint &bp) |
|
void | RemoveBreakpoint (Breakpoint &bp) |
|
void | ConnectHook () |
|
void | DisconnectHook () |
|
void | EnableDebugCmdProcess (ProcessDebugCmdCallback &cb) |
| Register a callback that will be called when "ProcessDebugCommands" is called.
|
|
void | DisableDebugCmdProcess () |
|
void | ProcessDebugCommands () |
|
void | EnableStackRecord () |
| Enable detailed stack recording (more detailed than the default Script one), of course this will cause a performance penalty.
|
|
void | DisableStackRecord () |
|
void | EnableCodeStackRecord () |
| Enable C++ stack recoding (this can be slow on certain platforms and configurations). It's off by default.
|
|
void | DisableCodeStackRecord () |
|
void | EnumLocals (EnumLocalCallback &cb) |
| Enumerate locals variables. This can be called only from a breakpoint callback.
|
|
void | StepInto () |
| Step into current instruction. This can be called only from a breakpoint callback and you must return from it (until in breaks again)
|
|
void | StepOver () |
| Step over current instruction. This can be called only from a breakpoint callback and you must return from it (until in breaks again)
|
|
void | StepOut () |
| Step out current instruction. This can be called only from a breakpoint callback and you must return from it (until in breaks again)
|
|
const CallstackInfo & | GetCallstack () const |
|
bool | GetValue (DebugValue &value) |
|
bool | SetValue (const DebugValue &value) |
|
Debug functionality for a script context (VM). This context will be generated automatically once you enable the Debugging in the ScriptContext. Use this class to obtain registered classes, better callstacks, breakpoints, etc.