No$GBA Tracelog?

gukingofheart

Well-Known Member
OP
Member
Joined
Feb 2, 2022
Messages
235
Trophies
0
Age
124
XP
455
Country
United States
How do you trace back?
So far, I found a method where I can "Jump To Cursor" & trace forward, but is this my only method I found atm.
Maybe there's a better way, incase if I need data that ran much earlier?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,411
Country
United Kingdom
Logging options to the extent you are probably thinking of are not so common in consoles.

Run to line/run to cursor (a primitive form of break on execute) are however far from the only options
http://problemkaputt.de/gbahlp.htm#debugging

For the GBA (no$gba also doing DS) you might be able to pull something off on the massive log file side of life with vba-sdl-h
https://web.archive.org/web/20130215155212/http://labmaster.bios.net.nz/vba-sdl-h/#cmdTrace

I would also not put it past https://wrongbaud.github.io/posts/ghidra-debugger/ being able to do something.

That said there is usually a better way of doing things than gigabytes of trace file -- there will surely be some graphical aspect, audio cue, ROM read, functionally akin option*, controller read...

*1 in 200 drops in some RPG might be annoying if you need a positive result, however the same maths/code will likely be used calculating the potion you get 2 out of 3 times from the starting enemies, and probably also the table of drop rates (or part of enemy stats) consulted to deal with it.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: Back