Skip to content

Make it easier to enable/disable debugging #2279

Open
@MagnusS

Description

@MagnusS

When debugging it would be useful to have a single option for enabling symbols and debugging information and avoid stripping the binary. Now that stacktraces work again it can also be useful with symbols from libcxx and musl. One solution could be to use dontStrip and enableDebugging in nix to control it, see https://nixos.wiki/wiki/Debug_Symbols.

Some debugging options I have found are listed below.

In cmake:

Musl and musl-unpatched uses --enable-debug

There could be more :-)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions