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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 573 574 575 576 577 ... 1198 Next »

Which purposes has the Dolphin´s debug mode?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Which purposes has the Dolphin´s debug mode?
04-19-2014, 08:21 AM (This post was last modified: 04-19-2014, 08:22 AM by DJBarry004.)
#1
DJBarry004 Offline
Don't even bother...
*******
Posts: 2,456
Threads: 33
Joined: Sep 2013
Hi, long time since creating threads. Tongue


I decided to experiment a bit with the debug mode of the emulator (see how it works and what things I can do, etc.) but I can´t seem to understand a lot of it, so I came here to ask for some help.

First, as the title says, which purposes does the mode have; what it was made for, exactly. Other thing is how to launch a game while using it (I tried with Luigi´s Mansion with the debug mode activated, and it first showed a call stack error on the left panel, then the game booted. Then it just freezed there and when I tried to stop it, the program stopped responding).

With that second thing I mean, how can I work with the debug mode when using any game.

Any reply is accepted and appreciated as well. Smile

ADD: Oops, almost forgot to post the used build. I used 4.0-1302.
Rig 1: Windows 10 Home | AMD A6-1450 @ 600/1000/1400 MHz | AMD Radeon HD Graphics 8250 | 4GB RAM | HP Pavilion TouchSmart 11.

Rig 2: Windows 10 Pro | Intel Core i7-2640M @ 780/2800/3500 MHz | Intel HD 3000 Mobile | 8GB RAM | Dell Latitude 6320.
Find
Reply
04-19-2014, 08:25 AM
#2
RachelB Offline
Developer
*******
Moderators
Posts: 1,003
Threads: 1
Joined: Dec 2011
It's for debugging, obviously.
Find
Reply
04-19-2014, 08:28 AM
#3
DJBarry004 Offline
Don't even bother...
*******
Posts: 2,456
Threads: 33
Joined: Sep 2013
Yeah but, what kind of debugging? By the way it looks it seems to be for complex things.
Rig 1: Windows 10 Home | AMD A6-1450 @ 600/1000/1400 MHz | AMD Radeon HD Graphics 8250 | 4GB RAM | HP Pavilion TouchSmart 11.

Rig 2: Windows 10 Pro | Intel Core i7-2640M @ 780/2800/3500 MHz | Intel HD 3000 Mobile | 8GB RAM | Dell Latitude 6320.
Find
Reply
04-19-2014, 08:31 AM
#4
RachelB Offline
Developer
*******
Moderators
Posts: 1,003
Threads: 1
Joined: Dec 2011
It's not for you if you can't figure that out yourself.
Find
Reply
04-19-2014, 08:40 AM
#5
kinkinkijkin Offline
Human embodiment of the headache caused by a weird issue
****
Posts: 575
Threads: 12
Joined: May 2013
(04-19-2014, 08:31 AM)RachelB Wrote: It's not for you if you can't figure that out yourself.

This is exactly the answer.

If you can't make out the debug stuff, you shouldn't be looking at it.
in a perfect world we would all be piles of sand with no ability to form coherent bodies of body
Find
Reply
04-19-2014, 10:00 AM (This post was last modified: 04-19-2014, 10:00 AM by Shonumi.)
#6
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,513
Threads: 55
Joined: Dec 2011
I guess DJBarry has a general idea of what debugging looks like in software in general, but probably wants to know more about how Dolphin as an emulator uses it.

You're emulating a very complex machine in software, meaning there are a lot of moving parts working in conjunction. If there's a problem in emulation, it's very helpful to be able to "see" what's going on inside any of the individual components at any given time. Of course, you could stare at the code and shout "What's wrong with it?!" but that's not nearly as effective proper debugging. If there's something wrong with the way Dolphin emulates the DSP's HLE implementation for example, it's extremely helpful to see the exact contents of all the mail messages it uses to communicate with the CPU or all the commands it executes and when. Imagine coding an emulator, you make a mistake implementing something called a DMA (basically a fast way to copy memory from one place to another); wouldn't it be helpful to see what the DMA is doing step-by-step? That's the sort of thing Dolphin's debugger does. It lets you "peek" into the emulated hardware. CPU registers, current instructions, generated interrupts, current memory values; if you need to know about it to check if the emulator is running properly, you make it part of your emulator's debugger.
Website Find
Reply
04-20-2014, 10:22 AM
#7
pauldacheez Offline
hot take: fascism is bad
*******
Posts: 1,527
Threads: 1
Joined: Apr 2012
>I guess DJBarry has a general idea of what debugging looks like in software in general

PFFFFHAAHAHAHA
<@skid_au> fishing resort is still broken: http://i.imgur.com/dvPiQKg.png
<@neobrain> dafuq
<+JMC47> no dude, you're just holding the postcard upside down
----------------------------------------
<@Lioncash> pauldachz in charge of shitposting :^)
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode