Re: [Pyobjc-dev] Debugging PyObjC app
Brought to you by:
ronaldoussoren
From: Bob I. <bo...@re...> - 2004-03-31 04:18:36
|
On Mar 30, 2004, at 9:57 PM, James Mastro wrote: > What is the best way to go about debugging a PyObjC app? I have an app > I'm developing that is currently written in Objective C, but I'd > rather do it in Python with PyObjC. I remember reading somewhere when > I was first looking into this that source level debugging was going to > be a problem...but I can't find that link anymore. So, before I jump > into this, am I going to be stuck debugging with just print > statements? IMHO, gdb and Xcode is far better than pdb with.. nothing. I've been able to do pdb.set_trace() from within an PyObjC app, which works so long as you started it from a real console.. but it's not very pretty. Some people are working on better solutions (i.e., out-of-process Python debuggers), but they don't really exist yet. -bob |