Re: [Pyobjc-dev] Any trick to building and running (debugging) Web Services Tool?
Brought to you by:
ronaldoussoren
From: <bb...@ma...> - 2002-10-17 12:06:13
|
An abstract answer was posted last night, but here is the recipe: Use the -e flag to gdb to specify the executable from which it'll take symbols: gdb -e /usr/bin/python Web\ Services\ Tool.app/Contents/MacOS/Web\ Services\ Tool.app (From the terminal while cd'd into the directory that contains the build app product). When it runs, gdb will break when it passes control from the bootstrap app into the python. Just type 'c' and hit return to continue. After that point, you *should* be up and running with the appropriate set of symbols. If frameworks are involved in your project, there may be some other issues involved -- namely, you might have to set up one of the DYLD environment variables (see the dyld man page). b.bum On Thursday, October 17, 2002, at 03:17 AM, Joseph Grace wrote: > Hi: > > I can run the shipped tool fine, but when I try to build it and run > the result (debugging actually) in ProjectBuilder, I get the following > from the debugger console: > -=- > run > tty /dev/ttyp2 > [Switching to process 11253 thread 0xb03] > warning: ppc_frame_chain_valid: stack pointer from 0xbffffc08 to > 0x1000 grows upward; assuming invalid > > warning: ppc_frame_chain_valid: stack pointer from 0xbffffc08 to > 0x1000 grows upward; assuming invalid > > warning: ppc_frame_chain_valid: stack pointer from 0xbffffc08 to > 0x1000 grows upward; assuming invalid > > (gdb) > -=- > > Also: > > 'Program received signal: "SIGTRAP".' > > And: > > 'Error from Debugger: mi_cmd_stack_list_frames: Not enough frames in > stack.' > > I've done the setup.py, and I'm not sure what I'm missing to be able > to build and run a workable version of the WST example pyobj example > app. > > Tips, pointers, suggestions appreciated! > > Thanks, > > = Joe = > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > b.bum Do the voices in my head bother you? |