Did you search the Code::Blocks forums. I searched for debug permissions and got some promising hits