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


Groups > comp.lang.python > #63056 > unrolled thread

Re: Debugging on the Mac question.

Started byRobert Kern <robert.kern@gmail.com>
First post2014-01-03 13:50 +0000
Last post2014-01-03 13:50 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Debugging on the Mac question. Robert Kern <robert.kern@gmail.com> - 2014-01-03 13:50 +0000

#63056 — Re: Debugging on the Mac question.

FromRobert Kern <robert.kern@gmail.com>
Date2014-01-03 13:50 +0000
SubjectRe: Debugging on the Mac question.
Message-ID<mailman.4851.1388757022.18130.python-list@python.org>
On 2014-01-03 04:17, Sean Murphy wrote:
> Team,
>
>
> I am a Vision Impaired programmer on the Mac and Window platforms. I have started to learn Python. The biggest road block I have is the ability of debugging my simple scripts. The IDLE program does not work with the screen readers I use on the Mac or Windows. A screen reader is a program that grabs the text on the screen and converts it into speech output, at least this is the 50000 feet explanation.  I cannot see the screen at all.
>
> I have looked at eclipse and it doesn't work with Voice-Over (the screen reader on the Mac). I have java issues on my windows machine preventing me running this app.
>
> If I use $python -d script.py the debugger doesn't seem to trigger on the mac.
>
> So how I can perform a debug on a script so I can step through it, set up break points, watch variables, etc.
>
> It is really annoying me, since under Perl I just added the -d switch and had a full debugger that worked at the console level.

Python also has a console debugger. -d does not invoke it; -d is for something else.

   $ python -m pdb myscript.py

http://docs.python.org/3.3/library/pdb

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web