microsoft / microsoft/vscode-cpptools
The gdb bt line is not incorrect when use remote pipe launch or attach with gdb debug
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
OS: Windows 10
remote Os: centos 7.2 |centos 8.0
debugger:gdb
It's normal hit in while loop:

conntinue:
it's normal hit in line 24

it's not normal hit in line 27, because it die while loop:

here the example code:
test.zip
the cpptool version:

the vscode version:

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.
Research direction
Start by reproducing the remote pipe launch or attach scenario described for GDB on CentOS from Windows 10, using the example in test.zip. Compare the expected loop stops with the reported stop at line 27 and inspect how the extension consumes GDB backtrace or stop-location data. Done means the debugger reports the correct source line without incorrectly leaving the loop.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100