Error using conditional breakpoint with instanceof.Is it me or eclipse?

My condition for a break:
event instanceof org.geomajas.gwt.client.widget.event.SearchEvent I tried other options such as event instanceof SearchEvent / with brackets and with / out ";"

Error: estimates must contain either an expression or a block of valid statements

Decision:?

BTW I am using jdk 1.6.25

+6
source share
1 answer
return event instanceof org.geomajas.gwt.client.widget.event.SearchEvent; 

gotta do the trick

+4
source

Source: https://habr.com/ru/post/947329/


All Articles