Pythonista-Issues
Pythonista-Issues copied to clipboard
Improved debugging
It would be great if Pythonista included a conditional breakpoint, I.e. breakpoint that is active if a value satisfies a condition. This would allow jumping to a particular iteration in a loop or jumping over loops. I have used similar previously in PyCharm on Windows.
Currently in Pythonista I frequently have to ‘misuse’ list comprehensions to allow simple skipping of loops at [function for item in iterable] with no result defined. Conditional breakpoints would alleviate this.
It would also be great if breakpoints spanned sub-modules. They only activate on the top level and breakpoints in lower level modules do not activate.