This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The IDE should tell the users if they make mistake during entering condition; Let's consider following dummy example: public class Test { public static void main(String[] args) { List<User> users = new ArrayList<User>(); users.add(new User("a",45)); users.add(new User("b",8)); for (User user : users) { if (user.age<=45) { System.out.println(user.age); System.out.println(user.name); } } } } Let's assume that by mistake i added following condition :user.age=8 instead of user.age==8 and put it on the if (user.age<=45) { line. The current output during debug will become: 8 a 8 b The expected result should be error box saying that i condition i added to the breakpoint in not valid. Thanks, Medea