microsoft / microsoft/vscode-cpptools

The gdb bt line is not incorrect when use remote pipe launch or attach with gdb debug

Open
#6,625 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

debugger more info needed
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:
image
conntinue:
it's normal hit in line 24
image

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

here the example code:
test.zip

the cpptool version:
image
the vscode version:
image

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.