Python Debugger with source code tracking ability

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tran Tuan Anh

    #1

    Python Debugger with source code tracking ability

    Hi all,

    I am new to Python and desperated to look for a good Python debugger.
    I mean a debugger with source coding tracking. For C/C++, emacs and
    gud offers execellent development env. The source code tracking is
    extremely useful for recursive functions.

    I have spent time Googling but not found anything near.

    Thanks!
    Tuan-Anh
  • Jaime Wyant

    #2
    Re: Python Debugger with source code tracking ability

    I haven't tried the customizations listed at the site below. If it
    works, let me know.



    jw

    On 19 Apr 2005 19:45:05 -0700, Tran Tuan Anh <anhtt@hotmail. com> wrote:[color=blue]
    > Hi all,
    >
    > I am new to Python and desperated to look for a good Python debugger.
    > I mean a debugger with source coding tracking. For C/C++, emacs and
    > gud offers execellent development env. The source code tracking is
    > extremely useful for recursive functions.
    >
    > I have spent time Googling but not found anything near.
    >
    > Thanks!
    > Tuan-Anh
    > --
    > http://mail.python.org/mailman/listinfo/python-list
    >[/color]

    Comment

    • Richard Eibrand

      #3
      Re: Python Debugger with source code tracking ability

      On 4/20/05, Jaime Wyant <programmer.py@ gmail.com> wrote:[color=blue]
      > I haven't tried the customizations listed at the site below. If it
      > works, let me know.
      >
      > http://page.sourceforge.net/tricks.html
      >
      > jw
      >
      > On 19 Apr 2005 19:45:05 -0700, Tran Tuan Anh <anhtt@hotmail. com> wrote:[color=green]
      > > Hi all,
      > >
      > > I am new to Python and desperated to look for a good Python debugger.
      > > I mean a debugger with source coding tracking. For C/C++, emacs and
      > > gud offers execellent development env. The source code tracking is
      > > extremely useful for recursive functions.[/color][/color]

      You could take a look at Eclipse (http://eclipse.org/) in conjunction
      with pydev (http://pydev.sourceforge.net/). Or you could take a look
      at Komodo (http://www.activestate.com/Products/Komodo/) which is a
      commercial product with a trial version.

      Regards,

      R

      Comment

      • Steve Holden

        #4
        Re: Python Debugger with source code tracking ability

        Richard Eibrand wrote:[color=blue]
        > On 4/20/05, Jaime Wyant <programmer.py@ gmail.com> wrote:
        >[color=green]
        >>I haven't tried the customizations listed at the site below. If it
        >>works, let me know.
        >>
        >>http://page.sourceforge.net/tricks.html
        >>
        >>jw
        >>
        >>On 19 Apr 2005 19:45:05 -0700, Tran Tuan Anh <anhtt@hotmail. com> wrote:
        >>[color=darkred]
        >>>Hi all,
        >>>
        >>>I am new to Python and desperated to look for a good Python debugger.
        >>>I mean a debugger with source coding tracking. For C/C++, emacs and
        >>>gud offers execellent development env. The source code tracking is
        >>>extremely useful for recursive functions.[/color][/color]
        >
        >
        > You could take a look at Eclipse (http://eclipse.org/) in conjunction
        > with pydev (http://pydev.sourceforge.net/). Or you could take a look
        > at Komodo (http://www.activestate.com/Products/Komodo/) which is a
        > commercial product with a trial version.
        >[/color]
        For my money it's well worth looking at Wing (http://wingware.com) - the
        more I use this system the more I like it, and I especially like the way
        I can inspect and set breakpoints in GUI-based code - it can be
        wxPython, Tkinter or something else entirely. The ability to execute
        ad-hoc Python statements in the context of interrupted code is a godsend
        in heavy debugging sessions.

        regards
        Steve
        --
        Steve Holden +1 703 861 4237 +1 800 494 3119
        Holden Web LLC http://www.holdenweb.com/
        Python Web Programming http://pydish.holdenweb.com/

        Comment

        • Philippe C. Martin

          #5
          Re: Python Debugger with source code tracking ability

          Idle (does have source tracking)
          Eclipse + pydev
          Eric3 (Linux only)

          The problem I have with any of them (as well as my own debugger) is their
          speed: I believe they all use bdb that is currently fairly slow stepping
          over extensive amount of code

          Regards,

          Philippe





          Tran Tuan Anh wrote:
          [color=blue]
          > Hi all,
          >
          > I am new to Python and desperated to look for a good Python debugger.
          > I mean a debugger with source coding tracking. For C/C++, emacs and
          > gud offers execellent development env. The source code tracking is
          > extremely useful for recursive functions.
          >
          > I have spent time Googling but not found anything near.
          >
          > Thanks!
          > Tuan-Anh[/color]

          Comment

          • Skip Montanaro

            #6
            Re: Python Debugger with source code tracking ability


            Tran> I am new to Python and desperated to look for a good Python
            Tran> debugger. I mean a debugger with source coding tracking. For
            Tran> C/C++, emacs and gud offers execellent development env. The source
            Tran> code tracking is extremely useful for recursive functions.

            There is some support for pdb (the Python debugger) in python-mode. Google
            around for pdbtrack. Also, look at Misc/gdbinit in a recent Python
            distribution (or use viewcvs in the CVS tab of Python's sourceforge project)
            for some gdb magic.

            Skip

            Comment

            • Matt

              #7
              Re: Python Debugger with source code tracking ability

              wxPython is including the ActiveGrid ide as a sample in its latest
              point release. The ide includes a debugger that allows you to set
              breakpoints in source code, inspect values, etc.

              Comment

              Working...