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

alley: Debugging options for running program under 'gdb' or 'valgrind' (static path) #18

Open
dtzWill opened this issue Feb 14, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@dtzWill
Copy link
Member

dtzWill commented Feb 14, 2018

Overview

alley runs allexes transparently, which is great but can make debugging failures a big difficult.
It might be useful to add simple flags that tell alley to use the given execution wrapper when invoking a static binary,
to enable testing the code with gdb or valgrind.

While this does expose the cache path, for debugging purposes I think this is okay (and anything that breaks as a result is the developer's responsibility).

What about on the JIT Path?

JIT path gdb should already work, kind-of maybe. valgrind might not like musl-based software by default, not sure.

@dtzWill dtzWill added the enhancement New feature or request label Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant