Project: aptanastudio
Issue APSTUD-7265: Debugger: Rapid use of the toggle breakpoint shortcut key creates duplicate entries.
While setting up the PHP Debugger I encountered the following, using the keyboard shortcut I can create multiple entries for the same line in the breakpoints window. I select a single line and rapidly press the key command to toggle a breakpoint (CMD + Shift + B) while in the editor. After 10 or so button presses additional duplicate entries are added into the Breakpoints window. Steps to recreate: 1. Open a file to debug. 2. Change to Debug view. 3. Place the cursor on a line 4. Rapidly press ctrl+shift+b Expected result: Only one breakpoint entry appears and disappears in the Breakpoint window. Actual result: If the key strikes are close enough together a second entry is added and is not removed when there are no breakpoints on that line. Note: I have only been able to recreate this on Mac as Windows has a popup choice menu.
Story points: 5