Page 1 of 1

bleprph example program not running in Eclipse debugger

Posted: Thu Mar 17, 2022 2:45 am
by lehrian
I am trying to debug a NimBLE peripheral application using ESP-Prog and a DEVKITV1 but the debugger fails to start. It seems to hang when it gets to the ble_gap_adv_start() call. To check if this was my code I opened the example program bleprph and it indeed also hangs when it attempts to run ble_gap_adv_start(). Is there a setting or trick I need to know to get the debugger to run while using NiimBLE? If I comment out this call the application launches into the debugger just fine but this makes debugging difficult as my central app can't find the peripheral. I'm using ESP-IDF 4.4 and the plugin for Eclipse.