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

Print PID when you create a new Llmp Sender. #1898

Merged
merged 3 commits into from
Mar 5, 2024
Merged

Conversation

tokatoka
Copy link
Member

@tokatoka tokatoka commented Feb 29, 2024

Point 3 here #1850
#1850 (comment)

While it is not possible to swap client_id with pid, because it is not no-std friendly.
I instead simply printed the pid and client id on the creation of LlmpSender.

Without this kind of info, it is literally IMPOSSIBLE to find the correspondence between the client_id and the pid, making it impossible to attach with gdb (because you don't know pid!)

@domenukk
Copy link
Member

domenukk commented Mar 4, 2024

Needs a cargo fmt

@tokatoka tokatoka merged commit 1a0e692 into main Mar 5, 2024
26 checks passed
@tokatoka tokatoka deleted the add_more_llmp_debug_log branch March 5, 2024 15:02
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

Successfully merging this pull request may close these issues.

2 participants