On Sun, Aug 11, 2019 at 7:29 PM Matt Wilkie <[email protected]> wrote:
I figured I'd buckle down and learn how to use a debugger properly like the > Smart Kids Do. > Insert calls to g.pdb(). This will start Python's pdb debugger <https://docs.python.org/3/library/pdb.html>. You must be running Leo from a console. When you hit a breakpoint, hit "n" once to move out of the Leo code and into the code you want to see. If "g" isn't available, then start the debugger using: import pdb ; pdb.set_trace() Imo, there is seldom a need for anything other than pdb. Guido has said that's what he uses. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS0AvV5nUw3Q9-4iEW_c2tRaCVsvkRFRb8azO%3DOZ5cw%2BrQ%40mail.gmail.com.
