Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

Python debugger

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


achalk at XXXmagnacartasoftware

Jul 30, 2003, 11:41 AM

Post #1 of 8 (178 views)
Permalink
Python debugger

I am sure that it has been asked before but could someone tell a newbie
whether there is a Python debugger out there?

In case it is relevant, i am using v2.2 on Windows.

Many thanks.


dkuhlman at rexx

Jul 30, 2003, 11:57 AM

Post #2 of 8 (166 views)
Permalink
Python debugger [In reply to]

Andrew Chalk wrote:

> I am sure that it has been asked before but could someone tell a
> newbie whether there is a Python debugger out there?
>

See:

http://www.python.org/doc/current/lib/module-pdb.html

- Dave

--
Dave Kuhlman
http://www.rexx.com/~dkuhlman
dkuhlman[at]rexx.com


mis6 at pitt

Jul 30, 2003, 2:13 PM

Post #3 of 8 (165 views)
Permalink
Python debugger [In reply to]

"Andrew Chalk" <achalk[at]XXXmagnacartasoftware.com> wrote in message news:<VjUVa.1408$MK3.89[at]newssvr22.news.prodigy.com>...
> I am sure that it has been asked before but could someone tell a newbie
> whether there is a Python debugger out there?
>
> In case it is relevant, i am using v2.2 on Windows.
>
> Many thanks.

idle has a debugger.

M.S.


syver-en+usenet at online

Aug 2, 2003, 1:38 PM

Post #4 of 8 (165 views)
Permalink
Python debugger [In reply to]

Dave Kuhlman <dkuhlman[at]rexx.com> writes:

> Andrew Chalk wrote:
>
> > I am sure that it has been asked before but could someone tell a
> > newbie whether there is a Python debugger out there?
> >
>
> See:
>
> http://www.python.org/doc/current/lib/module-pdb.html

And in case you don't like using a commandline debugger, you can use
pythonwin's debugger or Emacs together with pdb.

--

Syver Enstad


mis6 at pitt

Aug 3, 2003, 8:06 AM

Post #5 of 8 (165 views)
Permalink
Python debugger [In reply to]

Syver Enstad <syver-en+usenet[at]online.no> wrote in message news:<u3cgjbxrr.fsf[at]online.no>...
> Dave Kuhlman <dkuhlman[at]rexx.com> writes:
>
> > Andrew Chalk wrote:
> >
> > > I am sure that it has been asked before but could someone tell a
> > > newbie whether there is a Python debugger out there?
> > >
> >
> > See:
> >
> > http://www.python.org/doc/current/lib/module-pdb.html
>
> And in case you don't like using a commandline debugger, you can use
> pythonwin's debugger or Emacs together with pdb.

How do I use pdb with emacs? Do you have any reference?

Michele


syver-en+usenet at online

Aug 3, 2003, 4:16 PM

Post #6 of 8 (165 views)
Permalink
Python debugger [In reply to]

mis6[at]pitt.edu (Michele Simionato) writes:

> Syver Enstad <syver-en+usenet[at]online.no> wrote in message
> news:<u3cgjbxrr.fsf[at]online.no>...
>
> > Dave Kuhlman <dkuhlman[at]rexx.com> writes:
> >
> > > Andrew Chalk wrote:
> > >
> > > > I am sure that it has been asked before but could someone tell a
>
> > > > newbie whether there is a Python debugger out there?
> > > >
> > >
> > > See:
> > >
> > > http://www.python.org/doc/current/lib/module-pdb.html
> >
> > And in case you don't like using a commandline debugger, you can use
>
> > pythonwin's debugger or Emacs together with pdb.
>
> How do I use pdb with emacs? Do you have any reference?

Yes, in my head ;-)

You basically just do Meta-x and write pdb in the mini-buffer. Emacs
queries you for a commandline and off you go. The pdb support is an
integrated part of Grand Unified Debugger so that the same menus,
shortcut keys applies across all suported debuggers.

If you are running windows there are two different problems you will have to
solve before pdb will work.

1: The regexp that pdb uses to match the filenames (so that it can
popup the file that the instruction pointer is in) is wrong for paths
under windows. I am not sure if this is fixed in the latest emacs
release (don't think so).

2: NT Emacs has problems with python buffering stdin and stdout, this
causes the GUD-PDB statemachine to get into a bad state.

I have made some miscelleanous extension to GUD-PDB, like visual
breakpoints, enabling more items in the GUD menu and more.

--

Vennlig hilsen

Syver Enstad


bruno.42.desthuilliers at websiteburo

Jul 3, 2009, 5:46 AM

Post #7 of 8 (165 views)
Permalink
Re: Python debugger [In reply to]

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


sajmikins at gmail

Jul 3, 2009, 1:46 PM

Post #8 of 8 (162 views)
Permalink
Re: Python debugger [In reply to]

On Jul 3, 8:15 am, srinivasan srinivas <sri_anna...@yahoo.co.in>
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 debugger integration.
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.