Changes between Version 5 and Version 6 of ControlSystems/SoftwareTeam/Training/GettingStarted/IntroJava
- Timestamp:
- Sep 30, 2019, 4:35:44 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/SoftwareTeam/Training/GettingStarted/IntroJava
v5 v6 46 46 == Debugger 47 47 With the !VariablesExample.java program above open in the editor click to the left of the line number (7) for the line a=3; and a red dot will appear called a breakpoint. 48 [[Image(breakpoint.jpg )]]48 [[Image(breakpoint.jpg, 50%)]] 49 49 1. Click Debug->Start Debugging 50 50 2. The program will start running but will stop (break) at line 7 51 [[Image(stopped.jpg )]]51 [[Image(stopped.jpg, 50%)]] 52 52 3. Click on the Step-over icon [[Image(stepover.jpg)]] above the editor (or press function key F10) to execute that line of code and then stop again 53 53 4. Observe the Variables window in the left navigation panel and note that there is now a variable named 'a' with the value 3