Why do breakpoints in a LocalScript appear twice in the BreakPoints window?

Every time I set a breakpoint in a line in LocalScript, the BreakPoint window shows it twice:

  1. game.Players.LocalPlayer.PlayerGui.LocalScript
  2. StartetGui.LocalScript

image

Why? Is this correct?

Anything in the StarterGui gets cloned into your PlayerGui, so of course the script breakpoints appear twice as there are two of the same script.

I know that StarterGui is cloned to PlayerGui, but that’s no logic for having 2 breakpoint indicators since the real debugging is happening only in PlayerGui…

You have a localscript in StarterGui with breakpoints. Script gets cloned into your PlayerGui. Breakpoint tab shows the two scripts and their breakpoints.

You can make a feature request if you dont want this behavior to happen

Yeah, but every time I want to disable a breakpoint in the breakpoint window, I have to do it twice…

Why? Can’t you just disable the breakpoints in your PlayerGui? What do you even need these breakpoints for?

1 Like

Your are right. I didn’t know that.
Thank you.