Python with Eclipse

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stan Cook

    #1

    Python with Eclipse

    I've been trying to use Eclipse with Python on Linux for a
    while and have noticed something odd. After running the
    code or debugging a few times, its responsiveness gets
    really bad. Upon checking the equivalent of the task
    manager, I find several instances of Python running. When I
    kill these instances, the responsiveness comes back. I'm
    not sure if there is a better place to post this, but it is
    Python related. Is this just an issue with Eclipse or is
    there something else I should inspect?

    Any help would be appreciated.

    Regards,

    S Cook
  • Dennis Benzinger

    #2
    Re: Python with Eclipse

    Stan Cook wrote:[color=blue]
    > I've been trying to use Eclipse with Python on Linux for a while and
    > have noticed something odd. After running the code or debugging a few
    > times, its responsiveness gets really bad. Upon checking the equivalent
    > of the task manager, I find several instances of Python running. When I
    > kill these instances, the responsiveness comes back. I'm not sure if
    > there is a better place to post this, but it is Python related. Is this
    > just an issue with Eclipse or is there something else I should inspect?
    >
    > Any help would be appreciated.
    >
    > Regards,
    >
    > S Cook[/color]

    Which Python plugin are you using? PyDev?


    Bye,
    Dennis

    Comment

    • Philippe Martin

      #3
      Re: Python with Eclipse

      Dennis Benzinger wrote:
      [color=blue]
      > Stan Cook wrote:[color=green]
      >> I've been trying to use Eclipse with Python on Linux for a while and
      >> have noticed something odd. After running the code or debugging a few
      >> times, its responsiveness gets really bad. Upon checking the equivalent
      >> of the task manager, I find several instances of Python running. When I
      >> kill these instances, the responsiveness comes back. I'm not sure if
      >> there is a better place to post this, but it is Python related. Is this
      >> just an issue with Eclipse or is there something else I should inspect?
      >>
      >> Any help would be appreciated.
      >>
      >> Regards,
      >>
      >> S Cook[/color]
      >
      > Which Python plugin are you using? PyDev?
      >
      >
      > Bye,
      > Dennis[/color]

      Hi,

      What other plugins are there ?

      Regards,

      Philippe

      Comment

      • Dennis Benzinger

        #4
        Re: Python with Eclipse

        Philippe Martin wrote:[color=blue]
        > Dennis Benzinger wrote:
        >[color=green]
        >> Stan Cook wrote:[color=darkred]
        >>> I've been trying to use Eclipse with Python on Linux for a while and
        >>> have noticed something odd. After running the code or debugging a few
        >>> times, its responsiveness gets really bad. Upon checking the equivalent
        >>> of the task manager, I find several instances of Python running. When I
        >>> kill these instances, the responsiveness comes back. I'm not sure if
        >>> there is a better place to post this, but it is Python related. Is this
        >>> just an issue with Eclipse or is there something else I should inspect?
        >>>
        >>> Any help would be appreciated.
        >>>
        >>> Regards,
        >>>
        >>> S Cook[/color]
        >> Which Python plugin are you using? PyDev?
        >>
        >>
        >> Bye,
        >> Dennis[/color]
        >
        > Hi,
        >
        > What other plugins are there ?
        >
        > Regards,
        >
        > Philippe
        >[/color]


        In the Python wiki there is a page about Eclipse plugins for Python:




        Bye,
        Dennis

        Comment

        • Jason

          #5
          Re: Python with Eclipse

          PyDev Eclipse keeps around the python interpreter unless it gets
          removed. I think part of the point is to keep around failed runs so
          the user can investigate the stack. Eclipse doesn't keep this around
          if you Run you script, but it will keep the interpreter alive if you
          Debug your script, regardless of how it exits. (It may dispose of the
          interpreter if your program exits with a normal error code.)

          Anyway, in the Debug View, you can see a list of all the python
          interpreters that PyDev and Eclipse are keeping alive. There's a set
          of debugging-related buttons just above: step into, step over, step
          return, continue, and others.

          One of the buttons there looks like a couple of "X" symbols. This
          button officially shuts down a python interpreter. (Be careful and
          don't actually click the "X" symbol that closes the debug area!)

          --Jason

          Stan Cook wrote:[color=blue]
          > I've been trying to use Eclipse with Python on Linux for a
          > while and have noticed something odd. After running the
          > code or debugging a few times, its responsiveness gets
          > really bad. Upon checking the equivalent of the task
          > manager, I find several instances of Python running. When I
          > kill these instances, the responsiveness comes back. I'm
          > not sure if there is a better place to post this, but it is
          > Python related. Is this just an issue with Eclipse or is
          > there something else I should inspect?
          >
          > Any help would be appreciated.
          >
          > Regards,
          >
          > S Cook[/color]

          Comment

          • Stan Cook

            #6
            Re: Python with Eclipse

            Jason wrote:[color=blue]
            > PyDev Eclipse keeps around the python interpreter unless it gets
            > removed. I think part of the point is to keep around failed runs so
            > the user can investigate the stack. Eclipse doesn't keep this around
            > if you Run you script, but it will keep the interpreter alive if you
            > Debug your script, regardless of how it exits. (It may dispose of the
            > interpreter if your program exits with a normal error code.)
            >
            > Anyway, in the Debug View, you can see a list of all the python
            > interpreters that PyDev and Eclipse are keeping alive. There's a set
            > of debugging-related buttons just above: step into, step over, step
            > return, continue, and others.
            >
            > One of the buttons there looks like a couple of "X" symbols. This
            > button officially shuts down a python interpreter. (Be careful and
            > don't actually click the "X" symbol that closes the debug area!)
            >
            > --Jason
            >
            > Stan Cook wrote:[color=green]
            >> I've been trying to use Eclipse with Python on Linux for a
            >> while and have noticed something odd. After running the
            >> code or debugging a few times, its responsiveness gets
            >> really bad. Upon checking the equivalent of the task
            >> manager, I find several instances of Python running. When I
            >> kill these instances, the responsiveness comes back. I'm
            >> not sure if there is a better place to post this, but it is
            >> Python related. Is this just an issue with Eclipse or is
            >> there something else I should inspect?
            >>
            >> Any help would be appreciated.
            >>
            >> Regards,
            >>
            >> S Cook[/color]
            >[/color]
            Thanks, I'll try that and keep an eye on the open sessions.

            Regards,

            S Cook

            Comment

            • Philippe Martin

              #7
              Re: Python with Eclipse

              Dennis Benzinger wrote:
              [color=blue]
              > Philippe Martin wrote:[color=green]
              >> Dennis Benzinger wrote:
              >>[color=darkred]
              >>> Stan Cook wrote:
              >>>> I've been trying to use Eclipse with Python on Linux for a while and
              >>>> have noticed something odd. After running the code or debugging a few
              >>>> times, its responsiveness gets really bad. Upon checking the
              >>>> equivalent
              >>>> of the task manager, I find several instances of Python running. When
              >>>> I
              >>>> kill these instances, the responsiveness comes back. I'm not sure if
              >>>> there is a better place to post this, but it is Python related. Is
              >>>> this just an issue with Eclipse or is there something else I should
              >>>> inspect?
              >>>>
              >>>> Any help would be appreciated.
              >>>>
              >>>> Regards,
              >>>>
              >>>> S Cook
              >>> Which Python plugin are you using? PyDev?
              >>>
              >>>
              >>> Bye,
              >>> Dennis[/color]
              >>
              >> Hi,
              >>
              >> What other plugins are there ?
              >>
              >> Regards,
              >>
              >> Philippe
              >>[/color]
              >
              >
              > In the Python wiki there is a page about Eclipse plugins for Python:
              >
              > http://wiki.python.org/moin/EclipsePythonIntegration
              >
              >
              > Bye,
              > Dennis[/color]
              Thanks,

              Philippe

              Comment

              Working...