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

Trim file names in debug macros #4446

Open
2 tasks
aleks-f opened this issue Feb 8, 2024 · 0 comments
Open
2 tasks

Trim file names in debug macros #4446

aleks-f opened this issue Feb 8, 2024 · 0 comments
Assignees

Comments

@aleks-f
Copy link
Member

aleks-f commented Feb 8, 2024

Currently, the debug macros use __FILE__; aside from sometimes too long path strings, this macro also embeds full paths into the binary, which may be a concern in some circumstances.

  • __FILE__ should be replaced with Debugger::sourceFile, which trims the path and only leaves the file name.

  • check the binaries to verify that it works at compile time as intended

@aleks-f aleks-f added this to the Release 1.14.0 milestone Feb 8, 2024
@aleks-f aleks-f self-assigned this Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant