@@ -427,9 +427,9 @@ impl Tsffs {
427427
428428 let ( exit_kind, iteration_count) = match kind {
429429 SolutionKind :: Timeout => ( ExitKind :: Timeout , IterationCount :: Timeout ) ,
430- SolutionKind :: Exception | SolutionKind :: Breakpoint | SolutionKind :: Manual => {
431- ( ExitKind :: Crash , IterationCount :: Solution )
432- }
430+ SolutionKind :: Exception { .. }
431+ | SolutionKind :: Breakpoint { .. }
432+ | SolutionKind :: Manual => ( ExitKind :: Crash , IterationCount :: Solution ) ,
433433 } ;
434434
435435 // Solution/timeout path: classify exit kind and increment corresponding counters.
@@ -547,7 +547,7 @@ impl Tsffs {
547547 pub fn on_exception ( & mut self , _obj : * mut ConfObject , exception : i64 ) -> Result < ( ) > {
548548 if self . all_exceptions_are_solutions || self . exceptions . contains ( & exception) {
549549 self . stop_simulation ( StopReason :: Solution {
550- kind : SolutionKind :: Exception ,
550+ kind : SolutionKind :: Exception { number : exception } ,
551551 } ) ?;
552552 }
553553 Ok ( ( ) )
@@ -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 ( ( ) )
0 commit comments