| 603 | } |
| 604 | |
| 605 | fn breakpoints(&mut self, address: u64, list: &mut Vec<String>) { |
| 606 | while let Some((wasm_pc, addr, patch)) = self.breakpoints.next_if(|(_, addr, patch)| { |
| 607 | u64::try_from(*addr).unwrap() + u64::try_from(patch.len()).unwrap() <= address |
| 608 | }) { |
| 609 | if u64::try_from(addr).unwrap() + u64::try_from(patch.len()).unwrap() != address { |
| 610 | continue; |
| 611 | } |
| 612 | list.push(format!( |
| 613 | "breakpoint patch: wasm PC {wasm_pc}, patch bytes {patch:?}" |
| 614 | )); |
| 615 | } |
| 616 | } |
| 617 | |
| 618 | fn describe_local_shape(desc: &FrameStateSlot<'_>) -> String { |
| 619 | let mut parts = vec![]; |