microsoft / microsoft/vscode-cpptools
Remote debugging not possible
Offen
@pieandcakes arbeitet bereits daran.
Seit 05.11.2016.
debugger
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6.2k
- Forks
- 1.7k
- Ø Merge
- 14 Std. 46 Min.
- Gemergte PRs (30 T.)
- 61
Beschreibung
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"
}
]
}
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.