slajerek / RetroDebugger

Retro Debugger is a multiplatform debugger APIs host for retro computers: C64 (Vice), Atari800 and NES (NestopiaUE).
175 stars 20 forks source link

Double Clicking the Program Counter crashes emulated CPU while paused at a memory write breakpoint #18

Closed ghost closed 8 months ago

ghost commented 1 year ago

Describe the bug Double clicking the PC set it to 0000 and crashes the application (unable to reset).

To Reproduce Steps to reproduce the behavior: Double Click on the Program Counter while a c64 program is executing and is paused at a memory write break point.

Expected behavior I assumed this would take me to the execution address in the monitor window.

Desktop (please complete the following information):

slajerek commented 9 months ago

@RoyBatty64 No, changing PC sets the emulator's current PC to selected value, if you set it to 0000 then emulator's CPU crashed as there's garbage code there. I assume that emulation is paused after CPU jam, that's why reset does not work, you need to unpause emulation. I've added option in Settings to always unpause emulation on reset. Please confirm.

To go to address in Disassembly view you need to press Ctrl+G in Disassembly view.