Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: photon3108 on April 13, 2011, 05:00:10 am
-
I got a project. It can make and use gdb on fedora 12.
But gdb is much lesser user friendly than Codeblocks. I want
to use CodeBlocks's Debuger Environment to debug and the
problem is that this project is too big to be converted
to Codeblocks Project.
Is there any methods which can let me debug by opening any
cpp files of this project and setting breakpoint with red point
in CodeBlocks?
Thanks.
-
Is there any methods which can let me debug by opening any
cpp files of this project and setting breakpoint with red point
in CodeBlocks?
No, but why is you project "too big"? Even (e.g.) the Linux kernel can be developed inside C::B as a project.
-
1. Switch to the debuggers nightly and use debug -> attach to process...
2. Use custom makefile project and debug -> start
-
hi, oBFusCATed .
can you tell me how to debug external program by custom makefile concretely?
-
The same as you debug normal C::B project...
There is checkbox for enabling custom makefile in project -> properties.
-
Thank you!
oBFusCATed,but how to add the makefile to the project?
-
Thank you!
oBFusCATed,but how to add the makefile to the project?
look:
There is checkbox for enabling custom makefile in project -> properties.
-
I find the check,but when I build, it says "No rules can create the target "debug"".so I think maybe someone else need set.
-
I find the check,but when I build, it says "No rules can create the target "debug"".so I think maybe someone else need set.
You have to fix the settings in the Projects build options in tab "Make commands".
-
Thank you!
Just like the value of build project/target is "$make -f $makefile $target" in tab make commands.what can I do?
-
Thank you!
Just like the value of build project/target is "$make -f $makefile $target" in tab make commands.what can I do?
$target will be replaced by the target name (in your case Debug), if that is not a valid target, you have two options: either remove it completely (the default target will be used instead) or if a special taregt should be used, either use it instead of $target or rename your target in the projects properties.