Getting a Foothold on the IDLE Debugger

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • W. Watson

    Getting a Foothold on the IDLE Debugger

    I thought I try to step through some simple Python code I wrote with IDLE
    using Debug. I'm at the early stages of learning Python. I used the shell to
    Run, then clicked on Debug->Debugger. That brought up a window with Stack
    and Locals checked. The buttons Go, Step, etc. are greyed out. How do I
    proceed?

    --
    Wayne Watson (Nevada City, CA)

    Web Page: <speckledwithSt ars.net>
  • mensanator@aol.com

    #2
    Re: Getting a Foothold on the IDLE Debugger

    On Feb 11, 11:15�pm, "W. Watson" <wolf_tra...@in valid.comwrote:
    I thought I try to step through some simple Python code I wrote with IDLE
    using Debug. I'm at the early stages of learning Python. I used the shell to
    Run, then clicked on Debug->Debugger. That brought up a window with Stack
    and Locals checked. The buttons Go, Step, etc. are greyed out. How do I
    proceed?
    IDLE has a debugger? How about that.

    After you start the debugger, go back to your program
    and Run it. Watch the Debugger window.
    >
    --
    � � � � � � � � � � � � � Wayne Watson (Nevada City, CA)
    >
    � � � � � � � � � � � � Web Page: <speckledwithSt ars.net>

    Comment

    • W. Watson

      #3
      Re: Getting a Foothold on the IDLE Debugger

      How about that! Thanks. An odd way to do it, but IDLE is suitably odd with
      respect to its namesake.

      BTW, what's with the close and exit options on the File menu? They both dump
      me out of IDLE. Odd. Any idea of whether I can "glue" the File-?Open to a
      particular folder?

      Any other similar programs with a better user interface for beginners?

      mensanator@aol. com wrote:
      On Feb 11, 11:15�pm, "W. Watson" <wolf_tra...@in valid.comwrote:
      >I thought I try to step through some simple Python code I wrote with IDLE
      >using Debug. I'm at the early stages of learning Python. I used the shell to
      >Run, then clicked on Debug->Debugger. That brought up a window with Stack
      >and Locals checked. The buttons Go, Step, etc. are greyed out. How do I
      >proceed?
      >
      IDLE has a debugger? How about that.
      >
      After you start the debugger, go back to your program
      and Run it. Watch the Debugger window.
      >
      >--
      >� � � � � � � � � � � � � Wayne Watson (Nevada City, CA)
      >>
      >� � � � � � � � � � � � Web Page: <speckledwithSt ars.net>
      >
      --
      Wayne Watson (Nevada City, CA)

      Web Page: <speckledwithSt ars.net>

      Comment

      • Gabriel Genellina

        #4
        Re: Getting a Foothold on the IDLE Debugger

        En Tue, 12 Feb 2008 04:23:17 -0200, W. Watson <wolf_tracks@in valid.com>
        escribió:
        BTW, what's with the close and exit options on the File menu? They both
        dump
        me out of IDLE. Odd.
        Try File|New
        Any idea of whether I can "glue" the File-?Open to a
        particular folder?
        Mmm, no. But it remembers the last used directory.
        Any other similar programs with a better user interface for beginners?
        Try PyScripter (Windows only, I think). People say that SPE (Stani's
        Python Editor, multiplatform) is good too.

        --
        Gabriel Genellina

        Comment

        • Nir

          #5
          Re: Getting a Foothold on the IDLE Debugger

          On Feb 12, 7:15 am, "W. Watson" <wolf_tra...@in valid.comwrote:
          I thought I try to step through some simplePythoncod e I wrote with IDLE
          using Debug. I'm at the early stages of learningPython. I used the shell to
          Run, then clicked on Debug->Debugger. That brought up a window with Stack
          and Locals checked. The buttons Go, Step, etc. are greyed out. How do I
          proceed?
          Proceed to the Winpdb Python debugger.


          (Runs on Linux as well)

          Comment

          Working...