microsoft / microsoft/vscode-cpptools
Remote debugging not possible
Aperta
@pieandcakes ci sta già lavorando.
Dal 5/11/2016.
debugger
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
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"
}
]
}
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.