microsoft / microsoft/vscode-cpptools

[C++/Win64]: breakpoints markers (red bullets on the left of the editor pane) disappear while debugging step by step

Open
#753 2 comments 0 reactions 1 assignee View on GitHub

@pieandcakes is already working on this.

Since May 22, 2017.

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

Description

Environment:

  • tool-chain: C++ tool-chain that comes with Visual Studio 2015.
  • VSCode 1.12.2
  • Windows 10.

Steps to reproduce:

  1. Add a breakpoint somewhere in the code
  2. Start debugging, and wait until the breakpoint is hit.

Expected result: The breakpoint from step 1 should be visible during the debugging sessions (while we are in the Debugger view).

Actual result: The breakpoint is only seen while we are in Editor view. In Debugger view it disappears. Please note that this issue happens only if we are during a debugging session (we are attached to the process being debugged). If we just switch between the Editor/Debuger views while editing the code, the breakpoints are always seen.

Consequence: If we want to delete that breakpoint while we are debugging by pressing F9 on the same line where it was added, a new breakpoint will be added on the same line! (instead of deleting the old one).

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.