import ipdb
my_var = 1
try:
assert my_var == 2
except AssertionError:
ipdb.set_trace()
raise
Is there an easy way to retry the failing block if the value of my_var
is changed in the resulting ipdb console?
import ipdb
my_var = 1
try:
assert my_var == 2
except AssertionError:
ipdb.set_trace()
raise
Is there an easy way to retry the failing block if the value of my_var
is changed in the resulting ipdb console?