Eclipse debugging SITL

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. Use an IDE to debug px4 modules 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.