Hello,
I higly need to run twister unit tests in debug mode with breakpoints, step by step, spies and other debug tools in vscode. I did not find a way to do so.
Is anybody has an idea to run twister tests in debug mode ?
Many thanks by advance.
Hello,
I higly need to run twister unit tests in debug mode with breakpoints, step by step, spies and other debug tools in vscode. I did not find a way to do so.
Is anybody has an idea to run twister tests in debug mode ?
Many thanks by advance.
Hi,
This might depend on the platform you use. For native_sim it is like a normal west application
west build -b native_sim -p -- -DCONFIG_DEBUG_OPTIMIZATIONS=y
west debug
Best regards,
Dejan
So I was able to compile, but I would like to have the debugging session running in vscode (like debugging on a MCU) rather than a CLI.
Is there a way to do this ?
Thanks by advance.
So I was able to compile, but I would like to have the debugging session running in vscode (like debugging on a MCU) rather than a CLI.
Is there a way to do this ?
Thanks by advance.