No stdout from remote target when debugging over a "target remote" pipe
@pieandcakes đang làm issue này rồi.
Từ ngày 18/2/2020.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Type: Debugger
gdb
- OS and Version: ubuntu 18.04 LTS
- VS Code Version: 1.41.1
- C/C++ Extension Version: 0.26.3
I don't know if it's the same as:
https://github.com/Microsoft/vscode-cpptools/issues/827
But as the issue was 2.5 years old I open a new one.
I'm unable to see gdbserver's output. The output is sent back to VSCode, so it's a parsing error.
I'm running my application through a "target remote" pipe in "customLaunchSetupCommands", as the docker container has no connectivity and I don't own the container. The relevant parts of my configuration:
"customLaunchSetupCommands": [
{
"description": "Pipe launch gdbserver",
"text": "target remote | docker exec -i <container> gdbserver - ${workspaceFolder}/<app>",
"ignoreFailures": false
},
{
"description": "Some apps include relative dirs",
"text": "cd ${workspaceFolder}",
"ignoreFailures": false
},
{
"description": "Stop at main",
"text": "b main",
"ignoreFailures": false
}
],
I have logging enabled:
"logging": {
"trace": true,
"traceResponse": true,
"engineLogging": true
},
I see in the logs that gdbserver is generating the output, it's just that it's not correctly parsed.e.g:
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (23145) ->&\" 4 FAILED TESTS\\n\"\n"},"seq":803}
1: (23145) ->&" 4 FAILED TESTS\n"
- Ngôn ngữ chính
- TypeScript
- Star
- 6.2k
- Fork
- 1.7k
- Merge trung bình
- 14 giờ 46 phút
- Pull request đã merge (30 ngày)
- 61
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/vscode-cpptools
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoft/vscode-cpptools#14787 ·
-
[Bug] cpptools fails to start on Ubuntu ARM64 due to missing execute permissions on shared libraries Đang mởbug fixed Language Service regression
microsoft/vscode-cpptools#14779 · 1 người được giao ·
-
Language Service more info needed
microsoft/vscode-cpptools#14778 · 1 bình luận · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 64/100
microsoft/vscode-cpptools#14769 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
microsoft/vscode-cpptools#14768 · 1 bình luận ·
Tất cả issue của microsoft/vscode-cpptools
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
area:tools bug good first issue help wanted priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
newrelic-experimental/preflight#793 · 1 bình luận ·
-
bug 🐞
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
BasedHardware/omi#15320 ·