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
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.

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

"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.
Date User Action Args
2016-10-28 18:04:44xdegayesetnosy: + xdegaye
2016-10-28 12:55:42iankcreate