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

Debugger interrupt handling #339

Merged
merged 5 commits into from
Nov 13, 2024
Merged

Conversation

bazsi
Copy link
Member

@bazsi bazsi commented Oct 13, 2024

This is a continuation o #327 to add interrupt handling to the debugger. At the moment it only works on the original console, syslog-ng-ctl attach debugger does not propagate ctrl+c signals yet.

@bazsi bazsi force-pushed the debugger-interrupt-handling branch from 968d0ab to 677d350 Compare October 27, 2024 11:30
bazsi and others added 4 commits November 13, 2024 14:46
As long as we have a single signal registrations, these will be executed
anyway. IV_SIGNAL_FLAG_EXCLUSIVE are for registrations that want
to suppress previous registrations.

I intend to use SIGINT in the debugger to break into the debugger to
allow executing commands even outside of the pipeline (e.g. setting
breakpoints for the future).

Signed-off-by: Balazs Scheidler <[email protected]>
@alltilla alltilla force-pushed the debugger-interrupt-handling branch from 677d350 to 295876c Compare November 13, 2024 14:24
@alltilla
Copy link
Member

Rebased to main and pushed 2 commits that fix the help text.

alltilla
alltilla previously approved these changes Nov 13, 2024
@alltilla alltilla merged commit 174077f into axoflow:main Nov 13, 2024
22 checks passed
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