Breakpoints in junit test file don't work


Hi I am using Intellij IDEA 2021.1 with Maven project and when I set a conditional breakpoint in a test file, it does not stop. There is a '?' icon next to it, that I can not find in the documentation what it means. I see the file name in the variables section, I Marked the object, which is of File type. When I put in fileName="puzzle3x3-11.txt", I see a message stating: "Breakpoint Condition Error" Problem processing VM event: ... Reason: Boolean value expected". So I changed the condition to fileName=="puzzzle3x3-11.txt" and this time I do not see the error, but it never stops. I just pushed my latest version to



I also attached some images of what I am seeing.

Comment actions Permalink

Thanks. It worked.


Please sign in to leave a comment.