File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -697,6 +697,17 @@ can be overridden by the local file.
697
697
.. pdbcommand :: q(uit)
698
698
699
699
Quit from the debugger. The program being executed is aborted.
700
+ An end-of-file input is equivalent to :pdbcmd: `quit `.
701
+
702
+ A confirmation prompt will be shown if the debugger is invoked in
703
+ ``'inline' `` mode. Either ``y ``, ``Y ``, ``<Enter> `` or ``EOF ``
704
+ will confirm the quit.
705
+
706
+ .. versionchanged :: 3.14
707
+ A confirmation prompt will be shown if the debugger is invoked in
708
+ ``'inline' `` mode. After the confirmation, the debugger will call
709
+ :func: `sys.exit ` immediately, instead of raising :exc: `bdb.BdbQuit `
710
+ in the next trace event.
700
711
701
712
.. pdbcommand :: debug code
702
713
Original file line number Diff line number Diff line change 641
641
command when :mod: `pdb ` is in ``inline `` mode.
642
642
(Contributed by Tian Gao in :gh: `123757 `.)
643
643
644
+ * A confirmation prompt will be shown when the user tries to quit :mod: `pdb `
645
+ in ``inline `` mode. ``y ``, ``Y ``, ``<Enter> `` or ``EOF `` will confirm
646
+ the quit and call :func: `sys.exit `, instead of raising :exc: `bdb.BdbQuit `.
647
+ (Contributed by Tian Gao in :gh: `124704 `.)
648
+
644
649
645
650
pickle
646
651
------
You can’t perform that action at this time.
0 commit comments