I faced the exact problem nda, here. I take step just like nda did before. I unchecked "Enable debug options" as Marte Myrvold told, but still the same problem.
OS: Windows 10
Does this happen only in VS Code?
I've to admit I'm testing on a custom board not a nRF52840DK. E73-2G4M08S1C.
In different scenarios, I tested blinky sample from nRF5 SDK for Thread and Zigbee v4.1.0 for keil, after some challenges it worked. zigbee-v4-1-examples-not-working-with-keil. Then I decided try SEGGER embedded studio. The blinky example worked, but after I tried Bluetooth examples, I failed. The exact sample I tested is "ble_app_beacon_pca10056_s140" from nRF5 SDK for Thread and Zigbee v4.1.0. After debugging it turns out it
hangs on "ble_stack_init();" line and it doesn't go further
I have to notice that non of Zephyr's examples worked whether using VS Code or SEGGER embedded studio.
I have five years of experience in embedded world. I've working experience with ST, TI, Espressif, and AtmelAVR but I'm new to Nordic microcontrollers.
Is it possible to run a sample (any basic Zephyr sample) on your board, and then attach the error log that you get?
After compiling "blinky" sample I got these errors.
Could you share what you enter while 'Creating the application' and also in 'Build Configuration'?