If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-11-14
Debug and optimisation settings can be set via the Compiler tab in that dialog rather than adding the options directly.
I never use Dev-C++ in the way you have, I always use a project. In that case you need to set the options in the Project->Projet settings. Have you tried it with a project?
That said, even when it works the Dev-C++ debugger is rudimentary at best.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've read faq about debug (this: http://sourceforge.net/forum/forum.php?thread_id=1035309&forum_id=48211), but I can't debug my project! I received alway an error: "The project doesn't has information for debug. Do you want to enable the debug and rebuilt the project?"
why?
thanks regards
Debug and optimisation settings can be set via the Compiler tab in that dialog rather than adding the options directly.
I never use Dev-C++ in the way you have, I always use a project. In that case you need to set the options in the Project->Projet settings. Have you tried it with a project?
That said, even when it works the Dev-C++ debugger is rudimentary at best.
Where did you set your projects compilation options, and what did you set them to?
You will want to set them in the project options section.
Also, your log (as in posting your Basic 3) will show us whether you successfully
set things up. Please get in the habit of posting it with questions.
Wayne
I set options (-g3 -o0) as written in faq (in tools->Compiler option->Add the following...), even in project options.
this is my log:
Compiler: Default compiler
Executing gcc.exe...
gcc.exe "D:\ANDREA\POLIMI\info1\files\Untitled1.c" -o "D:\ANDREA\POLIMI\info1\files\Untitled1.exe" -g3 -o0 -I"C:\Programmi\Dev-Cpp\include" -L"C:\Programmi\Dev-Cpp\lib"
Execution terminated
Compilation successful