Debugger cannot pass arguments to the internal console correctly
@pieandcakes đang làm issue này rồi.
Từ ngày 24/9/2019.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Type: Debugger
VSCode Version: 1.36.1
C/C++: 0.25.1
OS Version: Windows 7
Hello everybody,
I am currently debugging an application with the following debug configuration:
{
"name": "Debug SIM -c -meas -b -s -1",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/tools/sim/sim.exe",
"windows": {
"args": [
"-c",
"-d",
"${file}",
"-b",
"-s",
"-1"
]
},
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"externalConsole": true,
"MIMode": "gdb",
"miDebuggerPath": "${workspaceFolder}/tools/mingw64/bin/gdb.exe",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
Unfortunately, I can only debug using the external console ("externalConsole": true).
If I try to do the same in the internal console ("externalConsole": false), the debugger passes incorrectly three additional arguments at the end, that were not supposed to be passed. These are "2>CON", "1>CON" and "<CON".
So the array of the passed arguments looks in the following way:
Of course, I could modify my application in the way it would ignore the arguments, but I am not sure, if these additional arguments at the end were a developer's intention and not a bug:)
Thank you in advance!!!
- 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 ·