still have the same issue:
-> import pdb; pdb.set_trace()
(Pdb) list
1 gv = 1
2
3 def f():
4 lv = 1
5 -> import pdb; pdb.set_trace()
6
7 if __name__ == '__main__':
8 f()
[EOF]
(Pdb) lv
1
(Pdb) lv = 2
(Pdb) lv
1
(Pdb)
--
Djoume Salv
Thank you and sorry about the pastebin.
I can reproduce it on python 2.5.2 and python 2.6.6 but not on python 3.1.2
(all in ubuntu). I'll open a bug.
--
Djoume Salvetti
Director of Development
T:416.601.1999 x 249
www.trapeze.com twitter: trapeze
175 Bloor St. E., South Tower, Suit
Hi there,
When calling pdb.set_trace() from within a function, it seems to be
impossible to rebind any local variables:
http://paste.pound-python.org/show/5150/
I couldn't find anything in the documentation about this, should I report a
bug?
--
Djoume Salvetti
Director of Developme