From: ajay paswan Date: 2012-08-10T00:49:26+09:00 Subject: Re: Why if executes two times? ZhanGNer wrote in post #1071768: > awesome Really! see the program: var=5 if var == 10 #breakpoint here puts("Variable is 10") end I am using a breakpoint here 'pointed' and when I press resume, it comes again here, but when I program with java, this is not the case, it goes to the next step. I use intelliJ IDEA. -- Posted via http://www.ruby-forum.com/.