You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS and version of remote machine (if applicable): Linux (yocto) kernel 5.15.71
GDB / LLDB version: gdbserver 11.2
Bug Summary and Steps to Reproduce
Bug Summary:
When remotely debugging, vscode is unable to restart gdbserver when clicking the "restart" icon on the debug menu.
The remote gdbserver exits and is never relaunched. It must be relaunched manually over SSH to re-initate a debugging session.
This extension should restart gdbserver on the remote.
Steps to reproduce:
Start gdbserveron the remote gdbserver :<port> <path/to/bin>
Connect to gdbserver from vscode
Debug
Click the "Restart" button in the debugger menu
gdbserver exits on the remote and vscode displays the attached error.
Unable to start debugging. Unexpected GDB output from command "-target-select remote <ip>:<port>". Remote communication error. Target disconnected.: Connection reset by peer.
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
[Inferior 1 (process 22216) killed]
The program '/home/<user>/<workdir>/bld/<bin>' has exited with code 0 (0x00000000).
Other Extensions
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Did you try that bindto thing. Maybe it works for you. Specify hostname or IPv4 address on which to listen for incoming TCP/IP connections. By default, OpenOCD will listen on the loopback interface only. If your network environment is safe, bindto 0.0.0.0 can be used to cover all available interfaces. Simply add it to your config file and let me know if it works.
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
When remotely debugging, vscode is unable to restart
gdbserver
when clicking the "restart" icon on the debug menu.The remote
gdbserver
exits and is never relaunched. It must be relaunched manually over SSH to re-initate a debugging session.This extension should restart
gdbserver
on the remote.Steps to reproduce:
gdbserver
on the remotegdbserver :<port> <path/to/bin>
gdbserver
from vscodegdbserver
exits on the remote and vscode displays the attached error.Unable to start debugging. Unexpected GDB output from command "-target-select remote <ip>:<port>". Remote communication error. Target disconnected.: Connection reset by peer.
Debugger Configurations
Debugger Logs
Other Extensions
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: