Post

Daily Godot Tip #21: The print_debug function, in addition to printing out what you entered to print, also logs the current stack frame you printed from. This is useful to see where specific prints are happening #godot #gamedev #godottips

11 reposts62 likes

I didn't know what "current stack frame" meant, but I looked at the screenshot long enough to figure out that the debug statement prints: 1) which .gd file, 2) the line number in that file, and 3) the function name that the line is from. You're tips are very good. I appreciate this content.