The test subcommand may be used to break at a specified address when a condition becomes true.
KDB(0)> bt open "[ @sysinfo >= 3d ]" stop on open() if condition true KDB(0)> e exit debugger ... Enter kdb [ @sysinfo >= 3d ] KDB(1)> bt display current active trace break points 0: .open+000000 (sid:00000000) trace {hit: 1} {script: [ @sysinfo >= 3d ]} KDB(1)> dw sysinfo 1 print sysinfo value sysinfo+000000: 0000004A