I'm trying to set a data breakpoint with such condition: _RWORD(0x3e78)==0x0010105B.
I tried the access breakpoint: expression: 0x3e78 Expression: 0x3e78 Access: Write Size: 4 Bytes count: 1 It works to break the program while writing the address
But if I added the command: _break_=(_RWORD(0x3e78)==0x0010105B ) in breakpoint settings. then such a breakpoint never works.
Do you guys have any idea on this?
Thanks
Take a look at: http://www.keil.com/support/man/docs/uv4/uv4_cm_breakset.htm and http://www.keil.com/support/man/docs/uv4/uv4_db_dbg_breakpnts.htm
In your case you can use the following expression: (*((unsigned long *)0x3e78)) == 0x0010105B
You can enter it into the Breakpoints dialog (Write Access) or directly via the Command window:
BS WRITE (*((unsigned long *)0x3e78)) == 0x0010105B
Thank you very much.
This command works!