Skip to content

Way to break when using a piped input #80

Description

@GanbaruTobi

Hello,

my program takes input via a pipe, for example:

cat input | heaptrace ./program

This works without --break. When i try to --break, gdb instantly takes the input as commands (probably the remaining of input), and does quit out from the debugger.
Is there a way to keep the debugger alive, or to not parse the piped input as gdb commands?
Normaly there would be the run < input command in gdb, but this is not realy the value which would be provided by heaptrace breakpoints.

Thanks for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions