Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
Install host dependencies.
Import toolchain and SDK.
Create, configure, build and manage apps.
Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench
Well, that is strange. What do you mean “stops forever”? The execution just never comes back from the function? I would try to use the debugger and pause the execution when it’s stuck, so I could find out where (which code line / instruction) and why and it got stuck.