User forums > Using Code::Blocks

How to use CodeBlocks's debuger environment to debug external program?

(1/3) > >>

photon3108:
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.

MortenMacFly:

--- Quote from: photon3108 on April 13, 2011, 05:00:10 am ---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?

--- End quote ---
No, but why is you project "too big"? Even (e.g.) the Linux kernel can be developed inside C::B as a project.

oBFusCATed:
1. Switch to the debuggers nightly and use debug -> attach to process...
2. Use custom makefile project and debug -> start

zhengwc:
hi, oBFusCATed .
can you tell me how to debug external program by custom makefile concretely?

oBFusCATed:
The same as you debug normal C::B project...

There is checkbox for enabling custom makefile in project -> properties.

Navigation

[0] Message Index

[#] Next page

Go to full version