debugging in emacs

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gary Wessle

    #1

    debugging in emacs

    Hi python users

    I am using emacs and python-mode.el under dabian testing.
    is there a way to debug python code where I can step over each line
    and watch the value of all the variables and be able to change
    any during debugging. say you have a loop structure and want to see
    what the values of your variables are during debugging when your code
    is running as you step line by line.

    thanks
  • Gary Wessle

    #2
    Re: debugging in emacs

    Gary Wessle <phddas@yahoo.c om> writes:
    [color=blue]
    > Hi python users
    >
    > I am using emacs and python-mode.el under dabian testing.
    > is there a way to debug python code where I can step over each line
    > and watch the value of all the variables and be able to change
    > any during debugging. say you have a loop structure and want to see
    > what the values of your variables are during debugging when your code
    > is running as you step line by line.
    >
    > thanks[/color]

    what is the most used the older python-mode.el or the newer python.el?

    I am using eamcs 21.4.1 under dabian testing.

    Comment

    • Steve Juranich

      #3
      Re: debugging in emacs

      Gary Wessle wrote:
      [color=blue]
      > Gary Wessle <phddas@yahoo.c om> writes:
      >[color=green]
      >> Hi python users
      >>
      >> I am using emacs and python-mode.el under dabian testing.
      >> is there a way to debug python code where I can step over each line
      >> and watch the value of all the variables and be able to change
      >> any during debugging. say you have a loop structure and want to see
      >> what the values of your variables are during debugging when your code
      >> is running as you step line by line.
      >>
      >> thanks[/color]
      >
      > what is the most used the older python-mode.el or the newer python.el?
      >
      > I am using eamcs 21.4.1 under dabian testing.[/color]

      I use python-mode.el v. 4.63 with Emacs 21.3 (I haven't made the switch to
      21.4 yet). When I'm running an interactive *Python* buffer inside of Emacs
      and get a stack trace, I then use pdb.pm() and I get the familiar
      GDB-in-Emacs style interface.

      Good luck.
      --
      Steve Juranich
      Tucson, AZ
      USA

      Comment

      Working...