Multiple listings of same breakpoint in inspector

In the breakpoint pane of the inspector window I’m seeing multiple listings of the same breakpoint in a script.

In this screen shot I have a script with three breakpoints (lines 92, 110, 145).

It correctly displays the ones on lines 92 and 145, but also shows 7 versions of the one on line 110.

→ Script Debugger 8.0.3 (8A49)
→ MacOS 11.6.2

I think this happens if you have breakpoints on lines, and then delete the text with the breakpoint assigned. Just go to the Breakpoints list and delete all the duplicate breakpoints to remove them.

I’ll file a bug at our end to try and improve the handling of text deletion to ensure duplicate breakpoints are removed in the future.

If it’s any help, it happened again, this time I cut text with a breakpoint from one handler to create a new handler and all the duplicates were to the same line in the new handler.