User forums > Using Code::Blocks
debug codeblocks source code
mmkider:
I got new codeblocks source code.
I build all is success,but it had no debug setting of defualt project.
I don't know how to start trace souce code.
Can I debug codeblocks source code from vs2005 or codeblocks?
thx
MortenMacFly:
--- Quote from: mmkider on September 29, 2008, 07:30:37 am ---Can I debug codeblocks source code from vs2005 or codeblocks?
--- End quote ---
Use C::B with GDB to debug C::B.
As a side not: C::B is not related to VC2005. You cannot use VC2005 for any development for C::B
mmkider:
I download source code of codeblocks from svn and see no debug Setting for CodeBlocks.cbp.
I set breakpoints and trigger start button on Codeblocks, I got info " Debugger finished with status 1".
So I don't know how to start trace source code.
thx your answer.
MortenMacFly:
--- Quote from: mmkider on September 29, 2008, 09:28:32 am ---I download source code of codeblocks from svn and see no debug Setting for CodeBlocks.cbp.
--- End quote ---
C::b is generally compiled with debugging symbols (you may want to verify in the compiler options after you loaded the CBP file).
--- Quote from: mmkider on September 29, 2008, 09:28:32 am ---I set breakpoints and trigger start button on Codeblocks, I got info " Debugger finished with status 1".
--- End quote ---
Are you sure you are using a recent GDB? Notice that older ones do not work properly. I for myself use v6.6.
mmkider:
haha :D
Thx your respond.
The original gdb of my computer is 6.8 version.
I downgrade gdb is 6.6 version ,it's fun.
Navigation
[0] Message Index
[#] Next page
Go to full version