Practice declaring and changing the values of variables while a program is running:
1. Put a break point on the call to the println method and run the program in debug mode.
2. After execution stops, press F8 exactly 9 times.
3. Look at the current value for the correction variable and set the fahre
Changing shoes on the move
- 5
Locked
Comments (7)
- Popular
- New
- Old
You must be signed in to leave a comment
Anonymous #11549069Expert
31 May 2025, 23:29
how i am supposed to set breaking point ? i am using firefox browser and I am clicking in any place near this line >> System.out.println(correction);<< (on 15 number, before it , after it ) and there is no point , red mark , breaking point like in intellJ . i am using wide mode and normal mode, nothing helps
0
Anthony Cordero
7 February 2024, 17:08
"Look at the current value for the correction variable and set the fahrenheit variable to the same value (in the debug window)."
I dont understand this step exactly. Were not supposed to change the main method and I cant change the value in the debug window can I? Someone please explain.
0
Nicholas Kennedy
26 January 2023, 12:24
When completed in IDEA, this task always failed on the condition the main method was changed. It worked the first time using the online editor, after only changing the "result = 105".
0
Abe unemployed
15 November 2022, 00:53
on which line exactly do we place the breakpoint?
+1
Anthony Cordero
7 February 2024, 17:09
On the println()
0
Mike S
12 February 2022, 13:10
To move stepwise through a set of code, F8 did not do anything for me. Perhaps it's because I'm working with a newer version, but regardless. I hit my head against a wall many times until I found that, to move stepwise, I needed to use Alt + Shift + F8
+2
Alena
12 July 2022, 11:18
Thank you, I had a same problem....
+1