microsoft / microsoft/vscode-cpptools

LLDB: Deleting function breakpoint through the VSCode UI doesn't actually delete the function breakpoint

Open
#2,316 0 comments 1 reaction 1 assignee View on GitHub

@pieandcakes is already working on this.

Since Jul 24, 2018.

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

Description

Type: Debugger

Describe the bug

  • OS and Version: macOS 10.13.3
  • VS Code Version: 1.25.1
  • C/C++ Extension Version: 0.17.7
  • Other extensions you installed (and if the issue persists after disabling them): XML Formatter, TSLint, SQL Server (yes it still reproes after disabling other extensions
  • When disabling or removing function breakpoints through the UI the actual breakpoint(s) aren't removed and LLDB still breaks on them.

To Reproduce

  • Add a function breakpoint (e.g. "myMethod")
  • do "-exec br list" and verify that you have one or multiple breakpoints to methods matching "myMethod"
  • Right click the function breakpoint for "myMethod" and remove it
  • do "-exec br list"
    Expected: no breakpoints for myMethod
    Actual: breakpoints for myMethod are still around.
    Note: I set the function breakpoints in a vague way (e.g. I entered "myMethod" even though the full signature might be "void myMethod(int i)"

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.