CodeGym/Java Tasks/Changing shoes on the move

Changing shoes on the move

  • 5
  • Locked
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
You can't complete this task, because you're not signed in.
Comments (7)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Anonymous #11549069
Level 10 , Katowice, Poland
Expert
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
Anthony Cordero
Level 6 , Puerto Rico
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.
Nicholas Kennedy
Level 9 , Belfast, United Kingdom
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".
Abe unemployed
15 November 2022, 00:53
on which line exactly do we place the breakpoint?
Anthony Cordero
Level 6 , Puerto Rico
7 February 2024, 17:09
On the println()
Mike S
Level 28 , Saint Louis, United States
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
Alena
Level 6 , Slovakia
12 July 2022, 11:18
Thank you, I had a same problem....