Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Editor 2: Breakpoints persist after the line of code is deleted #1160

Closed
iampremo opened this issue Jul 31, 2023 · 6 comments
Closed

Code Editor 2: Breakpoints persist after the line of code is deleted #1160

iampremo opened this issue Jul 31, 2023 · 6 comments
Assignees
Labels
ide-bug Bugs with the GameMaker IDE import An issue imported from the old database
Milestone

Comments

@iampremo
Copy link
Member

GM-2193

Bug Type: Bug in the UI or IDE functionality
Ide: 2.3.5.589
Runtime: 2.3.5.458
Os: Windows 10
Components: Debugger

Description: Hello, this is a very minor issue and I'm not entirely sure how to reproduce it. BUT

What I'm running into is a breakpoint at line 87 that persists despite that script asset no longer having 87 lines or a breakpoint marked with the red dot. I had some commented out code in a script that I deleted (tbh not sure when I deleted this, sorry). I think a breakpoint was around there somewhere. At current time, no breakpoints are showing red dots in the code editor. And yet the program stops at the end of the script. I investigated the Breakpoints window and it showed a breakpoint still existing at line 87. I turned it off via this window and the problem is resolved.

@zreedy
Copy link

zreedy commented Aug 16, 2024

Fixed for CE2, as apart of a fix for #7306 which was referred from #5578

@zreedy
Copy link

zreedy commented Aug 19, 2024

Fixed + Merged

@zreedy zreedy closed this as completed Aug 19, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo moved this from Done to Ready for QA in Team Workload Aug 20, 2024
@YYDan YYDan added this to the 2024.10 milestone Aug 20, 2024
@YYDan YYDan changed the title Breakpoints persist when code is deleted Code Editor: Breakpoints persist after the line of code is deleted Aug 20, 2024
@YYDan YYDan changed the title Code Editor: Breakpoints persist after the line of code is deleted Code Editor 2: Breakpoints persist after the line of code is deleted Sep 19, 2024
@mgeddesGM
Copy link

issue is still present in IDE v2024.1100.0.624 Runtime v2024.1100.0.650

  1. i made a new project
  2. created a script
  3. added 11 lines of "show_debug_message("bob")"
  4. added break points to lines 8-11
  5. i then deleted these lines
  6. ran debugger and it stopped on line 7
  7. the breakpoints tab still showed break points

i repeated this with a similar project but i ran the project with debugger then reran after deleting the debugger lines
{57B973B2-8B3D-4D55-9B02-B633C5BED250}

@mgeddesGM mgeddesGM reopened this Sep 23, 2024
@github-project-automation github-project-automation bot moved this from Ready for QA to Triage in Team Workload Sep 23, 2024
@stuckie stuckie moved this from Triage to Todo in Team Workload Sep 23, 2024
@zreedy
Copy link

zreedy commented Oct 11, 2024

It should be noted that the repro above requires that you delete 4 or more contiguous breakpoints otherwise the bug is not observed.

@zreedy
Copy link

zreedy commented Oct 11, 2024

Fixed the remaining edge cases.

@zreedy zreedy closed this as completed Oct 12, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Team Workload Oct 12, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo moved this from Done to Ready for QA in Team Workload Oct 14, 2024
@sihammill
Copy link

Fix verified in IDE v2024.1100.0.646 Runtime v2024.1100.0.666

@sihammill sihammill moved this from Ready for QA to Verified in Team Workload Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide-bug Bugs with the GameMaker IDE import An issue imported from the old database
Projects
Status: Verified
Development

No branches or pull requests

5 participants