Re: Usage of .gdbinit to automate xcode gdb configuration
Re: Usage of .gdbinit to automate xcode gdb configuration
- Subject: Re: Usage of .gdbinit to automate xcode gdb configuration
- From: Philip Mötteli <email@hidden>
- Date: Fri, 30 Jan 2004 18:42:38 +0100
Am 30.01.2004 um 16:44 schrieb Tim Gogolin:
Forgive me for the basic question, but I'm not a gdb expert...
I'd like to have "break on NSExceptions" turned on by default... I see
the XCode Debug menu has an option for break on C++ exceptions, but no
option for Obj-C exceptions...
Typing:
b [NSException raise]
in the gdb console drawer has the runtime behavior I want, but I don't
want to type it every time I run my app in the debugger. I made a
~/.gdbinit text file with that simple line "b [NSException raise]" as
the only contents, but it doesn't seem to affect gdb's behavior, nor
do I see any indication in the gdb console drawer view that the init
script has been run (even when I put obvious garbage into the .gdbinit
file, hoping to see an error message)
Question:
Is the .gdbinit file the right approach for this?
If so, where must the file be placed so gdb will read it? How can I
know that the file is actually being read at gdb startup?
Just typ 'fb [NSException raise]'. This stands for 'forward-break'.
Re
Phil
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.