New submission from Alexander Ulyanov <alex.u...@gmail.com>:

Through out my experience with python debugger, I often found myself creating 
if-statements around set_trace() instructions. This patch introduces a key-word 
argument that allows to pass in a boolean or a condition that evaluates to 
boolean to control whether pdb.set_trace() command needs to be executed.

----------
messages: 351324
nosy: alex-ulnv
priority: normal
severity: normal
status: open
title: enhance pdb.set_trace() to run when the specified condition is true
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38054>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to