• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 … 70 71 72 73 74 … 370 Next »

Load states and Set Value in debugger not work
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Load states and Set Value in debugger not work
05-10-2017, 08:48 PM
#1
zero
Unregistered
 
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.
Reply
05-10-2017, 08:50 PM
#2
zero
Unregistered
 
Not DEBUGFAST. Actually FASTLOG version.
Reply
05-10-2017, 10:15 PM (This post was last modified: 05-10-2017, 10:16 PM by gamemasterplc.)
#3
gamemasterplc Offline
Above and Beyond
*******
Posts: 1,111
Threads: 7
Joined: Mar 2016
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.
Website is gamemasterplc.com. Youtube Channel is gamemasterplc.
Website Find
Reply
05-12-2017, 02:06 PM
#4
zero
Unregistered
 
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?
Reply
05-12-2017, 09:22 PM
#5
zero
Unregistered
 
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.
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma