If debugging is not working then in try Project -> Project options -> Compiler options -> Linking check Generate Debugging Info For GDB (Slower / Increases exe - size)