microsoft / microsoft/vscode-cpptools

Hit Count Breakpoint support with LLDB

Open
#13,054 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

debugger Feature Request help wanted
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Making a separate issue for Hit count breakpoints not working in LLDB as mentioned here.

This feature is supported in VS Code but not the extension, so the hit count breakpoint is available to a user, but does not work. In the example below, the breakpoint is just ignored by the debugger. This is using clang++ on a physical mac machine debugging with LLDB (without cppdbg) and using cpptools version 1.22.11. The code creates a few basic vectors and arrays.

Image

We need to disable/grey out hit count breakpoints in the UI until a time when we support them.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the hit count breakpoint behavior with LLDB in the VS Code C/C++ extension, then trace how the breakpoint option is exposed in the UI. Done means hit count breakpoints are disabled or greyed out when using LLDB until support exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.