使用带有instanceof的条件断点时出错.是我还是eclipse?

osh*_*osh 7 eclipse debugging conditional-breakpoint

我的休息条件:
事件instanceof org.geomajas.gwt.client.widget.event.SearchEvent我尝试了其他变体,例如事件instanceof SearchEvent/with parantheses and with/out";"

错误:评估必须包含表达式或格式良好的语句块

解决方案: ?

顺便说一下,我正在使用jdk 1.6.25

小智 5

return event instanceof org.geomajas.gwt.client.widget.event.SearchEvent;
Run Code Online (Sandbox Code Playgroud)

应该做到的