When setting a breakpoint inside of an Activated event listener for a GUI button, Studio will immediately freeze once the breakpoint is reached. I haven’t tested with other events.
To reproduce:
- Open the provided place file and press play.
- Once you spawn, look in the Output widget and click on the text to open the script.
- Set a breakpoint on the indicated line.
- Click the GUI button on screen.
- Studio will immediately hang.
BreakpointFreeze3.rbxl (20,1 KB)
This is just a LocalScript inside of a button.
script.Parent.Activated:Connect(function()
print("A") -- Breakpoint here
end)
Full program dump:
https://devforum.roblox.com/t/freeze-on-breakpoint-in-callback-in-lua-class-that-gets-called-in-an-event-listener/691618
I’m using Windows 10.
This happens with all beta features disabled.