Skip to content

Nvim-gdb hangs on setting checkpoints. #208

@Alexey104

Description

@Alexey104

What are the steps to reproduce this issue?

  1. GdbStart gdb -q program
  2. start
  3. [[Optional]] Do something...
  4. checkpoint

What happens?

Nvim-gdb becomes completely unresponsive to user input. The terminal window shows the standard message checkpoint 1: fork returned pid <pid>, but gdb prompt doesn't appear after that, it is impossible to enter CLI commands anymore, and nvim-gdb commands (GdbNext, GdbStep...) do nothing. After closing nvim, gdb process is still running until force killed. It doesn't always happen, but most of the times.

What were you expecting to happen?

A checkpoint should be created, and nvim-gdb should continue to receive user input.

Any logs, error output, etc?

https://gist.github.com/Alexey104/7812486bb2f6df77140f3c7b5bce52de

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