Debug the crazyflie 2.0

Post here to get support
Post Reply
Posts: 1
Joined: Fri Oct 02, 2015 7:35 pm

Debug the crazyflie 2.0

Post by simonraf »


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.


Posts: 602
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden

Re: Debug the crazyflie 2.0

Post by marcus »


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.

Post Reply