+1 vote

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?

Godot version 3.2.4 RC 2
in Engine by (238 points)

1 Answer

+2 votes
Best answer

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 :)

by (12,725 points)
selected by

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

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.