CodeBlocks Debugger Problems, no breaks.

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
ColeZero
Posts: 4
Joined: Mon May 26, 2008 3:55 am

CodeBlocks Debugger Problems, no breaks.

Post by ColeZero »

Now after configuring and setting up my tools under Linux, i want to debug my homebrew.
I compiled a test program using Code:Blocks.
In pspsh i typed in debug sprite.prx :

Code: Select all

host0:/> debug sprite.prx
PSPLink USB GDBServer (c) 2k7 TyRaNiD
host0:/> Loaded host0:/sprite.prx - UID 0x042A1657, Entry 0x088040AC
Now i configured my Code:Blocks debugger under Project Properties->Remote Connection: TPC : 127.0.0.1 :10001.
If i press F8 or Start debugger the output says:

Code: Select all

Changing directory to: ../SpriteTest
Adding file: SpriteTest
Starting debugger: 
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Connecting to remote target
Setting breakpoints
Debugger name and version: GNU gdb 6.4
Connected
In ?? () ()
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
and immediately after this my psp executes the .prx.

I've got 4 breakpoints in the code, but non of them where toggled.
So i straightly run through the code.
Where do i setup my debugger to use the *.elf?

If i press Stop Debugging my psp resets, so everything works fine, except that my breakpoints are ignored.
Post Reply