Skip to content

bug: cannot invoke the go runtime's default goroutine dump behavior #498

@knz

Description

@knz

When something goes wrong in a go process (e.g. infinite loop, synchronization deadlock etc) it's useful to get a goroutine/stack dump using the key combination Ctrl+\ , which sends SIGQUIT to the process.

That's also a nice way to get a breakpoint if the debugger is attached.

However, bubbline disables this terminal behavior and Ctrl+\ becomes ineffective.

In bubbline, we're solving this by using this key handler.

However this is cumbersome, and should be handled inside bubbletea directly, perhaps controlled by a top level program option.

cc @muesli

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions