Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63042 > unrolled thread
| Started by | Sean Murphy <mhysnm1964@gmail.com> |
|---|---|
| First post | 2014-01-03 15:17 +1100 |
| Last post | 2014-01-03 23:38 +1100 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.python
Debugging on the Mac question. Sean Murphy <mhysnm1964@gmail.com> - 2014-01-03 15:17 +1100
Re: Debugging on the Mac question. Paul Rudin <paul.nospam@rudin.co.uk> - 2014-01-03 09:08 +0000
Re: Debugging on the Mac question. Sean Murphy <mhysnm1964@gmail.com> - 2014-01-03 23:38 +1100
| From | Sean Murphy <mhysnm1964@gmail.com> |
|---|---|
| Date | 2014-01-03 15:17 +1100 |
| Subject | Debugging on the Mac question. |
| Message-ID | <mailman.4841.1388739343.18130.python-list@python.org> |
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. Sean
[toc] | [next] | [standalone]
| From | Paul Rudin <paul.nospam@rudin.co.uk> |
|---|---|
| Date | 2014-01-03 09:08 +0000 |
| Message-ID | <87bnzt301n.fsf@rudin.co.uk> |
| In reply to | #63042 |
Sean Murphy <mhysnm1964@gmail.com> writes: > 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. For command line debugging see <http://docs.python.org/3/library/pdb.html>. More generally you might want to investigate <http://emacspeak.sourceforge.net/> (disclaimer - I have never used this, but from what you say you might find it useful).
[toc] | [prev] | [next] | [standalone]
| From | Sean Murphy <mhysnm1964@gmail.com> |
|---|---|
| Date | 2014-01-03 23:38 +1100 |
| Message-ID | <mailman.4868.1388784469.18130.python-list@python.org> |
| In reply to | #63044 |
PETER, thanks Peter, I have already found the PDB module and have had a play with it. It will do for now. On 03/01/2014, at 8:08 PM, Paul Rudin <paul.nospam@rudin.co.uk> wrote: > Sean Murphy <mhysnm1964@gmail.com> writes: > > >> 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. > > For command line debugging see > <http://docs.python.org/3/library/pdb.html>. > > > More generally you might want to investigate > <http://emacspeak.sourceforge.net/> (disclaimer - I have never used > this, but from what you say you might find it useful). > -- > https://mail.python.org/mailman/listinfo/python-list
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web