microsoft / microsoft/vscode-cpptools
Remote debugging not possible
未关闭
@pieandcakes 已经在做这个了。
开始于 2016年11月5日。
debugger
- 主要语言
- TypeScript
- 星标
- 6.2k
- 派生
- 1.7k
- 平均合并
- 14 小时 46 分钟
- 30 天内合并 PR
- 61
描述
Trying to attach to a GDB server with no luck. All I want is to connect to the GDB server, run target remote localhost:4444 and start sending some monitor commands.
As soon as I uncomment miDebuggerServerAddress I get
Unable to start debugging. Cannot access a disposed object.
Also, why am I required to specify a process id? I am trying to debug on a embedded target, so my GDB server, that I run through, speaks with it over JTAG. Which process id is referred to?
{
"version": "0.2.0",
"configurations": [
{
"name": "C++ Attach",
"type": "cppdbg",
"request": "attach",
"program": "${workspaceRoot}/Sw/A_XMC/out/use/A_Myriad_A_6_13.elf",
"processId": "${command.pickProcess}",
"MIMode": "gdb",
// "miDebuggerServerAddress": "localhost:4444",
"miDebuggerPath": "C:/dev/ELF/GDB/gdb.exe"
}
]
}
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。