Awaiting coroutines inside the debugger (PDB)

2019-11-24 Thread darthdeus
this does not seem to work when in PDB (and consequently in iPDB) when running `import pdb; pdb.set_trace()`. Is there any workaround to get `await` working in PDB, or any simple way to synchronously wait while in the debugger? -- https://mail.python.org/mailman/listinfo/python-list

A programmable python debugger. Set one breakpoint to x-ray everything

2017-10-09 Thread H.C. Chen
peforth If the below explanations would be messy please directly refer to README.md @ https://github.com/hcchengithub/peforth A programmable python debugger. Set one breakpoint to x-ray everything. You guys know how to bebug already. We all do. But when it comes to Machine Learning and

Re: Options for stdin and stdout when using pdb debugger

2016-11-25 Thread Jason Friedman
> I would like to use pdb in an application where it isn't possible to use > sys.stdin for input. I've read in the documentation for pdb.Pdb that a file > object can be used instead of sys.stdin. Unfortunately, I'm not clear about > my options for the file object. > > I've looked at rpdb on PyPI

Re: Options for stdin and stdout when using pdb debugger

2016-11-24 Thread dieter
Robert Snoeberger writes: > I would like to use pdb in an application where it isn't possible to use > sys.stdin for input. I've read in the documentation for pdb.Pdb that a file > object can be used instead of sys.stdin. Unfortunately, I'm not clear about > my options for the file object. L

Options for stdin and stdout when using pdb debugger

2016-11-24 Thread Robert Snoeberger
I would like to use pdb in an application where it isn't possible to use sys.stdin for input. I've read in the documentation for pdb.Pdb that a file object can be used instead of sys.stdin. Unfortunately, I'm not clear about my options for the file object. I've looked at rpdb on PyPI, which re

Python reverse debugger

2016-09-13 Thread Steven D'Aprano
PyPy has recently released a reverse debugger for Python: https://mail.python.org/pipermail/pypy-dev/2016-September/014661.html Armin Rigo wrote: [quote] It is my pleasure to announce the first beta release of RevDB: a "reverse debugger" for Python. A reverse deb

Re: Python script reading from sys.stdin and debugger

2016-05-20 Thread rocky
but, call > me stupid, I don't understand how I need to set up those pipes, how I > need to modify my script and, above all, how I now need to invoke the > program. > > Help and suggestions appreciated. I am using Python 3.4 on Cygwin and > Ubuntu. > > Thanks

Python script reading from sys.stdin and debugger

2016-05-19 Thread Fillmore
Hello PyMasters! Long story short: cat myfile.txt | python -m pdb myscript.py doens't work (pdb hijacking stdin?). Google indicates that someone has fixed this with named pipes, but, call me stupid, I don't understand how I need to set up those pipes, how I need to modify my script and, abov

Re: Why command os.popen works in python interactive mode but not in script debugger mode?

2014-09-12 Thread Viet Nguyen
On Thursday, September 11, 2014 10:15:57 PM UTC-7, Viet Nguyen wrote: > Can anyone give me hint or reason why same command behaves differently in > debugger mode from interactive mode: > > > > From interactive mode: > > > > >>> import os >

Re: Why command os.popen works in python interactive mode but not in script debugger mode?

2014-09-11 Thread Chris Angelico
On Fri, Sep 12, 2014 at 3:15 PM, Viet Nguyen wrote: > But from debugger mode in a script: >>>> import os > (Pdb) p = os.popen('date') > *** SyntaxError: SyntaxError('invalid syntax', ('', 1, 1, "= > os.popen('date')")

Why command os.popen works in python interactive mode but not in script debugger mode?

2014-09-11 Thread Viet Nguyen
Can anyone give me hint or reason why same command behaves differently in debugger mode from interactive mode: >From interactive mode: >>> import os >>> p = os.popen('date') >>> p.read() 'Thu Sep 11 11:18:07 PDT 2014\n' But from debugger mode i

Re: Python Debugger tool

2013-09-06 Thread Fabio Zadrozny
On Fri, Sep 6, 2013 at 3:14 AM, chandan kumar wrote: > Hi > > Is any one aware of free ipython debugger tool.How good is this tool for > a beginner to use like ,placing breakpoints,checking variables ,call stack > (function flow) etc.I don't like to use python PDB . &

Re: Python Debugger tool

2013-09-05 Thread Rafael Durán Castañeda
El 06/09/2013, a las 08:14, chandan kumar escribió: > Hi > > Is any one aware of free ipython debugger tool.How good is this tool for a > beginner to use like ,placing breakpoints,checking variables ,call stack > (function flow) etc.I don't like to use python PDB .

Python Debugger tool

2013-09-05 Thread chandan kumar
Hi Is any one aware of free ipython debugger tool.How good is this tool for a beginner to use like ,placing breakpoints,checking variables ,call stack (function flow) etc.I don't like to use python PDB . I have heard about wingware ,pycharm which are licensed versions.Used wingware

Re: Good debugger for CPython 3.2?

2012-10-19 Thread Dan Stromberg
On Fri, Oct 19, 2012 at 9:26 AM, Dan Stromberg wrote: > > What's a good debugger for CPython 3.2? I'd prefer to use it on Linux > Mint 13, and I'd be happy with something based on X11 or curses. > > I tried winpdb, but it was cranky that Linux didn't have a

Good debugger for CPython 3.2?

2012-10-19 Thread Dan Stromberg
What's a good debugger for CPython 3.2? I'd prefer to use it on Linux Mint 13, and I'd be happy with something based on X11 or curses. I tried winpdb, but it was cranky that Linux didn't have a spawn callable. Why they didn't use the portable subprocess module escapes m

Re: bdb.Bdb (Debugger Base Class) / unittest Interaction (MRAB)

2012-03-26 Thread Ami Tavory
From: MRAB To: python-list@python.org Cc: Date: Sun, 25 Mar 2012 22:14:28 +0100 Subject: Re: bdb.Bdb (Debugger Base Class) / unittest Interaction On 25/03/2012 21:42, Ami Tavory wrote: > Hello, > > I'm having some difficulties with the interaction between bdb.Bdb and > scri

Re: bdb.Bdb (Debugger Base Class) / unittest Interaction

2012-03-25 Thread MRAB
On 25/03/2012 21:42, Ami Tavory wrote: Hello, I'm having some difficulties with the interaction between bdb.Bdb and scripts which contain unittest. Following are two simplified scenarios of a GUI debugger Gedit plugin I'm writing based on bdb.Bdb, and a script that is being debu

bdb.Bdb (Debugger Base Class) / unittest Interaction

2012-03-25 Thread Ami Tavory
Hello, I'm having some difficulties with the interaction between bdb.Bdb and scripts which contain unittest. Following are two simplified scenarios of a GUI debugger Gedit plugin I'm writing based on bdb.Bdb, and a script that is being debugged by it. --Scenario A-- The sc

building GNU debugger (was: Re: Python-list Digest, Vol 101, Issue 164)

2012-02-29 Thread Ulrich Eckhardt
the smart way. Am 29.02.2012 12:43, schrieb Shambhu Rajak: I want building GNU debugger for mingw. Doesn't mingw come with GDB or at least have a GDB package? However, this has nothing to do with Python. Need the GDB to support python How should I go about it? You don't need GDB in or

Re: PythonWin debugger holds onto global logging objects too long

2012-02-07 Thread Mark Hammond
On 7/02/2012 9:48 PM, Jean-Michel Pichavant wrote: Vinay Sajip wrote: On Jan 24, 2:52 pm, Rob Richardson wrote: I use PythonWin to debug the Python scripts we write. Our scripts often use the log2pyloggingpackage. When running the scripts inside the debugger, we seem to get oneloggingobject

Re: PythonWin debugger holds onto global logging objects too long

2012-02-07 Thread Jean-Michel Pichavant
Vinay Sajip wrote: On Jan 24, 2:52 pm, Rob Richardson wrote: I use PythonWin to debug the Python scripts we write. Our scripts often use the log2pyloggingpackage. When running the scripts inside the debugger, we seem to get oneloggingobject for every time we run the script. The result

Re: PythonWin debugger holds onto global logging objects too long

2012-02-06 Thread Vinay Sajip
On Jan 24, 2:52 pm, Rob Richardson wrote: > I use PythonWin to debug the Python scripts we write.  Our scripts often use > the log2pyloggingpackage.  When running the scripts inside the debugger, we > seem to get oneloggingobject for every time we run the script.  The result is >

PythonWin debugger holds onto global logging objects too long

2012-01-24 Thread Rob Richardson
I use PythonWin to debug the Python scripts we write. Our scripts often use the log2py logging package. When running the scripts inside the debugger, we seem to get one logging object for every time we run the script. The result is that after running the script five times, the log file

Re: IDLE debugger questions

2010-11-13 Thread cbr...@cbrownsystems.com
On Oct 23, 7:29 am, Roger Davis wrote: > Are there any Python debuggers with a decent GUI out there at all that > will work on a Mac with the following features: (i) ability to pass in > a sys.srgv[] list that the program would otherwise see without the > debugger, (ii) display loc

Re: IDLE debugger questions

2010-11-13 Thread Ned Deily
In article , Roger Davis wrote: > Thanks for that info, Ned, I can now get the sys.argv[] list I need, > that's a big help! However, is there any other way to set a breakpoint > in idle that will work on Mac OS X, maybe entering a manual command > somewhere with a specified line number? Inabilit

Re: IDLE debugger questions

2010-10-23 Thread Roger Davis
rt up OK. You can set a breakpoint, meaning that you can click on the source line and the little stop sign icon pops up right there as expected, but when you run the code the debugger just blows right by it like it's not even there. Does anyone out there have a fix for this? It sounds like

Re: IDLE debugger questions

2010-10-22 Thread Ned Deily
In article <04a3c943-5aee-4248-9cb3-60ea42410...@j4g2000prm.googlegroups.com>, Roger Davis wrote: > Hi, I have some questions about the IDLE debugger. I am using the > 2.6.6 bundle downloaded from python.org. > > First, how do I debug a Python program that requires comm

IDLE debugger questions

2010-10-22 Thread Roger Davis
Hi, I have some questions about the IDLE debugger. I am using the 2.6.6 bundle downloaded from python.org. First, how do I debug a Python program that requires command-line args? I usually run it with a command like % test.py arg1 arg2 arg3 There seems to be practically no detailed IDLE

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' fo

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

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

Debugger - fails to "continue" with breakpoint set

2010-09-15 Thread Ed Greenberg
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, just fine. As soon as I set a

Wing IDE 3.2.9 released: Fixes debugger for Python 2.4.x and earlier

2010-06-16 Thread Wingware
Hi, Wingware has released version 3.2.9 of Wing IDE, an integrated development environment designed specifically for the Python programming language. This release includes the following bug fixes: * Fix debugger support for Python versions 2.4.x and earlier * Fix vi mode y$ See the change log

Re: How to choose a debugger

2010-04-26 Thread Fabio Zadrozny
gram line by line. > Please guide me. > Thank you. > Regards, > Sanam > Hi Sanam, The usual way to work that way is having one of the debuggers work in remote debug mode (so, if you launch it from a python ide, the c++ remote debugger should connect to it remotely, or if you launch it fr

How to choose a debugger

2010-04-25 Thread sanam singh
Hi, I want to debug my c++blocks which are dynamically loaded into python for execution. I am using wingide for debugging python. But its limitation is that when c++module is called in python script it doent take me into c++ module. What I want is that I should be able to visually see the c++ c

Re: accessing local variables from the pdb debugger

2009-12-11 Thread Jean-Michel Pichavant
bar Thanks, that could mean it is a bug from pdb in python 2.5. I tried with ipython & python, same issue. I'll keep that in mind, sadly it concerns a basic feature of the debugger. JM -- http://mail.python.org/mailman/listinfo/python-list

Re: accessing local variables from the pdb debugger

2009-12-10 Thread Lie Ryan
On 12/11/2009 12:37 AM, Jean-Michel Pichavant wrote: Diez B. Roggisch wrote: By just inserting the print foo statement right after changing foo's value, I've rolled back the value to 'foo' ??? A hell of a wtf pdb feature ! Apparently it's fixed in 2.7 and 3.1 D:\Lie Ryan\Desktop>python27 d.py

Re: accessing local variables from the pdb debugger

2009-12-10 Thread Jean-Michel Pichavant
Diez B. Roggisch wrote: Jean-Michel Pichavant wrote: Guys, I have some problem changing method locals with pdb: import pdb def test(): foo = 'foo' pdb.set_trace() test() --Return-- > /home/jeanmichel/trunk/tnt/test.py(5)test()->None -> pdb.set_trace() (Pdb) print foo foo (Pdb) f

Re: accessing local variables from the pdb debugger

2009-12-10 Thread Diez B. Roggisch
Jean-Michel Pichavant wrote: > Guys, > > I have some problem changing method locals with pdb: > > import pdb > > def test(): > foo = 'foo' > pdb.set_trace() > > test() > --Return-- > > /home/jeanmichel/trunk/tnt/test.py(5)test()->None > -> pdb.set_trace() > (Pdb) print foo > foo > (Pd

accessing local variables from the pdb debugger

2009-12-10 Thread Jean-Michel Pichavant
Guys, I have some problem changing method locals with pdb: import pdb def test(): foo = 'foo' pdb.set_trace() test() --Return-- > /home/jeanmichel/trunk/tnt/test.py(5)test()->None -> pdb.set_trace() (Pdb) print foo foo (Pdb) foo = 'bar' (Pdb) print foo foo (Pdb) I tried us

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 Pyth

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

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

debugger on system with Python 2 and 3

2009-11-27 Thread Yo Sato
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... First I tried to use something called pydb, but it seems

Re: breaking out to the debugger (other than x=1/0 !)

2009-10-23 Thread bdb112
The example here is for pydb which works as well (and is more like gdb). On Oct 23, 12:07 pm, "Diez B. Roggisch" wrote: > bdb112 wrote: > > After a while programming in python, I still don't know how to break > > out to the debugger other than inserting an instruction t

Re: breaking out to the debugger (other than x=1/0 !)

2009-10-23 Thread Diez B. Roggisch
bdb112 wrote: > After a while programming in python, I still don't know how to break > out to the debugger other than inserting an instruction to cause an > exception. > x=1/0 > > In IDL one woudl write > > stop,'reason for stopping...' > at which po

breaking out to the debugger (other than x=1/0 !)

2009-10-23 Thread bdb112
After a while programming in python, I still don't know how to break out to the debugger other than inserting an instruction to cause an exception. x=1/0 In IDL one woudl write stop,'reason for stopping...' at which point you can inspect locals (as in pdb) and continue (but you ca

breaking out to the debugger (other than x=1/0 !)

2009-10-23 Thread bdb112
After a while programming in python, I still don't know how to break out to the debugger other than inserting an instruction to cause an exception. x=1/0 In IDL one woudl write stop,'reason for stopping...' at which point you can inspect locals (as in pdb) and continue (but you ca

Re: debugger

2009-08-22 Thread MRAB
ess Enter, the program gets out of debug mode. Umm.. which debugger is that? My debugger doesn't have shift-F9... then you probably not working under windows ... Stef That doesn't help. If you want help, describe the environment. Python version, OS, and what command you

Re: debugger

2009-08-22 Thread Dave Angel
ram gets out of debug mode. Umm.. which debugger is that? My debugger doesn't have shift-F9... then you probably not working under windows ... Stef That doesn't help. If you want help, describe the environment. Python version, OS, and what command you did to start this &q

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: &qu

Re: debugger

2009-08-22 Thread Tim Chase
ram gets out of debug mode. Umm.. which debugger is that? My debugger doesn't have shift-F9... then you probably not working under windows ... Even under Windows, you still have to specify your environment. In both Win32 and *nix I use pdb as my debugger and shift+F9 does

Re: debugger

2009-08-22 Thread Stef Mientki
bug mode. Umm.. which debugger is that? My debugger doesn't have shift-F9... then you probably not working under windows ... Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: debugger

2009-08-22 Thread Albert Hopkins
ug mode. Umm.. which debugger is that? My debugger doesn't have shift-F9... -a -- http://mail.python.org/mailman/listinfo/python-list

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) >

debugger

2009-08-22 Thread flagmino
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) r

Re: Python debugger

2009-07-04 Thread Fabio Zadrozny
> Hi, > Could you suggest some python debuggers? > > Thanks, > Srini Pydev has a debugger that supports the common debugger features (watches, multiple threads, breakpoints, conditional breakpoints, step in, out, etc -- http://fabioz.com/pydev/manual_adv_debugger.html ), and p

Re: Python debugger

2009-07-03 Thread Simon Forman
On Jul 3, 8:15 am, srinivasan srinivas wrote: > Hi, > Could you suggest some python debuggers? > > Thanks, > Srini > >       Love Cricket? Check out live scores, photos, video highlights and more. > Click herehttp://cricket.yahoo.com Ipython has good debugg

Re: Python debugger

2009-07-03 Thread Clovis Fabricio
2009/7/3 Kee Nethery : > It's not free but I like the debugger in Komodo IDE. > Lets me simulate a web connection, lets me step through the code and examine > the variables as it executes, can be run remotely (have not played with that > aspect yet). > Does variable inspection

Re: Python debugger

2009-07-03 Thread Kee Nethery
It's not free but I like the debugger in Komodo IDE. Lets me simulate a web connection, lets me step through the code and examine the variables as it executes, can be run remotely (have not played with that aspect yet). Does variable inspection of the variables so you can dive int

Re: Python debugger

2009-07-03 Thread Clovis Fabricio
2009/7/3 srinivasan srinivas : > Could you suggest some python debuggers? Two graphical debugger frontends: http://www.gnu.org/software/emacs/ http://winpdb.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python debugger

2009-07-03 Thread Bruno Desthuilliers
srinivasan srinivas a écrit : Hi, Could you suggest some python debuggers? http://docs.python.org/library/pdb.html#module-pdb HTH -- http://mail.python.org/mailman/listinfo/python-list

Python debugger

2009-07-03 Thread srinivasan srinivas
Hi, Could you suggest some python debuggers? Thanks, Srini Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com -- http://mail.python.org/mailman/listinfo/python-list

Can pdb debugger save history list ?

2009-05-27 Thread robert song
Hello,everyone. Is there any configure file that can be set to save history list for python gdb debugger? thank you very much. -- http://mail.python.org/mailman/listinfo/python-list

Debugger rewrite

2009-03-21 Thread rocky
Over at http://code.google.com/p/pydbgr/ is a rewrite of the pydb debugger. Not all of the features from pydb have been moved over, and the code there are some new features. Right now I'd call this alpha software, but possibly it usable as is. >From the development side, I think this w

Custom debugger trace hooks

2008-12-11 Thread R. Bernstein
However If there's something you want to run before stepping you can do that by monkey-patching Pdb.precmd: snip import pydb def myprecmd(obj, debug_cmd): """Custom Hook method executed before issuing a debugger command.""" global _py

Re: python debugger tips?

2008-10-16 Thread Pat
rl you can do this: Does anyone have advice on any macros or something that i could use to do this? Additionally, what do people recommend as good "advanced" python debugger guides? Explaining breakpoints and all is useful, but I really want to know how to make sophisticated macros a

Re: python debugger tips?

2008-10-11 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : Hi All, I'm switching to python from perl, and like the language a ton, but I find pdb and pydb to be vastly inferior debuggers to the perl version. In particular, I've grown very used to stepping into arbitrary functions interactively. For instance, in perl you can

Re: python debugger tips?

2008-10-10 Thread aizenman
On Oct 10, 5:58 pm, Stef Mientki <[EMAIL PROTECTED]> wrote: > take a look at winpdb (which has no relation with Windows-OS !! > > cheers, > Stef Looks pretty cool; sadly, our sysadmin refuses to install wxwindows, and the commandline version is fairly cryptic... Thanks! Y -- http://mail.python.or

Re: python debugger tips?

2008-10-10 Thread Stef Mientki
take a look at winpdb (which has no relation with Windows-OS !! cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

python debugger tips?

2008-10-10 Thread just . another . random . user
t of values. Does anyone have advice on any macros or something that i could use to do this? Additionally, what do people recommend as good "advanced" python debugger guides? Explaining breakpoints and all is useful, but I really want to know how to make sophisticated macros and

Help - IDLE Debugger Source Checkbox??

2008-05-03 Thread SFM
I have been learning the IDLE Debugger and was wondering if I was missing something with the "Source" checkbox setting in the debugger. As I single-step through my program, I have to uncheck and then recheck this box in order to see the current line in the file editing window highli

Re: Getting a Foothold on the IDLE Debugger

2008-02-12 Thread Nir
On Feb 12, 7:15 am, "W. Watson" <[EMAIL PROTECTED]> wrote: > I thought I try to step through some simplePythoncode I wrote with IDLE > using Debug. I'm at the early stages of learningPython. I used the shell to > Run, then clicked on Debug->Debugger. That bro

Re: Getting a Foothold on the IDLE Debugger

2008-02-12 Thread Gabriel Genellina
En Tue, 12 Feb 2008 04:23:17 -0200, W. Watson <[EMAIL PROTECTED]> escribió: > BTW, what's with the close and exit options on the File menu? They both > dump > me out of IDLE. Odd. Try File|New > Any idea of whether I can "glue" the File-?Open to a > particular folder? Mmm, no. But it rememb

Re: Getting a Foothold on the IDLE Debugger

2008-02-11 Thread W. Watson
ages of learning Python. I used the shell to >> Run, then clicked on Debug->Debugger. That brought up a window with Stack >> and Locals checked. The buttons Go, Step, etc. are greyed out. How do I >> proceed? > > IDLE has a debugger? How about that. > > After you

Re: Getting a Foothold on the IDLE Debugger

2008-02-11 Thread [EMAIL PROTECTED]
On Feb 11, 11:15�pm, "W. Watson" <[EMAIL PROTECTED]> wrote: > I thought I try to step through some simple Python code I wrote with IDLE > using Debug. I'm at the early stages of learning Python. I used the shell to > Run, then clicked on Debug->Debugger. That bro

Getting a Foothold on the IDLE Debugger

2008-02-11 Thread W. Watson
I thought I try to step through some simple Python code I wrote with IDLE using Debug. I'm at the early stages of learning Python. I used the shell to Run, then clicked on Debug->Debugger. That brought up a window with Stack and Locals checked. The buttons Go, Step, etc. are greyed out

Re: Smart Debugger (Python)

2008-02-04 Thread kraman
On Feb 3, 3:55 pm, Norm Matloff <[EMAIL PROTECTED]> wrote: > I have something of an obsession with debuggers, so I was glad to see > this posting. While we're on the subject, I might as well add my own > small contribution, which I call Xpdb. > > Xpdb is available athttp://heather.cs.ucdavis.edu/~

Re: Smart Debugger (Python)

2008-02-03 Thread Norm Matloff
I have something of an obsession with debuggers, so I was glad to see this posting. While we're on the subject, I might as well add my own small contribution, which I call Xpdb. Xpdb is available at http://heather.cs.ucdavis.edu/~matloff/xpdb.html Quoting from the beginning of that page: I t

Smart Debugger (Python)

2008-01-24 Thread kraman
Hi All, Please find the smart debugger for python. it is an enchanced version of python pdb with data rendering feature. http://develsdb.googlecode.com/svn/trunk/python/ http://develsdb.googlecode.com/svn/wiki/SmartDebuggerPython.wiki hope you find this useful. Regards, Karthik

Re: Try a different type of debugger.

2007-07-12 Thread Michael Newman
Thanks for making this terrific program. Can you add a setting for screen size? (perhaps desired Width and Height in pixels)? I have my screen set at 1024x768 (the web browser window is of course a little bit smaller) and I can't see all the program's rendering at the far right. -Mike On 7/11/07,

Debugger

2007-07-05 Thread James Matthews
Can anyone please tell me of a good debugger that can debug threads. My issue is that i have a program that is crashing only under certain threads but others are fine. And when i do it without threads it runs fine! -- http://www.goldwatches.com/watches.asp?Brand=14 http://www.jewelerslounge.com

A different debugger

2007-07-05 Thread M Friedeman
Try a different type of debugger. This one does not need you to set breakpoints. Run the program once and after that everything is available to you. You then just scroll to any line you're interested in and click the variable. It requires Firefox and Python 2.5.

Re: automatic debugger?

2006-07-15 Thread R. Bernstein
[EMAIL PROTECTED] writes: > hi > is there something like an automatic debugger module available in > python? Say if i enable this auto debugger, it is able to run thru the > whole python program, print variable values at each point, or print > calls to functions..etc...just like

Re: attaching debugger to runinng python program

2006-07-15 Thread Nebur
You may try winpdb. I find it to be a comfortable debugger that also can attach to running programs. (You need to add a line in your code where the program should stop and wait for the debugger to attach.) I am satisfied with it, but I did not debug a multi theaded app. However, it can handle

Re: attaching debugger to runinng python program

2006-07-14 Thread olsongt
alf wrote: > Bill Pursell wrote: > > Now, in another shell, > > % gdb > > (gdb) attach 54321 > > > > Thx for the reply. But I wish to debug the python program, not python > interpreter itself. I haven't used this, but it looks like it's worth a try: http://hapdebugger.sourceforge.net/ -- http:

Re: attaching debugger to runinng python program

2006-07-14 Thread alf
Bill Pursell wrote: > Now, in another shell, > % gdb > (gdb) attach 54321 > Thx for the reply. But I wish to debug the python program, not python interpreter itself. -- http://mail.python.org/mailman/listinfo/python-list

Re: attaching debugger to runinng python program

2006-07-13 Thread Bill Pursell
alf wrote: > Hi, > > I have a two fold question: > -how to attach the debugger to running multi threaded program > -the objective is to find an infinite loop in one of threads which > makes the whole thingy going craze (100%CPU) > > The program itself is not

attaching debugger to runinng python program

2006-07-13 Thread alf
Hi, I have a two fold question: -how to attach the debugger to running multi threaded program -the objective is to find an infinite loop in one of threads which makes the whole thingy going craze (100%CPU) The program itself is not easy, in fact quite hude and sometimes it

Re: automatic debugger?

2006-06-26 Thread Paul Rubin
[EMAIL PROTECTED] writes: > is there something like an automatic debugger module available in > python? Say if i enable this auto debugger, it is able to run thru the > whole python program, print variable values at each point, or print > calls to functions..etc...just like the pdb mod

automatic debugger?

2006-06-26 Thread micklee74
hi is there something like an automatic debugger module available in python? Say if i enable this auto debugger, it is able to run thru the whole python program, print variable values at each point, or print calls to functions..etc...just like the pdb module, but now it's automatic. t

Re: Python Debugger / IDE ??

2006-03-30 Thread Magnus Lycka
Don Taylor wrote: > Is there a free or low-cost version of Delphi for Windows available > anywhere? Sure. If my memory serves me correctly, I have several CDs from various computer magazines with previous versions of Delphi at home. I don't know if such offers have been around recently, but you

Re: Python Debugger / IDE ??

2006-03-29 Thread Christoph Zwerschke
Don Taylor wrote: > Is there a free or low-cost version of Delphi for Windows available > anywhere? I don't know (never used Delphi actually). Anyway, you don't need to have Delphi to use PyScripter, and PyScripter is completely free. However, it will only run on Windows because it is developed

Pythonic debugging - Re: Python Debugger / IDE ??

2006-03-17 Thread robert
DP. I need tips to debug my code >>easily. > > > pythonic "debugging" in three steps: > > 1/ unit tests > 2/ a bunch of print statements > 3/ the interactive python shell > > All this relying on well-decoupled, modular code. > > FWIW, I&#x

Re: Python Debugger / IDE ??

2006-03-16 Thread Rowdy
Don Taylor wrote: > Is there a free or low-cost version of Delphi for Windows available > anywhere? > There used to be a Delphi 6 Personal Edition that was available free (for non-commercial use). You might still find it around somewhere. Rowdy -- http://mail.python.org/mailman/listinfo/pyt

Re: Python Debugger / IDE ??

2006-03-16 Thread Don Taylor
Christoph Zwerschke wrote: > [EMAIL PROTECTED] wrote: > >>I like the Pyscripter, is there any Linux version or something of it. > > > Sorry, I forgot to mention that there is a snag in it. Since PyScripter > is based on Python for Delphi, it is available for Windows only. > Is there a free or

Re: Python Debugger / IDE ??

2006-03-16 Thread Ritesh Raj Sarraf
Can you please point some good documents (need not be Python specific) on best practices with writing code this way ? Thanks, Ritesh -- http://mail.python.org/mailman/listinfo/python-list

  1   2   3   >