Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Regression: Power Cycle in debugger doesn't reload rom file #871

Open
veremenko-y opened this issue Aug 24, 2020 · 4 comments · Fixed by NovaSquirrel/Mesen-X#12
Open

Regression: Power Cycle in debugger doesn't reload rom file #871

veremenko-y opened this issue Aug 24, 2020 · 4 comments · Fixed by NovaSquirrel/Mesen-X#12

Comments

@veremenko-y
Copy link

Behaviour on 0.9.9
If rom is changed, Power Cycle in Debugger doesn't load new ROM code
Behaviour on 0.9.8
If rom is changed, Power Cycle in Debugger loads updated ROM file.

@bunder2015
Copy link

This is intentional, if you wish to reload the ROM you can do it from the main window, under the File menu.

@veremenko-y
Copy link
Author

veremenko-y commented Sep 8, 2020

This is intentional, if you wish to reload the ROM you can do it from the main window, under the File menu.

I know I can. But now instead of using hotkey on the keyboard, I had to grab the mouse, switch the window, go trough menu, then click back on the debugger. Plus this change was non announced on the changelog, which I would consider breaking change.

@bunder2015
Copy link

bunder2015 commented Sep 8, 2020

Here is the commit that changed it... 43811ae

The reason it was changed was that it would cause the debugger to throw away changes when you had to reset/powercycle the game, which can make debugging and programming inside mesen a little tricky.

edit: there is a shortcut key option in the preferences for reloading the ROM, but I'm not sure if it's bound by default.

@veremenko-y
Copy link
Author

veremenko-y commented Sep 8, 2020

The reason it was changed was that it would cause the debugger to throw away changes when you had to reset/powercycle the game, which can make debugging and programming inside mesen a little tricky.

I respectfully disagree. From my perspective it makes researching/modifying existing ROM painful. What's the reasonable context to preserve local changes, if my ROM derives from the my own code? I'm not saying this should be reverted, but I really need an option or separate shortcut to work on my code. I wasted too much time debugging stale ROMs, because I forgot to reload it. I had to downgrade to previous version.

Shortcut requires to switch focus to main menu, which doesn't help much.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants