Hi @pr.tsmaz,
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
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.