New submission from Markus Pröller :
Hello,
with python 2.7 I encounter the following problem:
I have created the following sample script:
import pdb
def function_1(number):
stack_1 = number
function_2(stack_1)
def function_2(number):
stack_2 = number + 1
function_3
Markus Pröller added the comment:
Okay,
thanks for giving me the correct patch, but I still face the following problem
(with the same code snippet):
> c:\tst_pdb.py(14)function_3()
-> print stack_3
(Pdb) l
9 function_3(stack_2)
10
11 def function_3(number
Markus Pröller added the comment:
Hello,
I changed pdb.py to the file I added in the attachment (I just used the given
patch pdb_cache_f_locals.patch)
Then I created the following file:
import pdb
def function_1(number):
stack_1 = number
function_2(stack_1)
def function_2
Markus Pröller added the comment:
Hello,
I have tested this patch since a while. In the meantime I have switched to
Python 2.6.5, but the problem that I described above is still there.
Another problem that brought the patch is, that when I move a frame up in the
stack trace, the variables