Hope this is the right subforum for this
I'm trying to learn my way around Dolphin's debug mode - particularly so I can learn a bit more about how my favourite games are put together, and maybe develop a patch or two for a few minor bugs and issues that exist. Thanks to this tool's logger, I've already found a few issues with one particular game that I didn't know existed - they don't seem to cause any obvious problems, so to speak, but they're still issues.
Unfortunately, I'm not finding too many resources on Dolphin's debug mode, so it's all very much me experimenting blind at the moment. I've gone and generated a symbol map for the game's primary DOL file out of Ghidra and applied that to Dolphin, and I'm going from there. Right now I'm hoping to identify what a given function broadly does, and then rename it in the symbol file to match.
Running 5.0-12219 - When I run the game, I get the current callstack and the symbols sections populated, however nothing shows up in the Function Calls or Function Callers sections. I'm rather hoping the Function Calls section will turn out to be an ordered list of every function the game has called up until current time - that would be very helpful to me, to see what's called upon, say, loading a new area, etc. Does something like that exist?
--
I've also tried 4.0.2, as I've heard some debug functionality exists in that version that isn't in 5.0. However, it's not running too well for me yet - it once gave me a stack overflow for resizing a column, and the game itself regularly fails to boot due to audio issues. I've put this version aside for the moment, though if 4.0 is worth pursuing, I'll have to experiment with Dolphin's config to see if I can get past that.
I'm trying to learn my way around Dolphin's debug mode - particularly so I can learn a bit more about how my favourite games are put together, and maybe develop a patch or two for a few minor bugs and issues that exist. Thanks to this tool's logger, I've already found a few issues with one particular game that I didn't know existed - they don't seem to cause any obvious problems, so to speak, but they're still issues.
Unfortunately, I'm not finding too many resources on Dolphin's debug mode, so it's all very much me experimenting blind at the moment. I've gone and generated a symbol map for the game's primary DOL file out of Ghidra and applied that to Dolphin, and I'm going from there. Right now I'm hoping to identify what a given function broadly does, and then rename it in the symbol file to match.
Running 5.0-12219 - When I run the game, I get the current callstack and the symbols sections populated, however nothing shows up in the Function Calls or Function Callers sections. I'm rather hoping the Function Calls section will turn out to be an ordered list of every function the game has called up until current time - that would be very helpful to me, to see what's called upon, say, loading a new area, etc. Does something like that exist?
--
I've also tried 4.0.2, as I've heard some debug functionality exists in that version that isn't in 5.0. However, it's not running too well for me yet - it once gave me a stack overflow for resizing a column, and the game itself regularly fails to boot due to audio issues. I've put this version aside for the moment, though if 4.0 is worth pursuing, I'll have to experiment with Dolphin's config to see if I can get past that.