omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. robnee
    3. Topics

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 20
    • Best 1
    • Controversial 0
    • Groups 0

    Topics created by robnee

    • robnee

      Specifying stderr color in theme
      Pythonista • themes • • robnee

      1
      0
      Votes
      1
      Posts
      1054
      Views

      No one has replied

    • robnee

      sys.argv when using the debugger
      Pythonista • • robnee

      3
      0
      Votes
      3
      Posts
      2385
      Views

      robnee

      Thanks for sharing this JonB. This technique looks handy. I will give this a try.

    • robnee

      Breakpoints in multiple modules
      Pythonista • debugging breakpoints • • robnee

      5
      0
      Votes
      5
      Posts
      3187
      Views

      JonB

      while not ideal, you can set breakpoints this way as well at the start of your main script:

      import debugger
      debugger.debugger.set_break(filename, lineno)
      debugger.debugger.set_break(filename, lineno2)

      and so on.

      There is probably a way using objc to query all open editor files for breakpoints. An almost worked through way this would work: cycle through editor tabs

      editor._get_editor_tab().parentViewController().tabViewControllers()

      getting the filepath from .filePath()
      checking for .editorView(), then

      bps=tab.editorView().breakPoints() lines=[1+i for i,entry in enumerate(list(bps)) if entry['active'] ]

      then add breakpoints as described above. This must happen after script is run, so either we pack this code into a import filebreaks, or else we can hijack pythonista_preflight the way dgelessus does in his pythonista_startup to disable global clearing.

    • robnee

      Abandonware?
      Editorial • • robnee

      4
      1
      Votes
      4
      Posts
      4015
      Views

      donnieh

      @robnee The app's author @omz actually supports his apps Pythonista and Editorial very well. From my experience over the last few years, omz releases less frequent, but quality updates. He may not update every few weeks like other apps, but his updates which are a year or two apart are full of huge features and bug fixes.

      On top of that, his presence on this forum is surprisingly high. I believe he reads many of these posts, but probably only has time to respond to certain ones. If you want reasurrance of his current support, consider the fact he pays for this forum which is not cheap ( https://nodebb.org/pricing ). The forum is full of experienced people to help. You should also follow omz on Twitter.

      omz's apps are the furthest thing away from abandonware as you can get. He just released editorial 1.3 to the App store the other day, hopefully Apple accepts it.

    • robnee

      Sticky exception when thrown inside Scene.controller_changed
      Pythonista • • robnee

      6
      0
      Votes
      6
      Posts
      3890
      Views

      Phuket2

      @robnee 👍
      I should have realised that
      def controller_changed(self, id, key, value) was a callback of some sorts. I havnt come across it before. Just looked it up. It's a game controller event, I had no hope in hell in helping 😁😁😁