Skip to content

Support for "Data Breakpoints" #16445

@chroberino

Description

@chroberino

While working with cdt-gdb-vscode 2.4.0, I found that data breakpoints work as expected in VS Code but are unavailable in Theia.

Please add support for data breakpoints in Theia’s debug framework, similar to how they are supported in VS Code.

Feature Description

VS Code provides support for data breakpoints through both UI and DAP integration. Specifically, it allows users to:

  • Use the “Add Data Breakpoint at Address” command from the Command Palette.
  • Right-click on a variable in the Debug view’s Variables or Watch sections to select:
    • Break When Value Changes
    • Break When Value Is Read
    • Break When Value Is Accessed
  • View, enable, disable, or remove data breakpoints in the Breakpoints view.
  • Persist data breakpoints across sessions (when supported by the debug adapter).

Implementing this functionality in Theia would ensure full compatibility with debug adapters that already support data breakpoints (e.g. cdt-gdb-vscode).

References

Metadata

Metadata

Labels

debugissues that related to debug functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions