JLink debug. Breakpoint in main

Hi @Tuxford,

Maybe you can take a look at this arduino example with a software breakpoint code __asm__(null); added, to confirm whether it can stop at the line you would like to further debug?

For more information, you can refer to another guide [Tutorial] Debugging RTL8722 with the new Arduino IDE 2.0 in this forum.

Thank you.