Skip to content

Commit 8e40311

Browse files
committed
haps: include breakpoint number in stop reason debug output
1 parent 815c897 commit 8e40311

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/haps/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ impl Tsffs {
428428
let (exit_kind, iteration_count) = match kind {
429429
SolutionKind::Timeout => (ExitKind::Timeout, IterationCount::Timeout),
430430
SolutionKind::Exception { .. }
431-
| SolutionKind::Breakpoint
431+
| SolutionKind::Breakpoint { .. }
432432
| SolutionKind::Manual => (ExitKind::Crash, IterationCount::Solution),
433433
};
434434

@@ -571,7 +571,7 @@ impl Tsffs {
571571
);
572572

573573
self.stop_simulation(StopReason::Solution {
574-
kind: SolutionKind::Breakpoint,
574+
kind: SolutionKind::Breakpoint { number: breakpoint },
575575
})?;
576576
}
577577
Ok(())

src/state/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub(crate) use policy::SnapshotRestorePolicy;
2222
pub(crate) enum SolutionKind {
2323
Timeout,
2424
Exception { number: i64 },
25-
Breakpoint,
25+
Breakpoint { number: i64 },
2626
Manual,
2727
}
2828

0 commit comments

Comments
 (0)