Skip to content

Commit

Permalink
fix(debugger): infinite loop in breakpoint id computation
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwalker committed Aug 28, 2024
1 parent a2d6bc7 commit 89cb0d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions midenc-debug/src/ui/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ impl State {
.any(|bp| bp.id == candidate)
{
candidate = next;
next = candidate.wrapping_add(1);
continue;
}
self.next_breakpoint_id = next;
Expand Down

0 comments on commit 89cb0d6

Please sign in to comment.