forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CodeBlocks Debugger Problems, no breaks.

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
ColeZero



Joined: 26 May 2008
Posts: 4

PostPosted: Fri May 30, 2008 3:45 am    Post subject: CodeBlocks Debugger Problems, no breaks. Reply with quote

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:
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:
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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group