Solved
How to hot-plug debugger to STM32 using VS Code
Hi, how do I configure launch.json to use hot plug?
Hi, how do I configure launch.json to use hot plug?
Hi
Here the debug configuration to use hot plug:
{
"type": "stlinkgdbtarget",
"request": "launch",
"name": "STM32Cube: Launch ST-Link GDB Server",
"origin": "snippet",
"cwd": "${workspaceFolder}",
"preBuild": "${command:st-stm32-ide-debug-launch.build}",
"serverReset": "None",
"imagesAndSymbols": [
{
"symbolFileName": "${command:st-stm32-ide-debug-launch.get-projects-binary-from-context1}"
}
]
}The serverReset attribute is set to None (to avoid reset at startup)
Define only symbolFileName in the imagesAndSymbols to load only the symbols
The runEntry attribute is not necessary is the hot plug case
KR,
/Flo
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.