Page 12 of 12

Re: Mesen Debugger - Feedback/Feature Requests? (2018 editi

Posted: Wed Feb 13, 2019 7:05 pm
by bleubleu
I might be running a build from 1+ month ago (whenever the last time you added me a feature!).
I will take a new nightly and give it a try.

-Mat

Re: Mesen Debugger - Feedback/Feature Requests? (2018 editi

Posted: Sun Apr 28, 2019 5:01 am
by bleubleu
Hi!

I want to create myself some simple debugging Lua scripts to display the state of my hero, NPCs, etc. Is it possible to access debug info from Lua? This would avoid me having to hard-code addresses of stuff (which changes all the time during development).

Thanks!

-Mat

Re: Mesen Debugger - Feedback/Feature Requests? (2018 editi

Posted: Sun Apr 28, 2019 6:25 am
by Sour
In the latest dev builds, there's a "emu.getLabelAddress" function that returns an address that can be used with emu.read/write. See: https://github.com/SourMesen/Mesen/blob/master/Docs/content/apireference/MemoryAccess.md#getlabeladdress

And that's another reason why I really need to get around to releasing a new release and updating the documentation website. Not enough hours in a day, and not enough days in a weekend :p

Re: Mesen Debugger - Feedback/Feature Requests? (2018 editi

Posted: Sun Apr 28, 2019 7:12 pm
by bleubleu
Haha. Thanks is brilliant! Thanks!

I'll give it a try soon. I think I can make myself a really kickass visual debugger for gameplay with that.

-Mat

Re: Mesen Debugger - Feedback/Feature Requests? (2018 editi

Posted: Thu Oct 24, 2019 5:40 pm
by Kurrono
Is there a way to make the debugger the same way as bsnes... So when u write the registers for music to be detected before the music starts like using...

4100 using as breakpoint...to trigger the values in A,X,Y registers? Oh and by the way can u give me an explanation how Mesen audio msu1 routine is?