BlueJ is an open source IDE (integrated development environment) that utilises the Java programming language. BlueJ is primarily used as an educational tool to teach object-oriented programming and application development. The program interface is far more simplistic than a full-scale IDE, and some basic program features are hidden away in sub-menus. When testing your project in BlueJ, you may run into an infinite loop. Loops will repeat themselves infinitely if the termination conditions of the loop are handled incorrectly. To return to your project and fix the code, you first need to stop your program and end the infinite loop.
- Skill level:
Other People Are Reading
Click on "View" in the main tool bar at the top of the BlueJ application window.
Click "Show Debugger" in the "View" menu drop-down box.
Click the "Halt" button from within the debugger to stop the program and end the infinite loop.
Tips and warnings
- Press "Ctrl + D" on your keyboard to access the debugger quickly.
- If your infinite loop includes user input, you will need to satisfy the input after ending the program with the "Halt" button. Once the user input is satisfied, the infinite loop will be stopped.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for