Image

Imagefrazer wrote in Imagepython_dev

debugging - and hello

hi everyone,

I only started my python career yesterday (ie. I first saw it yesterday)

I was trying to run the pdb from the IDLE shell using
pdb.run('taskcoach.start()')

it crashes the shell when it goes in to python.parse_args


I have got the debugger working from the command prompt
pdb.py taskcoach.pyw

here is a line of code from taskCoach
kwargs['usage'] = 'usage: %prog [options] [.tsk file]'
and when pdb crashes in the shell it crashes with
usage: idle.py [options] [.tsk file]

I was wondering if anyone could explain how to fix the problem