Skip to content
Discussion options

You must be logged in to vote

Is there a way to customize how dap-view shows a stack trace element when hitting enter on a stack trace line in the Threads view?

Yes! Check the FAQ

The TLDR is that you can use nvim-dap-view's switchbuf setting (which is based on :help 'switchbuf').

When I press enter on a particular line it is opened in a new window if it's not the current file.

The default behavior is to:

  1. Search for the requested buffer on any tab*
  2. If the buffer could not be found, try to use the last window (if it's valid)
  3. Else, create a new "top-level" split (a new window on "top" of every other window in the current tab)

I think that what you're describing might be neovim switching tabs (i.e., behavior 1). Th…

Replies: 3 comments 5 replies

Comment options

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

@igorlfs
Comment options

Answer selected by igorlfs
Comment options

You must be logged in to vote
0 replies
Comment options

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

@NickJAllen
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