bleprph example program not running in Eclipse debugger

lehrian
Posts: 21
Joined: Wed May 12, 2021 3:07 am

bleprph example program not running in Eclipse debugger

Postby lehrian » Thu Mar 17, 2022 2:45 am

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.

Who is online

Users browsing this forum: No registered users and 111 guests