Lie Ryan wrote:
On 12/11/2009 12:37 AM, Jean-Michel Pichavant wrote:
Diez B. Roggisch wrote:
By just inserting the print foo statement right after changing foo's
value, I've rolled back the value to 'foo' ??? A hell of a wtf pdb
feature !
Apparently it's fixed in 2.7 and 3.1
D:\Lie Ryan\Deskt
On 12/11/2009 12:37 AM, Jean-Michel Pichavant wrote:
Diez B. Roggisch wrote:
By just inserting the print foo statement right after changing foo's
value, I've rolled back the value to 'foo' ??? A hell of a wtf pdb
feature !
Apparently it's fixed in 2.7 and 3.1
D:\Lie Ryan\Desktop>python27 d.py
Diez B. Roggisch wrote:
Jean-Michel Pichavant wrote:
Guys,
I have some problem changing method locals with pdb:
import pdb
def test():
foo = 'foo'
pdb.set_trace()
test()
--Return--
> /home/jeanmichel/trunk/tnt/test.py(5)test()->None
-> pdb.set_trace()
(Pdb) print foo
foo
(Pdb) f
Jean-Michel Pichavant wrote:
> Guys,
>
> I have some problem changing method locals with pdb:
>
> import pdb
>
> def test():
> foo = 'foo'
> pdb.set_trace()
>
> test()
> --Return--
> > /home/jeanmichel/trunk/tnt/test.py(5)test()->None
> -> pdb.set_trace()
> (Pdb) print foo
> foo
> (Pd
Guys,
I have some problem changing method locals with pdb:
import pdb
def test():
foo = 'foo'
pdb.set_trace()
test()
--Return--
> /home/jeanmichel/trunk/tnt/test.py(5)test()->None
-> pdb.set_trace()
(Pdb) print foo
foo
(Pdb) foo = 'bar'
(Pdb) print foo
foo
(Pdb)
I tried us