From a3b282c6ccb9958eb4445661ebbd8bb0dc3f228c Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Wed, 20 Jul 2022 21:17:56 +0800 Subject: [PATCH] Fix doc for print_debug --- modules/gdscript/doc_classes/@GDScript.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/gdscript/doc_classes/@GDScript.xml b/modules/gdscript/doc_classes/@GDScript.xml index 95a1a647d95..4aef4baa4a4 100644 --- a/modules/gdscript/doc_classes/@GDScript.xml +++ b/modules/gdscript/doc_classes/@GDScript.xml @@ -716,7 +716,12 @@ - Like [method print], but prints only when used in debug mode. + Like [method print], but includes the current stack frame when running with the debugger turned on. + Output in the console would look something like this: + [codeblock] + Test print + At: res://test.gd:15:_process() + [/codeblock]