Is there a way to set a breakpoint that breaks when certain bit of an I/O port is being set? E.g. I would like the program execution on the debugger to break when P2.6 = 1
The BreakSet command can be combined with the WRITE attribute and an expression. So the command below should work: BS WRITE (PORT2 & 0x40)==0x40
Many thanks for the prompt reply, that was exactly the info I needed.