How do I find the source code for GDScript functions?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Error7Studios

I’m learning C++, so I’d like to look at the C++ source code for GDScript functions.
When you get an error, the debugger will show you the C++ line number where the error occurred.
That path/line number is what I’d like to get for all GDScript functions so that I can quickly find the source code.
How would I do this?
Thanks.

:bust_in_silhouette: Reply From: Calinou

In the 3.2 branch, many global scope GDScript functions are defined in modules/gdscript/gdscript_functions.cpp.

PS: Don’t hesitate to join the Godot Contributors Chat for engine development questions :slight_smile:

Thanks! :smiley: I didn’t know about the chat group. I’ll check it out!

Error7Studios | 2021-02-22 14:13