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

Dump a process without running first #2606

Open
kasperk81 opened this issue Feb 28, 2025 · 2 comments
Open

Dump a process without running first #2606

kasperk81 opened this issue Feb 28, 2025 · 2 comments

Comments

@kasperk81
Copy link

ciru dump -- <command>, my process crashes immediately so it's not feasible to trace it with pid and potentially lose vital information at the startup.

@ankushT369
Copy link

ankushT369 commented Mar 1, 2025

Can you elaborate your problem in more details ?

@kasperk81
Copy link
Author

ciru can dump the running process using pid. ciru dump <PID>, which is similar to gdb -p <PID>

i am looking for the other option as well where ciru would run the user command by itself and wait until it crashes before collecting the dump, so it doesn't miss anything at the app startup in the dumps, akin to gdb -- <command and its args>.

my app crashes in first few milliseconds, so it is not very convenient to pause the app, get its pid and feed it to ciru.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants