classification
Title: Better explain setting pdb breakpoints
Type: Stage:
Components: Documentation Versions: Python 3.7, Python 3.6, Python 3.3, Python 3.4, Python 3.5, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, iank, xdegaye
Priority: normal Keywords: patch

Created on 2016-10-28 12:55 by iank, last changed 2016-10-28 18:04 by xdegaye.

Files
File name Uploaded Description Edit
iank-v1.patch iank, 2016-10-28 12:55 review
Messages (1)
msg279601 - (view) Author: Ian Kelling (iank) * Date: 2016-10-28 12:55
https://docs.python.org/3.7/library/pdb.html:

"The typical usage to break into the debugger from a running program is to insert

import pdb; pdb.set_trace()

at the location you want to break into the debugger."

A plain read of this says: insert code into a running program.
I can do this just fine in gdb, so when reading this, I wonder
if attaching is explained elsewhere, or what.

Patch to improve this.
History
Date User Action Args
2016-10-28 18:04:44xdegayesetnosy: + xdegaye
2016-10-28 12:55:42iankcreate