Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Neovim
  3. persistent-breakpoints.nvim

persistent-breakpoints.nvim

MITLua

Neovim plugin that saves nvim-dap breakpoints to file and automatically loads them when opening Neovim.

GitHubGitHub
258 stars15 forks0 contributors

What is persistent-breakpoints.nvim?

Persistent-breakpoints.nvim is a Lua plugin for Neovim that automatically saves nvim-dap debugging breakpoints to a file and reloads them when Neovim starts. It solves the problem of manually recreating breakpoints across editing sessions by providing persistent storage. The plugin is based on community code but includes performance optimizations and bug fixes.

Target Audience

Neovim users who utilize nvim-dap for debugging and want to preserve their breakpoints between sessions. It is particularly useful for developers working on long-term projects where debugging state needs to be maintained.

Value Proposition

Developers choose this plugin because it offers a stable, performance-optimized solution for breakpoint persistence without frequent updates. Its flexible configuration and compatibility with session managers make it a reliable addition to the nvim-dap ecosystem.

Overview

Neovim plugin for persistent breakpoints.

Use Cases

Best For

  • Preserving nvim-dap breakpoints across Neovim sessions without manual re-creation.
  • Debugging long-term projects where breakpoints need to persist between work sessions.
  • Integrating persistent breakpoints with session manager plugins via the always_reload option.
  • Setting and managing multiple breakpoint types (toggle, conditional, log) with dedicated commands.
  • Optimizing debugging workflows in Neovim with a lightweight, stable plugin focused on reliability.
  • Customizing breakpoint storage location and load events to fit specific project structures.

Not Ideal For

  • Developers not using nvim-dap for debugging in Neovim
  • Projects where breakpoints must load instantly on startup without session managers or file buffer dependencies
  • Teams seeking plugins with active, frequent updates and new feature additions
  • Environments where debugging involves files rarely opened in buffers, as breakpoints only set upon buffer load

Pros & Cons

Pros

Performance Optimized

Based on community nvim-dap code with improved performance and bug fixes, as highlighted in the README, ensuring efficient breakpoint handling.

Flexible Configuration

Offers customizable settings like save directory, load events, and callback functions through the setup options, allowing adaptation to various project structures.

Multiple Breakpoint Support

Supports toggle, conditional, and log breakpoints with dedicated commands, seamlessly integrating with nvim-dap for enhanced debugging workflows.

Session Manager Integration

Includes an always_reload option to work with session manager plugins, ensuring breakpoints load correctly in session contexts without manual intervention.

Cons

Buffer-Dependent Loading

Breakpoints are only set when the corresponding file is loaded into a buffer, which can delay debugging setup and requires file access, as noted in the issues section.

Working Directory Sensitivity

Breakpoints saved relative to the project root may fail to load if the working directory changes, often necessitating session managers for reliability, a limitation admitted in the README.

Infrequent Update Cycle

The plugin is designed to be stable with no frequent updates, which could mean slower response to new nvim-dap features or emerging bugs, as stated in the philosophy.

Frequently Asked Questions

Quick Stats

Stars258
Forks15
Contributors0
Open Issues2
Last commit1 year ago
CreatedSince 2022

Tags

#nvim-dap#editor-integration#neovim-plugin#development-tools#lua#debugging#persistence#breakpoints

Built With

N
Neovim
L
Lua

Included in

Neovim20.6k
Auto-fetched 13 hours ago

Related Projects

nvim-dapnvim-dap

Debug Adapter Protocol client implementation for Neovim

Stars7,198
Forks262
Last commit1 month ago
nvim-dap-uinvim-dap-ui

A UI for nvim-dap

Stars3,355
Forks126
Last commit10 days ago
nvim-dap-virtual-textnvim-dap-virtual-text

nvim-dap-virtual-text enhances the debugging experience in Neovim by showing variable values inline as virtual text while using nvim-dap. It integrates with nvim-treesitter to intelligently locate variable definitions and references, making debugging more visual and efficient. ## Key Features - **Inline Variable Display** — Shows variable values directly in the code as virtual text during debugging. - **Changed Value Highlighting** — Highlights variables that have changed since the last step with customizable colors. - **Exception Stop Reasons** — Displays the reason for debugger stops due to exceptions. - **Multi-language Support** — Works with any language supported by nvim-treesitter's locals.scm queries (C/C++, Python, Rust, Go, Java, etc.). - **Customizable Display** — Offers extensive configuration options for virtual text position, formatting, and behavior. - **Frame-aware Display** — Can show variable values from all stack frames, not just the current one. ## Philosophy The plugin follows a minimalistic approach, enhancing the debugging workflow without cluttering the interface, and leverages existing Neovim ecosystems like nvim-treesitter for intelligent parsing.

Stars1,079
Forks36
Last commit1 year ago
nvim-dap-viewnvim-dap-view

Visualize debugging sessions in neovim

Stars963
Forks34
Last commit15 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub