maziac / DeZog

Visual Studio Code Debugger for Z80/ZX Spectrum.
MIT License
212 stars 35 forks source link

zesarux: Double entries in history #21

Open maziac opened 4 years ago

maziac commented 4 years ago

Sometimes it seems as if zesarux would execute instructions twice or at least enter them into the history twice.

zesarux_membp

Bildschirmfoto 2020-05-19 um 19 24 27

maziac commented 4 years ago

The same happens if calls are used instead of NOPs. I.e. there are double entries for a call.

Bildschirmfoto 2020-05-24 um 11 13 26

HOW OFTEN: I checked 5x how often this occurs. After x instructions: 31712 31719 31724 31712 317124

I did the same with the NOP loop: 15417 15417 15417 15417 15417 This is more consistent.

maziac commented 4 years ago

double entries happen also without WPMEM being hit or even with WPMEM completely disabled (-14,-15):

Bildschirmfoto 2020-05-24 um 11 34 22

So the main problem are the double entries itself. That the read mem breakpoint is fired seems to be a side effect.