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

Restore basic debugging support on Linux. #624

Conversation

Apprentice-Alchemist
Copy link
Contributor

It doesn't work perfectly yet (for example stepping in/out is still broken), but at least breakpoints and breaking on exceptions works again.

@ncannasse
Copy link
Member

That seems overly complex. Why allowing several debuggers to connect ?

@ncannasse ncannasse closed this Sep 23, 2023
@rcstuber
Copy link
Contributor

I think we should reopen and discuss this PR!
It looks valid for future Hashlink on ARM which is currently a work-in-progress by @Apprentice-Alchemist

@Apprentice-Alchemist Apprentice-Alchemist deleted the bugfix/linux-debugger branch April 8, 2024 09:33
@Jarrio
Copy link

Jarrio commented Apr 10, 2024

That seems overly complex. Why allowing several debuggers to connect ?

It's been a while since I wrote the code, but iirc the whole background thread and condition variable dance is needed because there's no way (that I found) to waitpid with a timeout.

@Apprentice-Alchemist
Copy link
Contributor Author

That seems overly complex. Why allowing several debuggers to connect ?

It's been a while since I wrote the code, but iirc the whole background thread and condition variable dance is needed because there's no way (that I found) to waitpid with a timeout.

@Jarrio I was talking about my new implementation, not this one.

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.

4 participants