summaryrefslogtreecommitdiffstats
path: root/Doc/library/pdb.rst
Commit message (Collapse)AuthorAgeFilesLines
* gh-104301: Allow leading whitespace in disambiguated pdb statements (#104342)James Gerity2023-05-111-3/+11
|
* GH-97950: Use new-style index directive ('module') (#103996)Adam Turner2023-05-041-2/+2
| | | | | | | | | | | | | | | | | * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference * Use new-style index directive ('module') - Tutorial * Uncomment module removal in pairindextypes * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference
* gh-103693: Add convenience variable feature to `pdb` (#103694)Tian Gao2023-05-031-0/+15
|
* gh-103237: Polish pdb docs (#103238)Tian Gao2023-04-121-38/+100
|
* gh-103143: Polish pdb help messages and doc strings (GH-103144)Tian Gao2023-04-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Made all the command part of the docstring match the official documentation * Always have a space between the command and the description in docstring * Added a helper function to format the help message Before: ``` (Pdb) h a a(rgs) Print the argument list of the current function. (Pdb) h commands commands [bpnumber] (com) ... (com) end (Pdb) ... (Pdb) h interact interact Start an interactive interpreter whose global namespace contains all the (global and local) names found in the current scope. ``` After ``` (Pdb) h a Usage: a(rgs) Print the argument list of the current function. (Pdb) h commands Usage: (Pdb) commands [bpnumber] (com) ... (com) end (Pdb) ... (Pdb) h interact Usage: interact Start an interactive interpreter whose global namespace contains all the (global and local) names found in the current scope. ``` Automerge-Triggered-By: GH:brandtbucher
* Update pdb docs for arguments (#102965)gaogaotiantian2023-03-251-21/+21
|
* Docs: improve accuracy of pdb alias example (#102892)gaogaotiantian2023-03-221-1/+1
|
* gh-102354: change python3 to python in docs examples (#102696)Paul Watson2023-03-141-2/+2
|
* GH-56426: Add cross-reference to the documentation for faulthandler, ↵Furkan Onder2023-02-041-0/+9
| | | | | traceback, and pdb. (#101157) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* pdb docs: workaround for double semicolon in strings (#17011)Godefroid Chapelle2022-05-081-1/+2
| | | | | see https://github.com/gotcha/ipdb/issues/172 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-28546: [doc] Clarify setting pdb breakpoints (GH-30360)Hugo van Kemenade2022-01-071-5/+4
| | | | Co-authored-by: Ian Kelling <ian@iankelling.org>
* bpo-41137: Use utf-8 encoding while reading .pdbrc files (GH-21263)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2021-07-081-4/+8
|
* bpo-40773: Fix rendering for 'retval' on the pdb page (GH-21081)Arisaka972020-06-241-0/+1
| | | Automerge-Triggered-By: @merwok
* bpo-36277: Add document for pdb debug and retval commands (GH-12872)Dave Nguyen2019-11-211-0/+8
| | | | | | | https://bugs.python.org/issue36277 Automerge-Triggered-By: @csabella
* bpo-38438: Simplify argparse "star nargs" usage. (GH-17106)Brandt Bucher2019-11-111-3/+3
|
* bpo-37390: Add audit event table to documentations (GH-14406)Steve Dower2019-06-271-1/+1
| | | Also updates some (unreleased) event names to be consistent with the others.
* bpo-37363: Add audit events for a range of modules (GH-14301)Steve Dower2019-06-241-0/+2
|
* bpo-35835: Add reference to Python 3.7 new breakpoint() function in pdb ↵João Matos2019-01-301-0/+4
| | | | documentation. (GH-11691)
* Doc: Remove superfluous markup. (GH-8112)Julien Palard2018-07-061-1/+1
| | | The line is speaking of a list of commands, not the list command.
* bpo-32724: Fix references to commands in Doc/pdb.rst (GH-5444)Stéphane Wirtel2018-01-301-5/+8
| | | | | Some commands are specified in the documentation, but there is no direct references.
* bpo-32206: Pdb can now run modules (GH-4752)Mario Corchero2018-01-061-0/+6
| | | | | | | | | | | Add a new argument "-m" to the pdb module to allow users to run `python -m pdb -m my_module_name`. This relies on private APIs in the runpy module to work, but we can get away with that since they're both part of the standard library and can be updated together if the runpy internals get refactored.
* Add version{changed,added} markers and make minor style changes (GH-4273)Berker Peksag2017-11-041-3/+3
|
* bpo-31389 Add an optional `header` argument to pdb.set_trace() (#3438)Barry Warsaw2017-09-221-4/+8
| | | | | | | | | | * Give pdb.set_trace() an optional `header` argument * What's new. * Give pdb.set_trace() an optional `header` argument * What's new.
* bpo-28315: Improve code examples in docs (GH-1372)UltimateCoder2017-05-031-1/+1
| | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>
* Merge doc fixups from 3.5Martin Panter2016-11-211-1/+1
|\
| * Change double hyphens (en dashes) to em (longer) dashesMartin Panter2016-11-211-1/+1
| |
* | Fix Python version in pdb.rstBerker Peksag2016-09-101-2/+2
| |
* | Issue #18401: pdb tests don't read ~/.pdbrc anymoreŁukasz Langa2016-09-101-1/+7
|/ | | | Patch by Martin Matusiak and Sam Kimbrel.
* Fix misspellingTerry Jan Reedy2016-08-241-1/+1
|
* Fix spelling and grammar in documentation and code commentsMartin Panter2016-08-041-1/+1
|
* Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-2/+2
| | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* Marked keystrokes with the :kbd: role.Serhiy Storchaka2015-09-121-2/+2
| | | | Fixed the case of the "Ctrl-" prefixes.
* add link to pdb source (closes #22528)Benjamin Peterson2014-09-301-0/+3
|
* #18764: p(rint) -> p in pdb docs.R David Murray2013-10-101-1/+7
| | | | | Missed changing the doc for the command itself, patch for that also by Connor Osborn.
* 18764: remove the problematic 'print' alias for the PDB 'p' command.R David Murray2013-10-101-3/+3
| | | | | | So that it no longer shadows the print function. Patch by Connor Osborn, doc and test changes by R. David Murray.
* Close #14210: add command argument completion to pdb: complete file names, ↵Georg Brandl2012-03-101-0/+5
| | | | global/local variables, aliases
* Issue #10902: Fix reference to run* methodsEli Bendersky2011-01-141-1/+1
|
* Add display/undisplay pdb commands.Georg Brandl2010-12-041-0/+16
|
* #7245: Add a SIGINT handler on continue in pdb that allows to break a ↵Georg Brandl2010-12-041-1/+11
| | | | program again by pressing Ctrl-C.
* Add the "interact" pdb command from pdb++.Georg Brandl2010-12-041-0/+8
|
* Fix #10561 - Fix pdb behavior. Delete the breakpoints by breakpoint number.Senthil Kumaran2010-11-291-1/+2
| | | | | Handle multiple breakpoints at same line. Update docs/test. Patch by Xavier de Gaye.
* Re-add "debugger" label, it is used in pydoc-topics.Georg Brandl2010-10-291-0/+2
|
* Issue #7061: Dropped "for Tk" from turtle module title and moved itsAlexander Belopolsky2010-10-271-3/+1
| | | | | doc section under frameworks. Also fixed a couple of markup issues that affected TOC rendering.
* Show the traceback line numbers as well as the current line numbers if an ↵Georg Brandl2010-07-301-1/+10
| | | | exception is being debugged. Courtesy of pdb++ by Antonio Cuni. Also document -> and >> markers for "list".
* Add "longlist" and "source" commands, ideas borrowed from pdb++ by Antonio Cuni.Georg Brandl2010-07-301-0/+12
|
* #1472251: remove addition of "\n" to code given to pdb.run[eval](), the bug ↵Georg Brandl2010-07-301-11/+11
| | | | in exec() that made this necessary has been fixed. Also document that you can give code objects to run() and runeval(), and add some tests to test_pdb.
* Document the "jump" command in pdb.__doc__, and add a version tag for "until X".Georg Brandl2010-07-301-0/+3
|
* Allow giving an explicit line number to "until".Georg Brandl2010-07-301-3/+7
|
* #1437051: allow "continue"/"next"/etc. in .pdbrc, also add pdb -c option to ↵Georg Brandl2010-07-301-4/+13
| | | | give these commands. This allows to run a script until an exception occurs.
* Fix some markup glitches.Georg Brandl2010-07-231-1/+2
|