I also encountered a crash when running Code::Blocks on Mac and felt quite annoyed because I couldn't debug. After a while of trying many ways, I switched to CodeLite and found it more stable, although it was a bit strange at first, but after getting used to it, it was quite comfortable to use.