reberhardt7 / cplayground

GNU General Public License v3.0
115 stars 14 forks source link

Client: Add ability to mark breakpoints #13

Closed reberhardt7 closed 4 years ago

reberhardt7 commented 4 years ago

This PR adds the ability for users to set breakpoints in the client. Clicking a line number will display a red circle next to that line, and the line number will be added to a breakpoints array in the App state. Clicking the line number a second time will remove the breakpoint. Breakpoints stay anchored to lines of code, so they will move around appropriately if you add/remove code earlier in the file.