You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice how toggling the sidebar gets more and more slow (I'm toggling it at a fast speed but it doesn't respond)
nvim-dap-sidebar-2024-03-23_21.54.13.webm
Debug adapter version
js-debug-adapter 1.88.0
nvim nightly
Steps to Reproduce
Create and start a dummy react app (javascript)
npx create-react-app my-app
cd my-app
npm start
Reproduction steps on Neovim
Copy the repro.lua code snippet and open nvim with nvim --clean +'so repro.lua' and wait for nvim plugins to get automatically installed
Install js-debug-adapter with MasonInstall js-debug-adapter
Open the App.js file on my-app/src/App.js
Set a breakpoint on the return statement with lua require'dap'.toggle_breakpoint()
Start the debug session with lua require'dap'.continue()
Start toggling the sidebar with <leader>ds. Repeat this keymap and you will notice the slow down.
Debug adapter definition and debug configuration
Notice how toggling the sidebar gets more and more slow (I'm toggling it at a fast speed but it doesn't respond)
nvim-dap-sidebar-2024-03-23_21.54.13.webm
Debug adapter version
js-debug-adapter 1.88.0
nvim nightly
Steps to Reproduce
Create and start a dummy react app (javascript)
npx create-react-app my-app cd my-app npm start
Reproduction steps on Neovim
Copy the
repro.lua
code snippet and open nvim withnvim --clean +'so repro.lua'
and wait for nvim plugins to get automatically installedInstall js-debug-adapter with
MasonInstall js-debug-adapter
Open the
App.js
file onmy-app/src/App.js
Set a breakpoint on the return statement with
lua require'dap'.toggle_breakpoint()
Start the debug session with
lua require'dap'.continue()
Start toggling the sidebar with
<leader>ds
. Repeat this keymap and you will notice the slow down.Expected Result
Toggling shouldn't get more slow the more you execute it
Actual Result
Toggling the sidebar get more slow the more you use it
The text was updated successfully, but these errors were encountered: