Community
Participate
Working Groups
I'm trying to set breakpoint at FileInputStream(File) constructor with following condition: file != null && file.toString().endsWith("stdout") All I get is error "Evaluation must contain either an expression or a block of well-formed statements". Not informative at all, especially when the condition is perfectly correct. When I copy it to place where I have "java.io.File file" variable, it compiles perfectly. And there is probably local variable info present as when debugger stops there (complaining about uncompilable condition), variables window contains "file" variable with the correct value. Even simplest condition (file != null) does not compile. Eclipse version: 2020-12 (4.18.0) Eclipse build: 20201210-1552 Java 11
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.