EmuNewz Network
Advance debugging via IDE with JPCSP src - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: General discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=57)
+---- Thread: Advance debugging via IDE with JPCSP src (/showthread.php?tid=5573)



Advance debugging via IDE with JPCSP src - Xeeynamo - 07-13-2011

Hi.
Recently I started to debugging a game to patch and reverse some stuff and the best choice for me was JPCSP. I'm not really happy of the internal debugger that come with the emulator, so I downloaded the source code from the SVN and I edited some functions to get some extra debugging stuff on the log console. I'm here because I can't find the function that offer the memory reading, because I need to log every reading from the RAM with the current offset and the current position of the CPU executing (the PC). I found read32 and memread32, but these doesn't offer me all the reads from the psp emulated memory. I hope that some programmer of the project can reply me.


RE: Advance debugging via IDE with JPCSP src - Xeeynamo - 07-13-2011

UP. I really need this thing >.<


RE: Advance debugging via IDE with JPCSP src - Darth1701 - 07-14-2011

(07-13-2011, 10:02 PM)Xeeynamo Wrote: UP. I really need this thing >.<

We don't do THAT here, we're not in some chan. Angry

Try to contact Hykem or gid15 via PM and then wait for a reply


RE: Advance debugging via IDE with JPCSP src - Xeeynamo - 07-14-2011

(07-14-2011, 12:45 PM)Darth1701 Wrote:
(07-13-2011, 10:02 PM)Xeeynamo Wrote: UP. I really need this thing >.<

We don't do THAT here, we're not in some chan. Angry

Try to contact Hykem or gid15 via PM and then wait for a reply

Thanks for the advice, I'll do it


RE: Advance debugging via IDE with JPCSP src - Hykem - 07-16-2011

(07-13-2011, 01:36 AM)Xeeynamo Wrote: Hi.
Recently I started to debugging a game to patch and reverse some stuff and the best choice for me was JPCSP. I'm not really happy of the internal debugger that come with the emulator, so I downloaded the source code from the SVN and I edited some functions to get some extra debugging stuff on the log console. I'm here because I can't find the function that offer the memory reading, because I need to log every reading from the RAM with the current offset and the current position of the CPU executing (the PC). I found read32 and memread32, but these doesn't offer me all the reads from the psp emulated memory. I hope that some programmer of the project can reply me.

Ah, sorry. This is what you're looking for: http://www.emunewz.net/forum/showthread.php?tid=4391

We already offer a way to log each read/write to RAM by using that special "Memory.mbrk" breakpoint file. It can be used to forcefully pause the emulator at each access or to just print a small string with the offset and data being accessed.
We really need to document this feature properly, since it's quite useful for developers. Undecided


RE: Advance debugging via IDE with JPCSP src - gid15 - 07-20-2011

(07-16-2011, 03:32 PM)Hykem Wrote: We already offer a way to log each read/write to RAM by using that special "Memory.mbrk" breakpoint file. It can be used to forcefully pause the emulator at each access or to just print a small string with the offset and data being accessed.
We really need to document this feature properly, since it's quite useful for developers. Undecided
Description now added in README.txt Smile


RE: Advance debugging via IDE with JPCSP src - Hykem - 07-21-2011

(07-20-2011, 06:12 PM)gid15 Wrote:
(07-16-2011, 03:32 PM)Hykem Wrote: We already offer a way to log each read/write to RAM by using that special "Memory.mbrk" breakpoint file. It can be used to forcefully pause the emulator at each access or to just print a small string with the offset and data being accessed.
We really need to document this feature properly, since it's quite useful for developers. Undecided
Description now added in README.txt Smile

Great! Big Grin
Thanks gid and welcome back! Wink


RE: Advance debugging via IDE with JPCSP src - Xeeynamo - 07-24-2011

(07-20-2011, 06:12 PM)gid15 Wrote:
(07-16-2011, 03:32 PM)Hykem Wrote: We already offer a way to log each read/write to RAM by using that special "Memory.mbrk" breakpoint file. It can be used to forcefully pause the emulator at each access or to just print a small string with the offset and data being accessed.
We really need to document this feature properly, since it's quite useful for developers. Undecided
Description now added in README.txt Smile

Thank you so muchBig Grin