Skip to content

[BUG] Debugger crashes when breakpoint exists #309

@paulkre

Description

@paulkre

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Running :lua require 'dap'.continue() with Launch Flutter will result in a crash with the following error:

Error retrieving stack traces: type 'double' is not subtype of type 'int' in type cast

(It works in VSCode)

Expected Behavior

The debugger runs correctly and stops at the breakpoint.

Steps To Reproduce

  1. Create a new project with flutter create my_app
  2. Toggle a breakpoint in the main function
  3. Run :lua require 'dap'.continue() and select Launch Flutter

Environment

- OS: macOS 14.0
- Flutter version: 3.16.0
- Is flutter in $PATH: yes
- neovim version: 0.9.2

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions