You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Ability to print and log script backtraces
Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
|
||||
#include "core/doc_data.h"
|
||||
#include "core/io/resource.h"
|
||||
#include "core/object/script_backtrace.h"
|
||||
#include "core/object/script_instance.h"
|
||||
#include "core/templates/pair.h"
|
||||
#include "core/templates/safe_refcount.h"
|
||||
@@ -101,6 +102,8 @@ public:
|
||||
static void get_inheriters_list(const StringName &p_base_type, List<StringName> *r_classes);
|
||||
static void save_global_classes();
|
||||
|
||||
static Vector<Ref<ScriptBacktrace>> capture_script_backtraces(bool p_include_variables = false);
|
||||
|
||||
static void init_languages();
|
||||
static void finish_languages();
|
||||
static bool are_languages_initialized();
|
||||
|
||||
Reference in New Issue
Block a user