Skip to content
项目

关于

在 neovim 中可视化调试会话

开发工具

这些数字如何统计

可以做什么

  • Watch expressions
  • Navigate in the call stack
  • Manipulate breakpoints
  • Inspect and modify variables in scope

实测星标增长

24小时
0
7天
+11
15天
+31
1个月
+54

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
logo

nvim-dap-view

Modern debugging UI for neovim

https://github.com/user-attachments/assets/357bb05d-5645-4cfc-9975-97313c57e770

Introduction

A UI for nvim-dap[^1].

Installation

[!WARNING]
Requires neovim 0.11+

vim.pack.add({
 { src = "https://github.com/igorlfs/nvim-dap-view", version = vim.version.range("1.*")  },
})

Features

  • Watch expressions
watches view
  • Navigate in the call stack
threads view
  • Manipulate breakpoints
breakpoints view
  • Inspect and modify variables in scope
scopes view
  • REPL
repl view
  • Inline virtual text variables
image
  • Hover
image
  • And more!

Getting Started

Start a regular debugging session. When desired, you can use :DapViewOpen to start the plugin. You can switch to another section using the letter outlined in the 'winbar' (e.g., B for "Breakpoints"). Explore what you can do in each section by using g? to inspect the keymaps.

Once you're done debugging, you can close the plugin with :DapViewClose and then terminate your session as usual.

There's a lot more you can do: nvim-dap-view is highly customizable. To learn all the options, commands, tips and tricks, visit the full documentation on the website or use the built-in help doc via :help dap-view.txt.

Contributing

You can contribute in many ways:

  • If you have any questions, create a discussion.
  • If something isn't working, create a bug report.
  • If you have an idea, file a feature request. You can also go ahead and implement it yourself with a PR.
  • If you have some spare bucks, consider becoming a sponsor.

[^1]: the quasi canonical neovim implementation of DAP; the protocol that enhances text editors with IDE-like debugging capabilities

探索相关项目

加载中…