I just found its help document is somewhat perplexing...
I just found its help document is somewhat perplexing...
Dev-C++ is probably facing the end of its days. There is no development being done on it other than an early project at http://wxdsgn.sourceforge.net/. Dev-C++ as is, is most probably dead.
Regardless the debugger GUI in Dev-C++ is pretty straightforward (albeit rather useless). What is that you are having trouble with?
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
When I click "debug", it keeps on saying "your project doesn't have debugging information. Do you want to add the debugging information and rebuild the project?" I went through it by "Yes" several times, and it's still like this, without any other debugging information showing up...
And the only responese I got from the debug output window is:
you need to put the debug mode on before you debug.
What does it mean? Where is the on/off thing?
Ah. Gotcha.
You have to compile your program with debug symbols. In other words, you have to compile it for debugging. Go to menu Tools->Compiler Options. In the Compiler tab make sure "Add the following commands when calling compiler" is checked. And add "-g3" (without the quotes) to text box bellow it.
Compile and link your program normally after doing this. Then you will be able to debug.
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
Thanks Mario; I'll give it a try.
Mario, is it "-g3" or "-gdb"? Something is not quite right; I can't quit the GDB in the window even I type "quit" and press "send" in the debug command window.
Could I just use the command window for debug instead of the GUI?
You could and you should, in my opinion. All the power of gdb is better shown in the console.
The GDB documentation is better than most tutorials:
http://www.delorie.com/gnu/docs/gdb/gdb_toc.html
However, if you still prefer a tutorial look around google for "gdb tutorial"
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
Seek a confirmation: can it be installed and run in Windows?
GDB comes as part of MinGW. When you installed Dev-C++ you installed an editor. It just happens it is bundled with the MinGW compiler and GDB.
So it is already installed under the bin folder of Dev-C++.
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
Thanks! I found it!!
Last edited by asmileguo; 09-09-2006 at 07:01 PM.