Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'programmer': 0.03; 'url:sourceforge': 0.03; 'debug': 0.07; 'debugging': 0.07; 'converts': 0.09; 'debugger': 0.09; 'output,': 0.09; 'cc:addr:python-list': 0.11; '<>.': 0.14; 'windows': 0.15; 'eclipse': 0.16; 'investigate': 0.16; 'pdb': 0.16; 'scripts.': 0.16; 'subject:question.': 0.16; 'variables,': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'looked': 0.18; 'module': 0.19; 'pfxlen:0': 0.19; '(the': 0.22; 'command': 0.22; 'machine': 0.22; 'cc:addr:python.org': 0.22; 'sean': 0.24; 'java': 0.24; 'paul': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'script': 0.25; 'switch': 0.26; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'generally': 0.29; "doesn't": 0.30; 'url:mailman': 0.30; 'app.': 0.31; 'perl': 0.31; 'writes:': 0.31; 'text': 0.33; 'worked': 0.33; 'url:python': 0.33; 'running': 0.33; 'level.': 0.33; 'mac': 0.33; 'reader': 0.33; 'screen': 0.34; 'subject:the': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'idle': 0.36; 'url:listinfo': 0.36; 'charset:us-ascii': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'step': 0.37; 'message-id:@gmail.com': 0.38; 'url:library': 0.38; 'window': 0.38; 'pm,': 0.38; 'ability': 0.39; 'does': 0.39; 'url:mail': 0.40; 'how': 0.40; 'break': 0.61; 'full': 0.61; 'url:3': 0.61; 'simple': 0.61; 'header:Message- Id:1': 0.63; 'more': 0.64; 'road': 0.65; 'biggest': 0.67; 'readers': 0.68; 'peter,': 0.84; 'points,': 0.84; 'preventing': 0.84; 'speech': 0.84; 'feet': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=OpwxQM20Eltmo1Rk8sMRbjDF8doxfVs5sfJpVeIhwqs=; b=oIpxLTAM52ED8+hLyV3V3nXsdpZJlsGoUYDrA6kCPqyXBBIDgjr02QTuVlMAQjbmOp GqD8P+dTrKUxZvuBVoE+ki1uIEY9t6JfLsHwX/TXKTbMorlaMvk7IAvPgYgc+Am2iGoX M7VgKE+NMHdP0+SE5U7T8+7bzoyWMFc0EdLg8QjlRsy7XpE/TPU9DUbsP1vBq6iO5caO dEb+Ri2YDFlLJHj5iYs2Su6LE7SRT2zeIa1N5PvvU8Y3XEEWzT/GHwBSIqcibZBuSkGx kCyNsqtGSVZWVhBxkW8qZDbcgTx5xTgdTC29JoK8AtkwYBdw0S4piztwACM5bz+zs3LH ZS4g== X-Received: by 10.68.245.200 with SMTP id xq8mr93985936pbc.21.1388752738758; Fri, 03 Jan 2014 04:38:58 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: Debugging on the Mac question. From: Sean Murphy In-Reply-To: <87bnzt301n.fsf@rudin.co.uk> Date: Fri, 3 Jan 2014 23:38:53 +1100 Content-Transfer-Encoding: quoted-printable References: <87bnzt301n.fsf@rudin.co.uk> To: Paul Rudin X-Mailer: Apple Mail (2.1510) X-Mailman-Approved-At: Fri, 03 Jan 2014 22:27:48 +0100 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 48 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1388784469 news.xs4all.nl 2966 [2001:888:2000:d::a6]:52589 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63086 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 wrote: > Sean Murphy writes: >=20 >=20 >> 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. >>=20 >> 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. >>=20 >> If I use $python -d script.py the debugger doesn't seem to trigger on = the mac.=20 >>=20 >> So how I can perform a debug on a script so I can step through it, = set up break >> points, watch variables, etc. >>=20 >> 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. >=20 > For command line debugging see > .=20 >=20 >=20 > More generally you might want to investigate > (disclaimer - I have never used > this, but from what you say you might find it useful). > --=20 > https://mail.python.org/mailman/listinfo/python-list