Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: mq on January 28, 2020, 10:13:29 am
-
Since my debugger didn't work, I deleted default configuration", while it still didn't, so I delete the new debugger I have created and reset the Default one, now, the menu item on CodeBlocks were all grey and disable. Is here any solution ?
-
Use an CB Project.
-
Is "Code::Blocks plugin" ?
-
Is "Code::Blocks plugin" ?
No, it is not; a CB Plugin requires a CB Project to build it.
You have no CB Project open!
Edit: Debugger is a CB Plugin; your code is not.
Post a build log in Code Tags; if you want more feedback!
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)
Tim S.
-
http://wiki.codeblocks.org/index.php/Creating_a_new_project (http://wiki.codeblocks.org/index.php/Creating_a_new_project)
-
I tried it, the menu active again,while, I want to know: COULDN'T I debug in Console application?
-
I tried it, the menu active again,while, I want to know: COULDN'T I debug in Console application?
Debugging without a CB Project does not work to my knowledge!
Tim S.
-
Thanks for you gave me the link:http://wiki.codeblocks.org/index.php/Creating_a_new_project
it inspired me, I found the solution:settings-->compiler-->compiler settings-->compilers Flags-->debugging-->produce debugging symbols. Marked this item, the menu active again.
The new question is:
Debugger name and version: GNU gdb (GDB) 8.1
Starting the debuggee failed: No executable specified, use `target exec'.
Debugger finished with status 0
Where to set this one?