bsnes-plus icon indicating copy to clipboard operation
bsnes-plus copied to clipboard

Debugger window empty

Open LilaQ opened this issue 3 years ago • 4 comments

I've been using bsnes-plus for a few weeks now while developing my emulator. Sadly all of a sudden the Debugger is almost always empty when I open it. CPU and SMP. Version 05.72. Windows.

image

Tried re-downloading, using a new version (from 05 to 05.72), deleting AppData folder, but no change.

LilaQ avatar Oct 20 '20 02:10 LilaQ

When this happens, do you see anything when moving the scrollbar?

This seems like it might be related to something similar I've experienced recently, but reproducing it has been a little tricky.

devinacker avatar Nov 07 '20 20:11 devinacker

Nope, Scrollbar does nothing at all.

LilaQ avatar Nov 12 '20 06:11 LilaQ

Not sure if the issues are related, but sometimes the debugger does not show the current instruction after hitting a breakpoint.

I can consistently reproduce the issue by following these steps:

  1. Load the US version of Top Gear (no SMC header, SHA256 checksum: a3fb5ad4a2e0ee189e13d18ff33fad8c068010d9ebd29a008c8777f26689310f).
  2. Set a breakpoint at address $7e2000 and check the write ("W") box.
  3. Run the game; it will pause at $008032. The current instruction (sta $7e2000,x) is shown in the debugger.
  4. Resume the game; it will pause again at $0fa448. This time, only instructions from $0fa402 to $0fa44q are shown in the debugger when scrolling; the current instruction is not shown.

bsnes-plus debugger not showing the current instruction

I'm running bsnes-plus on Manjaro, compiled from source on 2021-02-28.

m4rt1n0 avatar Mar 08 '21 22:03 m4rt1n0

I just fixed what seems to have been a relevant regression that happened when fixing a different disassembler issue. Try grabbing the 05.84 dev build or newer (once it's available) and see if it works better for you in general.

devinacker avatar Aug 16 '21 01:08 devinacker