Gdb Script While Loop Break Javascript