jonathanslenders / ptpdb

prompt_toolkit/ptpython pdb frontend
183 stars 20 forks source link

list has a meaning in ptpdb.. it shouldnt #10

Open ktaragorn opened 9 years ago

ktaragorn commented 9 years ago

list is also the list constructor

haakenlid commented 9 years ago

This is also the case with pdb from the standard library. I think the debugger commands are the same as in the GNU debugger (GDB) that has been around for several decades.

If a debugger command collides with a python identifier, you can use ! at the start of the line.

(Pdb) list
[EOF]
(Pdb) !list
<type 'list'>