I think that I've followed your instructions correctly. Here is the transcript of the gdb session:
> ChristosComputer:SXOLH christoschryssochoidis$ ps auxwww | egrep Emacs > christoschryssochoidis 37236 0.3 0,0 591508 280 s000 R+ > 1:22πμ 0:00.00 egrep Emacs > christoschryssochoidis 36789 0.0 4,2 334068 44352 ?? S > 12:39μμ 1:27.50 /Applications/Emacs.app/Contents/MacOS/Emacs - > psn_0_3085041 > ChristosComputer:SXOLH christoschryssochoidis$ gdb -p 36789 > GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:07:49 > UTC 2007) > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i386-apple-darwin". > /Users/christoschryssochoidis/Documents/SXOLH/36789: No such file or > directory. > Attaching to process 36789. > Reading symbols for shared libraries . done > Reading symbols for shared > libraries > > .................................................................................................... > done > 0x94d479e6 in mach_msg_trap () > (gdb) cont > Continuing. > > Program received signal SIGTRAP, Trace/breakpoint trap. > 0x91a490f4 in ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ () > (gdb) where > #0 0x91a490f4 in ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ () > #1 0x92f4e0fb in objc_exception_throw () > #2 0x91a48d71 in -[NSException raise] () > #3 0x915d4262 in bytesInEncoding () > #4 0x91691cb1 in -[NSCFString cString] () > #5 0x001957ea in ns_set_name_as_filename (f=0x8eaea0) at nsfns.m:659 > #6 0x0003de6f in prepare_menu_bars () at xdisp.c:9277 > #7 0x000486a1 in redisplay_internal > (preserve_echo_area=-1608580880) at xdisp.c:11253 > #8 0x000bd9fe in read_char (commandflag=1, nmaps=4, > maps=0xbffff360, prev_event=41944073, used_mouse_menu=0xbffff47c, > end_time=0x0) at keyboard.c:2753 > #9 0x000c0201 in read_key_sequence (keybuf=0xbffff538, bufsize=30, > prompt=41944073, dont_downcase_last=0, can_return_switch_frame=1, > fix_current_buffer=1) at keyboard.c:9456 > #10 0x000c213f in command_loop_1 () at keyboard.c:1689 > #11 0x0012dd38 in internal_condition_case (bfun=0xc1eb7 > <command_loop_1>, handlers=41984593, hfun=0xb5f8a <cmd_error>) at > eval.c:1497 > #12 0x000af9ae in command_loop_2 () at keyboard.c:1401 > #13 0x0012dc29 in internal_catch (tag=41979665, func=0xaf96a > <command_loop_2>, arg=41944073) at eval.c:1233 > #14 0x000b6261 in recursive_edit_1 () at keyboard.c:1380 > #15 0x000b63e9 in Frecursive_edit () at keyboard.c:1051 > #16 0x000ae9e4 in main (argc=2, argv=0xbffff93c) at emacs.c:1862 > (gdb) > After that, Emacs.app doesn't close but seems "hanged". I guess this is normal due to the connection to gdb. Hope it helps, C.C. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Emacs-app-dev- mailing list Emacs-app-dev-@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-