I use Dev-C++ for teaching and really like the ability to compile and run a small (single-source-file) program without creating a project.
If no project has been created and debug info (-g3) is not enabled in Compiler Options, running in Debug mode (F5) prompts to enable debug info. Answering yes to the prompt causes a crash.
Workaround: Enable debug info (-g3) in Compiler Options (linker settings) before trying to debug, this prevents the prompt and everything works.
Caution: Adding -g or -g3 to the compiler options linker command string does not prevent the prompt.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use Dev-C++ for teaching and really like the ability to compile and run a small (single-source-file) program without creating a project.
If no project has been created and debug info (-g3) is not enabled in Compiler Options, running in Debug mode (F5) prompts to enable debug info. Answering yes to the prompt causes a crash.
Workaround: Enable debug info (-g3) in Compiler Options (linker settings) before trying to debug, this prevents the prompt and everything works.
Caution: Adding -g or -g3 to the compiler options linker command string does not prevent the prompt.