Commit graph

5 commits

Author SHA1 Message Date
JetSetIlly
c19a37a738 CLK breakpoints/targets will prevent debugger entering playmode
two reasons:

1) to keep performance acceptable playmode only checks halting
   conditions on a CPU instruction boundary. however a CLK changes many
   times during an instruction meaning it will never match.

2) a CLK breakpoint will always match within 228 emulation ticks so
   there is no point entering playmode at all because it will definitely
   drop back to the debugger (within microseconds)

added a range change check to SCANLINE and CLK targets in
breakpoints.parseCommand(). we know what the possible values are for
these targets so we can be helpful and inform the user the some values
will never match
2021-11-11 10:00:26 +00:00
JetSetIlly
656c42bb2c CPU notes phantom memory access. watches and traps ingore phantom accesss 2021-11-07 21:54:04 +00:00
JetSetIlly
250dedcd2d moved debugger/memory.go to a new dbgmem package 2021-10-10 11:52:30 +01:00
JetSetIlly
7b2596d59d fixed how WATCH uses mapAddress()
TRACE command show read/write value in trace
2021-10-07 15:40:34 +01:00
JetSetIlly
d788fb46bb break/trap targets are now aware of CPU instruction boundaries
halting conditions are checked every video-cycle. this reverts a
temporary change made in a73dcae6dcc61e4ced03f23fe4df504cb966fb36

renamed files in debugger package for clarity
2021-10-07 15:40:34 +01:00
Renamed from debugger/watches.go (Browse further)