nesdev.com
http://forums.nesdev.com/

Mesen Debugger - Feedback/Feature Requests? (2018 edition)
http://forums.nesdev.com/viewtopic.php?f=2&t=17060
Page 12 of 12

Author:  bleubleu [ Wed Feb 13, 2019 7:05 pm ]
Post subject:  Re: Mesen Debugger - Feedback/Feature Requests? (2018 editi

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

Author:  bleubleu [ Sun Apr 28, 2019 5:01 am ]
Post subject:  Re: Mesen Debugger - Feedback/Feature Requests? (2018 editi

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

Author:  Sour [ Sun Apr 28, 2019 6:25 am ]
Post subject:  Re: Mesen Debugger - Feedback/Feature Requests? (2018 editi

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

Author:  bleubleu [ Sun Apr 28, 2019 7:12 pm ]
Post subject:  Re: Mesen Debugger - Feedback/Feature Requests? (2018 editi

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

Page 12 of 12 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/