Breakpoints in list / dict comprehensions Follow
When I set a breakpoint inside a list or dict comprehension, the debugger does not show all the relevant bound variables when it stops at the breakpoint, even when inside one of the iterations of that iteration. Am I doing something wrong?
return { x : y ### BREAKPOINT HERE
for x, y in self.foo ### OR HERE
if pred(x) } ### OR HERE
Thanks!
return { x : y ### BREAKPOINT HERE
for x, y in self.foo ### OR HERE
if pred(x) } ### OR HERE
Thanks!
Please sign in to leave a comment.
And it seems correct for me.
What variables are missing for you?
On Oct 16, 2012, at 11:57 AM, Dmitry Trofimov - PyCharm wrote: