Issue222812

classification
Title: pdb fails to run on after 1st invocation
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn
Priority: low Keywords:

Created on 2000-11-18.19:05:24 by bckfnn, last changed 2000-11-18.22:30:04 by bckfnn.

Messages
msg62 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.19:05:24
If you call pdb, then quit from pdb, then call pdb again, it
returns back immediately to the interactive prompt.

This works correctly in CPython 1.5.2 as shown below.

JPython 1.1beta3 on java1.2.2 (JIT: null)
Copyright (C) 1997-1999 Corporation for National Research Initiatives
>>> import pdb
>>> pdb.run('')
--Return--
> <string>(0)?()->None
(Pdb) q
>>> pdb.run('')
>>>


CPython 1.5.2:
-------------
Python 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on win32
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import pdb
>>> pdb.run('')
> <string>(0)?()
(Pdb) q
>>> pdb.run('')
> <string>(0)?()
(Pdb) q
>>>
msg63 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.22:30:04
Fixed in PythonTraceFunction. 
History
Date User Action Args
2000-11-18 19:05:24bckfnncreate