Skip to content
Discussion options

You must be logged in to vote

Hey,

In that setup, when all threads attempt to load their locals simultaneously, stepping through code can become very slow, and the UI may take a long time to populate variables (multiple seconds to more than a minute).

I need to understand your setup a little better. There could be multiple things at play here. Without the specifics, these are just guesses:

  1. Can you reproduce the slowness without nvim-dap-ui? By default, nvim-dap injects the variables for each scope within the stopped thread. You mention this issue only happens in a multi-thread setup, but this could be the underlying cause.
  2. Some scopes are labeled as expensive. These are "ignored" by nvim-dap, nvim-dap-ui and nvim-d…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by etiennecollin
Comment options

You must be logged in to vote
2 replies
@igorlfs
Comment options

@igorlfs
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants