Skip to content

Debugger: trace address of reads and writes #35

Answered by cuavas
paulb-nl asked this question in Q&A
Discussion options

You must be logged in to vote

Can’t you just use a watchpoint to add memory accesses to the trace log? For example on a Z80, this would log writes to the trace log:

wpset 0x0000,0x10000,w,1,{ tracelog "@%04X = %02X",wpaddr,wpdata ; g }

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@paulb-nl
Comment options

@cuavas
Comment options

Answer selected by paulb-nl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants