Re: Debugger - fails to "continue" with breakpoint set

2010-09-27 Thread Danny Levinson
Does this describe the problem you are having? http://bugs.python.org/issue5294 -- http://mail.python.org/mailman/listinfo/python-list

Re: Debugger - fails to "continue" with breakpoint set

2010-09-17 Thread Lie Ryan
On 09/16/10 03:38, Ed Greenberg wrote: > I'm pretty new to Python, but I am really enjoying it as an alternative > to Perl and PHP. > > When I run the debugger [import pdb; pdb.set_trace()] and then do next > and step, and evaluate variables, etc, when I hit 'c' for continue, we > go to the end, j

Re: Debugger - fails to "continue" with breakpoint set

2010-09-15 Thread Ed Greenberg
On 09/15/2010 02:04 PM, Thomas Jollans wrote: On Wednesday 15 September 2010, it occurred to Ed Greenberg to exclaim: I'm pretty new to Python, but I am really enjoying it as an alternative to Perl and PHP. When I run the debugger [import pdb; pdb.set_trace()] and then do next and step, and

Re: Debugger - fails to "continue" with breakpoint set

2010-09-15 Thread Thomas Jollans
On Wednesday 15 September 2010, it occurred to Ed Greenberg to exclaim: > I'm pretty new to Python, but I am really enjoying it as an alternative > to Perl and PHP. > > When I run the debugger [import pdb; pdb.set_trace()] and then do next > and step, and evaluate variables, etc, when I hit 'c' fo

Re: debugger on system with Python 2 and 3

2009-11-29 Thread Nir
rpdb2 should be compatible with Python 3.x. And once you start a debugging session with rpdb2 (running with Python 3.x) you can attach to it from a winpdb instance (running with Python 2.x) On Nov 29, 2:29 pm, Yo Sato wrote: > If there's no other choice I don't mind using winpdb, but it is > ins

Re: debugger on system with Python 2 and 3

2009-11-29 Thread Yo Sato
Thanx Alan, I am using Fedora Core 11. I wanted to use emacs, rather than the full-blown IDE or entirely gui-based debugger, and that's why I was drawn to pydb in the first instance. If there's no other choice I don't mind using winpdb, but it is installed (through Yum) under Python2 library and

Re: debugger on system with Python 2 and 3

2009-11-28 Thread Detlev Offenbach
Hi, eric4 snapshot releases support Python3. Detlev Yo Sato wrote: > Hi, > > I am a relative newcomer to the Python language, and only write Python > 3. Now I would very much like to a more-than-basic debugger. However > it seems as if the fact that I have both Python 2 and 3 on the system > c

Re: debugger on system with Python 2 and 3

2009-11-27 Thread Alan Franzoni
On 11/27/09 6:17 PM, Yo Sato wrote: > Hi, > > I am a relative newcomer to the Python language, and only write Python > 3. Now I would very much like to a more-than-basic debugger. However > it seems as if the fact that I have both Python 2 and 3 on the system > complicates the matter... You haven

Re: debugger

2009-08-22 Thread MRAB
Dave Angel wrote: Stef Mientki wrote: Albert Hopkins wrote: On Sat, 2009-08-22 at 01:17 -0700, flagmino wrote: [...] I am trying to debug: I press shift-F9 and F7. I end up in the interpreter where I enter s2 (1, 2). >From that point if I press F7, the program restart all over. If I press E

Re: debugger

2009-08-22 Thread Dave Angel
Stef Mientki wrote: Albert Hopkins wrote: On Sat, 2009-08-22 at 01:17 -0700, flagmino wrote: [...] I am trying to debug: I press shift-F9 and F7. I end up in the interpreter where I enter s2 (1, 2). >From that point if I press F7, the program restart all over. If I press Enter, the program g

Re: debugger

2009-08-22 Thread Scott David Daniels
flagmino wrote: To get familiar with the debugger, I have loaded this program: import math def s1(x, y): a = (x + y) print("Answer from s1"), a return def s2(x, y): b = (x - y) print("This comes from s2"), b #print z print("call from s2: "), s1(x, y) return I am trying

Re: debugger

2009-08-22 Thread Tim Chase
Stef Mientki wrote: Albert Hopkins wrote: On Sat, 2009-08-22 at 01:17 -0700, flagmino wrote: [...] I am trying to debug: I press shift-F9 and F7. I end up in the interpreter where I enter s2 (1, 2). >From that point if I press F7, the program restart all over. If I press Enter, the program

Re: debugger

2009-08-22 Thread Stef Mientki
Albert Hopkins wrote: On Sat, 2009-08-22 at 01:17 -0700, flagmino wrote: [...] I am trying to debug: I press shift-F9 and F7. I end up in the interpreter where I enter s2 (1, 2). >From that point if I press F7, the program restart all over. If I press Enter, the program gets out of debug mod

Re: debugger

2009-08-22 Thread Albert Hopkins
On Sat, 2009-08-22 at 01:17 -0700, flagmino wrote: [...] > I am trying to debug: > I press shift-F9 and F7. I end up in the interpreter where I enter s2 > (1, 2). > > >From that point if I press F7, the program restart all over. > If I press Enter, the program gets out of debug mode. Umm.. which

Re: debugger

2009-08-22 Thread Xavier Ho
On Sat, Aug 22, 2009 at 6:17 PM, flagmino wrote: > To get familiar with the debugger, I have loaded this program: > > import math > > def s1(x, y): > a = (x + y) > print("Answer from s1"), a > return > > def s2(x, y): > b = (x - y) > print("This comes from s2"), b > #print z > print

Re: debugger

2005-11-09 Thread mclaugb
is there a way to only look at specific variable names in Winpdb? It takes forever to debug something when i constantly have to search for variables. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Benji York wrote: >> [EMAIL PROTECTED] wrote: >> > Benji York wrote: >> >>You mi

Re: debugger

2005-11-08 Thread robert . dowell
Benji York wrote: > [EMAIL PROTECTED] wrote: > > Benji York wrote: > >>You might like Winpdb: > >>http://www.digitalpeers.com/pythondebugger/ > > > > Not Found > > > > The requested URL /pythondebugger/-- was not found on this server. > > Apache/2.0.52 (Red Hat) Server at www.digitalpeers.com Port

Re: debugger

2005-11-08 Thread Benji York
[EMAIL PROTECTED] wrote: > Benji York wrote: >>You might like Winpdb: >>http://www.digitalpeers.com/pythondebugger/ > > Not Found > > The requested URL /pythondebugger/-- was not found on this server. > Apache/2.0.52 (Red Hat) Server at www.digitalpeers.com Port 80 Works for me. -- Benji York -

Re: debugger

2005-11-08 Thread robert . dowell
Benji York wrote: > mclaugb wrote: > > Is there a decent debugger to use with IDL? I have briefly about "PDB" but > > this looks pretty limited in features and difficult to use. > > You might like Winpdb: > http://www.digitalpeers.com/pythondebugger/ > -- > Benji York Not Found The requested UR

Re: debugger

2005-11-08 Thread Benji York
mclaugb wrote: > Is there a decent debugger to use with IDL? I have briefly about "PDB" but > this looks pretty limited in features and difficult to use. You might like Winpdb: http://www.digitalpeers.com/pythondebugger/ -- Benji York -- http://mail.python.org/mailman/listinfo/python-list

Re: Debugger Confusion

2005-07-16 Thread R Toop
By now, you have probably found an IDE that gives you satisfactory debugging. I think your original problem was trying to use an emacs shell (M-x shell) to run Python interpreter. But the emacs Python mode works a whole better than Python in a dumb terminal. Have you tried the following? -- open P

Re: debugger?

2005-07-06 Thread David Bolen
Qiangning Hong <[EMAIL PROTECTED]> writes: (...) > However, while I use pdb or inserting "print" statement to debug my > apps, sometimes it is a pain. I think I need a good GUI debugger to > help me. The debugger should meet _most_ of the following > requirements: > > 1. can debug wxPython appl

Re: debugger?

2005-07-03 Thread Renato Ramonda
Qiangning Hong ha scritto: > Eric3 need pyqt so it is not free under windows platform. Eric3 has had a free version for months now on windows, since the kde on win32 project recompiled the free versions on windows. And qt4 now has a GPL version free on windows too. -- Renato --

Re: debugger?

2005-07-03 Thread Frank LaFond
You might also look at Boa. http://boa-constructor.sourceforge.net/ While I haven't tried all the things on your list, I've been able to do all the things I've wanted to do in the debugger. It is also an IDE for wxPython, so it works well for that, but I don't know about other GUI libraries.

Re: debugger?

2005-07-03 Thread Detlev Offenbach
Qiangning Hong wrote: > Detlev Offenbach wrote: >> Qiangning Hong wrote: >> >> >>>I have read a lot of posts discussing python IDEs, but most of them >>>focus on the editor, GUI builder, project management, customizability, >>>etc Some talked about debugging capability, but only on an >>>av

Re: debugger?

2005-07-03 Thread Qiangning Hong
Detlev Offenbach wrote: > Qiangning Hong wrote: > > >>I have read a lot of posts discussing python IDEs, but most of them >>focus on the editor, GUI builder, project management, customizability, >>etc Some talked about debugging capability, but only on an >>available/unavailable level. >> >>

Re: debugger?

2005-07-03 Thread Detlev Offenbach
Qiangning Hong wrote: > I have read a lot of posts discussing python IDEs, but most of them > focus on the editor, GUI builder, project management, customizability, > etc Some talked about debugging capability, but only on an > available/unavailable level. > > I use vim to edit my code, wxGl

Re: Debugger Confusion

2005-07-01 Thread Colin J. Williams
Adriaan Renting wrote: > I use the debugger that comes with Eric3, but it is only free for Linux/ > OS X, as it needs PyQt. > asside from setting (conditional) breakpoints, one of it's features is > that it can show you a browsable tree of all your variables. something > like this: > class MyClass

RE: Debugger Confusion

2005-06-30 Thread Adriaan Renting
I use the debugger that comes with Eric3, but it is only free for Linux/ OS X, as it needs PyQt. asside from setting (conditional) breakpoints, one of it's features is that it can show you a browsable tree of all your variables. something like this: class MyClass | L-- string 'username' - 'myuser'

Re: Debugger Confusion

2005-06-29 Thread Christopher Arndt
Rex Eastbourne schrieb: > Also, when I try running pdb in my Emacs shell, I get very weird > behavior: for instance, I'll hit 'h' and enter twenty times with no > output. Then, all of a sudden, twenty output messages will pop up. That may be due to output buffering. Try running your script with "p

Re: Debugger Confusion

2005-06-29 Thread Rex Eastbourne
Also, when I try running pdb in my Emacs shell, I get very weird behavior: for instance, I'll hit 'h' and enter twenty times with no output. Then, all of a sudden, twenty output messages will pop up. -- http://mail.python.org/mailman/listinfo/python-list

Re: Debugger Confusion

2005-06-29 Thread Rex Eastbourne
One thing: is it possible to go through the code within emacs? Doing it on the command line is useful, but it would be very helpful if I could have a little marker within the emacs buffer that showed me where I am. Rex -- http://mail.python.org/mailman/listinfo/python-list

Re: Debugger Confusion

2005-06-29 Thread Rex Eastbourne
Thanks! -- http://mail.python.org/mailman/listinfo/python-list

RE: Debugger Confusion

2005-06-28 Thread Robert Brewer
Rex Eastbourne wrote: > I'm a little confused about which debugging utilities do what, and > which I should use for my Python code. I'd like to be able to step > through my code, insert breakpoints, etc. I haven't been able to do > this yet (I'm using Emacs on Windows). I have seen references to GD