Kuribo64
Views: 19,856,631 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
03-29-24 12:54 PM
Guest:

0 users reading Debugging crashes | 1 bot

Main - Archived forums - General SMG hacking - Debugging crashes Hide post layouts | New reply


Arisotura
Posted on 06-19-13 11:19 PM Link | #26131
As you may already know, I was working on a debug screen to help debug crashes. I was having trouble with that, so I talked about it with Treeki.

He found out that the game already has a debug screen that can be enabled with the following Riivo XML:
<memory offset="0x804B7D90" value="60000000" />
<memory offset="0x804B7E54" value="60000000" />
<memory offset="0x805B66B4" value="60000000" />
This should work for both PAL and NTSC.


When encountering a crash, if you get the debug screen, provide a screenshot of it, more particularly the last part of it (the stack trace).

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

shibboleet
Posted on 06-19-13 11:20 PM Link | #26132
OMFG You will never believe on how much this helps :P


____________________
a

Marionumber1
Posted on 06-20-13 12:24 AM Link | #26134
Finally, I won't have to use the Dolphin debugger anymore!

Marionumber1
Posted on 06-23-13 05:25 PM Link | #26451
The debug screen seems to not work for all crashes, since when it crashed on the star select screen while loading an imported model, nothing happened.

Arisotura
Posted on 06-23-13 05:38 PM Link | #26452
It won't work for things like infinite loops. But really nothing can detect that kind of crashes.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

shibboleet
Posted on 12-13-13 01:51 AM Link | #35972
Posted by Marionumber1
The debug screen seems to not work for all crashes, since when it crashed on the star select screen while loading an imported model, nothing happened.


Even though this is a late-ass repsonse, because Scenario errors and model errors make infinite loops.

But the thing I really wanted to come here and ask for is if the debug screen works for SMG1 as well.

A part of me is saying it doesn't, because the screen is probably in a complete different location in the DOL file.
If it isn't, can it be implemented for SMG1?




____________________
a

Marionumber1
Posted on 12-13-13 11:41 AM Link | #36007
It's fairly likely that SMG1 has one. If it does, the code will probably be the same, so it's simply a matter of finding its address.

MK7tester
Posted on 01-03-14 12:05 AM Link | #37176
[image]

Could somebody help me fix this crash, whatever it is?

shibboleet
Posted on 01-03-14 12:06 AM Link | #37177
o,o
I could've sworn I've seen that crash before.
You always want to give the person the first line on LR save. Which is 80070AAC. I got that with Challenging trials, and it's a switch error.

____________________
a

MK7tester
Posted on 01-03-14 12:07 AM Link | #37178
Wait, sorry guys, nevermind, I forgot to add an AreaShapeNo to SwitchArea


Main - Archived forums - General SMG hacking - Debugging crashes Hide post layouts | New reply

Page rendered in 0.022 seconds. (2048KB of memory used)
MySQL - queries: 26, rows: 210/210, time: 0.008 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.