Page 1 of 1

Debug the crazyflie 2.0

Posted: Fri Oct 02, 2015 8:02 pm
by simonraf
Hi,

i'm trying to make some modifications in the source code of the crazyflie 2.0 and i can flash my application without any problem, but when i try to debug and add some breakpoints, the gdb never stop to my breakpoints !! i have verified the Debug Configurations in and eclipse everything seems to be fine.

I'm using Bitcraze VM 0.6 and the nRF52/Cortex SWV debug adapter connected to an ST-LINK/V2.

Thanks.

Re: Debug the crazyflie 2.0

Posted: Thu Oct 15, 2015 7:21 am
by marcus
Hi,

I've had similar issues sometimes and I'm not sure what the cause is. I don't think it's the configuration of openOCD and GDB.

Are you sure the code you're trying to break in is linked and included? It could be that it's optimized away during compilation if you by some chance do not call it.