Debug stops before main

Hi
I'm trying to debug the record_text example in the nrf connect sdk. However when I attached my nrf5340 dk and hit debug in the nrf connect extension, the process stops in the following way (please check screenshots)

I tried using a j-link to debug instead of the dk but I get the same problem.
I also tried using a newer version of j-link gdb server and no luck

Related