You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Merge pull request #91006 from reduz/live-backtrace
Ability to print and log script backtraces
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