User forums > Help

Custom makefile..debugging???

(1/1)

deadneurons:
Hi, I know this has been asked before, I searched the forum but didn't get definitive answer.
I'm learning to program arm uC specifically lpc2138, all is good I'm loving CB ide. I want to use the debugger now so I could actually learn how to use it.

this is what I get from the log.

--- Code: ---Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: C:\CodeBlocks\nc\
Adding source dir: C:\CodeBlocks\NC\
Adding source dir: C:\CodeBlocks\NC\
Changing directory to: ../NC

Adding file: main.elf
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.6

--- End code ---

nothing gets loaded in any of the debugging windows except the breakpoint.
when I tried to stepinto, the debugger just quits.

I am using svn4675, (after many tries I was able to get my very first compilation of an svn ever :) )
and WinARM GCC toolchain.




deadneurons:
I'm guessing I posted on the wrong forum :( , if so kindly move it to the right place mods. ty.

I have just found out about GDB Insight, and the neat Tools menu in CB, I passed -se filename to Insight and I got something new to play with. Tho I really like to learn how to do it inside CB instead.

Navigation

[0] Message Index

Go to full version