Skip to content
This repository was archived by the owner on Oct 2, 2025. It is now read-only.

Commit 695d866

Browse files
committed
docs: fix doc examples for addition of signal sending
1 parent f72ff7e commit 695d866

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/debugger.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ use steckrs::{
135135
/// }
136136
///
137137
/// // Step over a single instruction
138-
/// debugger.single_step()?;
138+
/// debugger.single_step(None)?;
139139
///
140140
/// // more automated debugging...
141141
///
@@ -848,11 +848,11 @@ impl<'executable, UI: DebuggerUI> Debugger<'executable, UI> {
848848
/// # // Assume debuggee is already running
849849
/// #
850850
/// // Step through one instruction
851-
/// debugger.single_step().unwrap();
851+
/// debugger.single_step(None).unwrap();
852852
///
853853
/// // Step through multiple instructions
854854
/// for _ in 0..5 {
855-
/// debugger.single_step().unwrap();
855+
/// debugger.single_step(None).unwrap();
856856
/// }
857857
///
858858
/// # }}
@@ -911,7 +911,7 @@ impl<'executable, UI: DebuggerUI> Debugger<'executable, UI> {
911911
/// # // Assume debuggee is already running and in a function
912912
/// #
913913
/// // Step out of the current function
914-
/// debugger.step_out().unwrap();
914+
/// debugger.step_out(None).unwrap();
915915
///
916916
/// # }}
917917
/// ```
@@ -1289,7 +1289,7 @@ impl<'executable, UI: DebuggerUI> Debugger<'executable, UI> {
12891289
/// # // Assume debuggee is already running
12901290
/// #
12911291
/// // Step into the next function call
1292-
/// debugger.step_into().unwrap();
1292+
/// debugger.step_into(None).unwrap();
12931293
///
12941294
/// # }}
12951295
/// ```

0 commit comments

Comments
 (0)