Problem debugging with psplink and eclipse

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

Moderators: cheriff, TyRaNiD

Post Reply
roby65
Posts: 52
Joined: Sun Jun 01, 2008 9:12 pm
Location: Mid Italy
Contact:

Problem debugging with psplink and eclipse

Post by roby65 »

Hi guys,
i have the minimalist pspsdk and i configured eclipse to work with it...
I'm trying to debug code, but i can't understand how....
I launch usbhost, psp-sh, then type "debug cube.prx" and press the eclipse debug button, the debu starts fine but i can't stop, pause or other things, and i also can't see anything on the psp except for the psplink text.....
What's the problem???
Arwin
Posts: 426
Joined: Tue Jul 12, 2005 7:00 pm

Post by Arwin »

Did you try setting a breakpoint somewhere?

I'm also having trouble with this by the way ... but mine just says can't find file on the host location a few times. And when I start the usbhost it starts, but says as the first line that the port is already in use. I reserved ports 10000-10001 in the registry and rebooted, but that didn't help.



Target selection failed.
Remote communication error: No such file or directory.
Remote communication error: No such file or directory.
Remote communication error: No such file or directory.


Also, after running properly a few times before, psp-gcc now seems to always end up hanging.

EDIT: I have identified this to the BUILD_PRX = 1 setting in the MAKEFILE. If I remove that, the project builds properly. Strange thing is, it also builds a prx anyway.
Post Reply