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
Debug symbols not available despite following manual #51872
Comments
The separate debug files provided for qtscript are empty shells containing no actual debug symbols.
Probably qtScrip's build system already strips the libs aggressively before the fixupPhase saves the debug info in the separate output ? |
Also maybe you will find this article of interest: https://nixos.wiki/wiki/Debug_Symbols |
The Debug_Symbols article has educated me some. I've tried to read the derivation for the QtScript on my system, but it's missing:
|
afaik derivations don't always live on disk, sometimes they are only in the nix database. Does nix show-derivation still work ? |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
I think the problem is that So having Following the code through The documentation for |
I marked this as stale due to inactivity. → More info |
Issue description
I'd like to debug an application on NixOS. The application crashes in
libQt5Script.so.5
from the packageqtscript
. I've looked at the manual for adding debug symbols.Simply adding
environment.enableDebugInfo = true
does not give me the debug symbols.A second attempt is to use
packageOverrides
. I've explicitly putseparateDebugInfo = true;
in theqtscript
package. But it still does not letnixos-rebuild
install any debug info.This is the relevant fragment from
/etc/nixos/configuration.nix
:Technical details
The text was updated successfully, but these errors were encountered: