1. 在Breakpoints页面,选中断点然后右键,选择"Breakpoint Properties"

eclipse设置条件断点_右键

2. 勾选Conditional,并输入条件。这样,当name等于"dubbo"时,就会暂停。

eclipse设置条件断点_右键_02