Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] Print full source paths in the trace. #100266

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Dec 11, 2024

Adds full (or relative) paths to the trace, for consistency with other platforms.

Before:

[17] SceneTree::initialize() (in godot.macos.editor.dev.arm64) (scene_tree.cpp:572)
[18] OS_MacOS::run() (in godot.macos.editor.dev.arm64) (os_macos.mm:800)
[19] main (in godot.macos.editor.dev.arm64) (godot_main_macos.mm:84)

After, with debug_paths_relative=false:

[17] SceneTree::initialize() (in godot.macos.editor.dev.arm64) (/Volumes/Backup/Projects/godot/scene/main/scene_tree.cpp:572)
[18] OS_MacOS::run() (in godot.macos.editor.dev.arm64) (/Volumes/Backup/Projects/godot/platform/macos/os_macos.mm:800)
[19] main (in godot.macos.editor.dev.arm64) (/Volumes/Backup/Projects/godot/platform/macos/godot_main_macos.mm:84)

After, with debug_paths_relative=true:

[17] SceneTree::initialize() (in godot.macos.editor.dev.arm64) (./scene/main/scene_tree.cpp:572)
[18] OS_MacOS::run() (in godot.macos.editor.dev.arm64) (./platform/macos/os_macos.mm:800)
[19] main (in godot.macos.editor.dev.arm64) (./platform/macos/godot_main_macos.mm:84)

@bruvzg bruvzg added this to the 4.4 milestone Dec 11, 2024
@bruvzg bruvzg requested a review from a team as a code owner December 11, 2024 07:24
@akien-mga akien-mga merged commit 1424046 into godotengine:master Dec 11, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants