Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to launch debug servers in a separate process #4722

Closed
valeros opened this issue Aug 17, 2023 · 0 comments
Closed

Add ability to launch debug servers in a separate process #4722

valeros opened this issue Aug 17, 2023 · 0 comments

Comments

@valeros
Copy link
Member

valeros commented Aug 17, 2023

Currently, PlatformIO starts and communicates with debug servers via a PIPE which is configured directly in the GDB configuration .pioinit file, for example:

target extended-remote | "C:/.platformio/packages/tool-openocd/bin/openocd.exe" -c "C:/.platformio/packages/tool-openocd/bin/openocd.exe" -c "gdb_port pipe; tcl_port disabled; telnet_port disabled" -f "C:/.platformio/packages/tool-openocd/openocd/scripts/board/st_nucleo_f4.cfg"

This approach doesn't work with GDB v12 which apparently has a bug in parsing the debug server command that fails the entire debug session. It'd be great to have ability to launch a debug server in a separate process as a workaround for such cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants