Menu

problem with debug

axoduss
2007-11-14
2012-09-26
  • axoduss

    axoduss - 2007-11-14

    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

     
    • Anonymous

      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.

       
    • Wayne Keen

      Wayne Keen - 2007-11-14

      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

       
    • axoduss

      axoduss - 2007-11-14

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.