microsoft / microsoft/vscode-cpptools
Breakpoint in included header gives weird behaviour
Open
@pieandcakes is already working on this.
Since Feb 3, 2017.
debugger
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Mac OS Sierra
I set a breakpoint in a header I'm including in "main.cpp" called "Terrain.h". I run the program and hit that breakpoint. If I click on the breakpoint in the editor to remove it, an additional breakpoint appears in the Breakpoints list that's apparently in the file "Terrain.h ." ( a space and period/full stop after the actual name)
Clicking the two breakpoints in the Breakpoints brings me between two "instances" of the same file.
I've included a simple test case. Put a breakpoint in init() to reproduce.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.