Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #33378

debugging in eclipse

Newsgroups comp.lang.python
Date 2012-11-15 04:29 -0800
Message-ID <b45840eb-f429-4287-905a-76d752d4fe04@googlegroups.com> (permalink)
Subject debugging in eclipse
From chip9munk@gmail.com

Show all headers | View raw


Hi all!

I have a stupid problem, for which I cannot find a solution...

I have a python module, lets call it debugTest.py.

and it contains:
def test():
    a=1
    b=2
    c=a+b
    c

so as simple as possible.

Now I would like to debug it in eclipse.. (I have pydev and all)
so the question is how do I debug the test function? (by debug I mean go into it in the debugging mode and execute step by step, inspect the variables and so on.. you know, like it is so easily done in Matlab for example).

I place a break point in the function, run the debugger and it stars and is terminated immediately. (of course it does not know where to go..)

So how can I do this? please help!

Thank you all in advance!

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

debugging in eclipse chip9munk@gmail.com - 2012-11-15 04:29 -0800
  Re: debugging in eclipse Roy Smith <roy@panix.com> - 2012-11-15 07:49 -0500
    Re: debugging in eclipse chip9munk@gmail.com - 2012-11-15 05:43 -0800
  Re: debugging in eclipse Dave Angel <d@davea.name> - 2012-11-15 08:41 -0500
    Re: debugging in eclipse chip9munk@gmail.com - 2012-11-15 05:45 -0800
    Re: debugging in eclipse chip9munk@gmail.com - 2012-11-15 05:45 -0800
    Re: debugging in eclipse Roy Smith <roy@panix.com> - 2012-11-15 08:54 -0500
      Re: debugging in eclipse aahz@pythoncraft.com (Aahz) - 2012-11-15 07:56 -0800
        Re: debugging in eclipse Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-11-15 17:05 +0000
          Re: debugging in eclipse alex23 <wuwei23@gmail.com> - 2012-11-15 17:10 -0800
            Re: debugging in eclipse Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-11-16 10:30 +0000
  Re: debugging in eclipse "Martin P. Hellwig" <martin.hellwig@gmail.com> - 2012-11-15 05:44 -0800
    Re: debugging in eclipse chip9munk@gmail.com - 2012-11-15 05:46 -0800
      Re: debugging in eclipse Alister <alister.ware@ntlworld.com> - 2012-11-15 14:21 +0000
        Re: debugging in eclipse chip9munk@gmail.com - 2012-11-15 06:28 -0800
  Re: debugging in eclipse Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-11-15 14:43 +0100
    Re: debugging in eclipse chip9munk@gmail.com - 2012-11-15 06:27 -0800

csiph-web