Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: After the breakpoint is completed, the repl does not refresh the screen by using dap.continue. #391

Open
chaozwn opened this issue Aug 16, 2024 · 2 comments

Comments

@chaozwn
Copy link
Contributor

chaozwn commented Aug 16, 2024

I love using dap-ui to debug code in various languages, but the dap-ui event seems to be a problem.

  1. not update repl after use require("dap").continue()

For a simple example, I set a breakpoint and if I run the next step with dap.continue(), it won't trigger the repl update, unless I re-enter this buffer, as the following video may show. About this I submitted a pr to fix this issue.

Screen.Recording.2024-08-16.at.10.43.35.mov
  1. not update repl after use require("dap").close(),unless I re-enter this buffer, I can only use this method now instead.
function()
  require("dap").close()
  local controls = require "dapui.controls"
  controls.refresh_control_panel()
end
Screen.Recording.2024-08-16.at.10.50.31.mov
@chaozwn
Copy link
Contributor Author

chaozwn commented Aug 16, 2024

#392

@sleeptightAnsiC
Copy link
Contributor

PR has been merged. Is this still a problem ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants