Re: [Pyobjc-dev] pdb in PyObjC apps?
Brought to you by:
ronaldoussoren
From: Bob I. <bo...@re...> - 2003-08-18 21:57:10
|
On Monday, Aug 18, 2003, at 16:49 America/New_York, Zachery Bir wrote: > Anyone found a way to integrate the python debugger (pdb) with a > PyObjC application? I made the mistake of trying it, and it clogged up > my Console.app and I had to use Force Quit to stop my app. You can probably use it pretty much the same way you would normally use pdb. There's probably a couple snags (NSApplicationMain will probably kill the interpreter when the runloop stops, AppHelper.runEventLoop will probably try and catch all your exceptions, etc.), but you didn't really give enough information about your problem. You should be more concise about exactly what you did, especially how it was executed (WindowServer is picky about these things). You should also include some sample code (preferably stripped down to just enough to show the problem), and define what "clogged up my Console.app" means. > Should we be using the Project Builder's debugger? Will that work? Not unless you're debugging Python itself, or an extension written in C, C++, Objective C :) Project Builder's debugger is just a gdb frontend. -bob |