This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: use a new -m option in pdb and profile invocations
Type: Stage:
Components: Documentation Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: isandler, rhettinger
Priority: normal Keywords: patch

Created on 2004-11-07 06:02 by isandler, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch.m.opt isandler, 2004-11-07 06:02
Messages (2)
msg47222 - (view) Author: Ilya Sandler (isandler) Date: 2004-11-07 06:02
The old way (described in current docs) to invoke pdb
and profile as script is  like this

python /usr/local/lib/python1.5/pdb.py myscript.py

With a new -m python option, there is now a better way
to do that.

python -m pdb myscript.py

Hence the doc update..

msg47223 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-11-07 06:18
Logged In: YES 
user_id=80475

Thanks.
History
Date User Action Args
2022-04-11 14:56:07adminsetgithub: 41133
2004-11-07 06:02:51isandlercreate