pydbg
pydbg copied to clipboard
When called in a function argument context, displays wrong expression
This works:
1+dbg(1)
# prints [test.py:2] 1 = 1
but when dbg
is in function arguments, it displays the parent expression:
int(1+dbg(1))
# prints [test.py:2] 1+dbg(1) = 1