Skip to content

bug: cannot use dap.up() after jumping to frame from threads view #61

@przepompownia

Description

@przepompownia

Did you check docs and existing issues?

  • I have read all the plugin docs
  • I have searched the existing issues
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.12.0-dev-347+gbee45fc0e7

Operating system/version

Debian Sid

Describe the bug

E5108: Lua: ...onfig/nvim/pack/plugins/opt/nvim-dap/lua/dap/session.lua:2000: id of current frame must be present in frames
stack traceback:
	[C]: in function 'assert'
	...onfig/nvim/pack/plugins/opt/nvim-dap/lua/dap/session.lua:2000: in function '_frame_delta'
	...rctgx/.config/nvim/pack/plugins/opt/nvim-dap/lua/dap.lua:901: in function 'up'
	[string ":lua"]:1: in main chunk

I get it with the below steps.

Steps To Reproduce

  1. stop the adapter on some breakpoint
  2. open threads section and jump to some not current frame by <CR>
  3. call :lua require'dap'.up()

Expected Behavior

:lua require'dap'.up() works in such repro.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions