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.
Created on 2002年04月14日 11:33 by flight, last changed 2022年04月10日 16:05 by admin. This issue is now closed.
Messages (2) | |||
---|---|---|---|
msg10326 - (view) | Author: Gregor Hoffleit (flight) | Date: 2002年04月14日 11:33 | |
pdb gives contradictory messages when I try to leave it: "exit" gives me the message 'Use Ctrl-D (i.e. EOF) to exit.'; when I then press "Ctrl-D", nothing happens. Only "quit" will exit the debugger: freefly:1> python2.2 /usr/lib/python2.2/pdb.py /tmp/xxx.py > <string>(0)?() (Pdb) exit 'Use Ctrl-D (i.e. EOF) to exit.' (Pdb) [Ctrl-D](Pdb) quit freefly:2> The cause for this trouble is that exit() is defined in site.py to issue that warning, but then, "Ctrl-D" is not accordingly handled in pdb.py. So either pdb.py should be fixed to handle "Ctrl-D" like "quit", or "exit" should be changed in pdb.py to either quit the program or just do nothing. |
|||
msg10327 - (view) | Author: Guido van Rossum (gvanrossum) * (Python committer) | Date: 2002年04月15日 00:49 | |
Logged In: YES user_id=6380 The easiest solution was to add exit as an alias of quit, and that's what I've done in CVS. There's still the problem with ^D being ignored; I'd be happy to get a patch for that. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022年04月10日 16:05:13 | admin | set | github: 36431 |
2002年04月14日 11:33:26 | flight | create |