Debug indicator pointing to a wrong line

Reproduction Steps

  1. Set a breakpoint at the first line and debug this code until line 6 (print(f)):
local f = 0
local Pos = workspace.Baseplate.Position
repeat
	f += 1
	if	f == 1 then 
		print(f)
	else
		f = 0
	end
until f == 0

image

  1. Press F10 to go to the next logic line:

image

Expected Behavior
After line 6, debug indicator should go to line 10 ( until)

Actual Behavior
After line 6, debug indicator pointing to line 8 ( f = 0)

Issue Area: Studio
Issue Type: Other
Impact: Moderate
Frequency: Constantly

Thank you for the report.

We have implemented a fix for this issue and it should become available in one of the next updates.

3 Likes

This issue should now be resolved! If this issue is still occurring, please create a new topic for us to look into.

1 Like

This topic was automatically closed after 3 days. New replies are no longer allowed.