Pythonista-Issues icon indicating copy to clipboard operation
Pythonista-Issues copied to clipboard

Improved debugging

Open mmccthomas opened this issue 10 months ago • 0 comments

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.

mmccthomas avatar Mar 17 '25 12:03 mmccthomas