pydbg icon indicating copy to clipboard operation
pydbg copied to clipboard

When called in a function argument context, displays wrong expression

Open ZettaScript opened this issue 4 years ago • 0 comments

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

ZettaScript avatar Oct 02 '20 12:10 ZettaScript