mproeller added the comment:
This is the pdb session at the tracepoint in line 4 in the function func
()
So I did the following first:
> c:\test.py(5)func()
-> a = b + 2
(Pdb) p b
13
(Pdb) !b=5
(Pdb) p b
13
(Pdb) n
> c:\test.py(6)func()
-> print a
(Pdb) n
15
I tried to change th
New submission from mproeller :
The following code produces problems:
import pdb
def func():
b = 13
pdb.set_trace()
a = b + 2
print a
func()
If I change the value of b (e.g. to 3) everything works fine
(print a => displays 5)
but if I want to change b (e.g. t