omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    A neat feature with unhandled exceptions

    Pythonista
    2
    2
    1292
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dgelessus
      dgelessus last edited by

      Here's a small feature you may not know about:

      When a script generates some kind of exception that is not handled, Pythonista displays the line at which it occured. This however also suppresses the stacktrace being printed to the console, which makes finding bugs hard. What you may not know (I certainly didn't until now) is that the stacktrace can still be viewed by tapping the now red script name, which will show the full stacktrace in addition to the regular class and function list.

      1 Reply Last reply Reply Quote 0
      • userista
        userista last edited by

        that's awesome! I had no clue. When working on my iPhone in portrait the error message would get cut off and I would re-run the code in landscape just to see the error. No more of that!! Thanks!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB Forums | Contributors