Skip to content

Conversation

@aesereht
Copy link

Script pointing the top stack to get script name, function and line.

Script pointing the top stack to get script name, function and line
@Qubus0 Qubus0 changed the base branch from main to development August 24, 2023 15:14
@KANAjetzt KANAjetzt added the enhancement New feature or request label Aug 25, 2023
@KANAjetzt KANAjetzt added this to the v6.3.0 milestone Aug 25, 2023
@KANAjetzt
Copy link
Member

KANAjetzt commented Aug 27, 2023

Thank you for this PR! 🥇

The logs can be sometimes a bit confusing, but in most cases its very helpful.

Not so helpful:

WARNING ModLoader:Deprecated: DEPRECATED: The mod_main.gd _init argument (modLoader = ModLoader) is deprecated. Remove it from your _init to avoid crashes in the next major version. (since version 6.1.0)
Problem File - Source:res://addons/mod_loader/mod_loader.gd - Function:_init - Line:65

Helpful:

WARNING ModLoader:Deprecated: DEPRECATED: The var "mod_data" was removed, use "ModLoaderMod.get_mod_data_all()" instead (since version 6.0.0)
Problem File - Source:res://mods-unpacked/otDan-BetterModList/extensions/ui/menus/title_screen/title_screen_menus.gd - Function:_ready - Line:7

Would be nice if we could move the origin of the deprecation warning to the top of the debugger stack.
image

So the mod dev only gets the deprecation error message and the origin in the debugger.

@KANAjetzt KANAjetzt added the 3.x label Nov 24, 2024
@KANAjetzt KANAjetzt modified the milestones: 3.x - v6.3.0, 3.x - v6.x Jan 9, 2025
@KANAjetzt KANAjetzt deleted the branch GodotModding:development June 11, 2025 07:22
@KANAjetzt KANAjetzt closed this Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants