set_trace
Set break-point at current location, or a specified frame.
def set_trace(
frame: frame object = None
) - > None
Set break-point at current location, or a specified frame.
Parameters
| Name | Type | Description |
|---|---|---|
| frame | frame object = None | The execution frame where the debugger should start; if omitted, the debugger starts at the caller's frame. |
Returns
| Type | Description |
|---|---|
None | This function typically returns None after the debugger session is initialized and control is handed over to the interactive prompt. |