I've been trying to use Eclipse to debug in SITL using attach mode. When i press continue/resume it just pauses and i think it has something to do with the optimized error. http://discuss.px4.io/t/use-an-ide-to-debug-px4-modules/8076
had the exact same issue as I do. I've tried to run with the compiler optimization off however i wasn't able to get it to work.