-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Copy debug symbols to the zig build installation directory for debug builds #2848
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
Comments
Duplicate of #2300? |
@IanLilleyT thanks for the report. Can you turn this issue into an issue for your use case alone? What exactly are you trying to do? Let's start from there. |
Sure. I'm mainly concerned with the first bullet point and only added the other bullets after some minor brainstorming on irc. It looks like they might be duplicates of #2300. Anyway, when using I haven't been able to find a workaround for copying the pdb file either, because the zig cache folders can't be hardcoded in a script. |
@IanLilleyT can you confirm that the commit I pushed allows you to use the debugger? Now, when the target is windows, the install step will install the pdb file alongside the binaries. This can be disabled by setting |
Debugging works 😄 I also confirmed strip to true does not generate pdb |
Are you able to be a bit more specific how you got debug files to be emitted? I have a custom |
Bump. I'm also wondering how to do that. @dominictobias have you found the solution yet? |
Allow embedding debug symbols (where possible)?Pick debug symbols format for systems that support multipleMaybe other uses?Edited original post to be more specific to my problem
The text was updated successfully, but these errors were encountered: