Dolphin, the GameCube and Wii emulator - Forums

Full Version: Load states and Set Value in debugger not work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

zero

Ubuntu 17.04
PPA version does not work for me. (I guess because of PIE problem)
I downloaded the master from git and compiled my self.
Most features works fine.
Save state seems to work fine. (I can see the saved files, 20MB~50MB size.)
Load state does not work and no error messages. Nothing happened at all.

"Set Value" in debugger memory window works unstable. 5% chance to work.
I have check the source code. I tried press ENTER in the value box and click the button. Both do not work in most time.
After I hit ENTER the value input box gets focus because the content is selected and highlighted. And the memory list window get refreshed. But the value is not set.

If I input wrong value string or address string, error message will show up.

Cheat code (AR and Gecko) works fine. So currently, I rely on it to modify memory.

I have tried normal version and DEBUGFAST version. Same issue.

Any ideas?
gdb is too alien for me. Anyone suggest a GUI debug tool? I am wondering which IDE or debug tool is used by the dev team of linux version.

zero

Not DEBUGFAST. Actually FASTLOG version.
launch the latest dev builds of Dolphin with the -d option. Both features work for me in Windows at least though a bit unstable without single core.

zero

I have tried eclipse.
I can compile and run dolphin without problem.
When I started to debug, the symbols get resolved correctly. But I get constant segmentation fault when a game starts.
What's the difference between run and debug? Is it because of debug tool conflicts with PIE or JIT?

zero

Compared with AR code, I have found the problem.
Wii memory space start from 0x80000000.
I was trying to modify 0x00000000.(It is a read only mirror to 0x80000000)
The function works perfect.