Hi, I need to track where a certain condition is met in a program.
Checking on pdb docs I find the break statement :

b(reak) [[/filename/:]/lineno/ | /function/[, /condition/]]

But it requires me to name a line/function where my condition is tested.
Now there are far too many places in a project where this condition may
be set to true, and I might overlook some (and it would take an awful
lot of time to identify them all). Is there a statement that allows me
to stop execution when a condition is met regardless of where this happens?

Thx.

Ricardo.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to