I am trying to debug my code and for this I have created a breakpoint with a condition that is that when it is a specific number it stops. It has been working correctly for me but with the problem that when that variable is getting a value to null, eclipse stops debugging and shows me an error message in the conditional telling me that the value gets to null.
What I have thought then is at that point first check if the value is null and then check the code in case it is not null, but I don't know how to put it. At the moment I am trying it like this among other ways that I have already tried but without any success. I leave you an image of how I am currently leaving it:
Does anyone know if what I want to do is possible?
It's like any condition in Java: