Debugging Tips

From Thrive Developer Wiki
Revision as of 17:26, 15 September 2019 by Hhyyrylainen (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Here are some tips for debugging thrive.

GDB

You can print the AngelScript callstack if you have selected a frame where "this" refers to an AngelScript context:


p Leviathan::ScriptExecutor::PrintCallstack(this, *Leviathan::Logger::LatestLogger)