Re: Exceptions
Re: Exceptions
- Subject: Re: Exceptions
- From: Scott Tooker <email@hidden>
- Date: Fri, 1 Jun 2001 15:02:40 -0700
You can also set this directly in the 'Breakpoints' tab (along the
left side of the window) outside of the debugger.
Just open up the Breakpoints tab and then click on the 'New'
button. This creates a new special group called 'Symbolic
Breakpoints' and adds an empty breakpoint under it. Simply enter
'-[NSException raise]' for that breakpoint. The nice thing is that
settings it here stores it persistently (so you don't have to reset
it each time). You can also enable/disable this breakpoint like any
other in Project Builder.
In general, the 'Symbolic Breakpoints' group just uses fb
(future-break) to set the breakpoint, so most anything that would
work on the gdb command line would work there.
Scott
On Monday, May 28, 2001, at 07:52 PM, Steve Gehrman wrote:
thanks for the info.
steve
On Monday, May 28, 2001, at 07:24 PM, Henri Lamiraux wrote:
Put a break point in your main function. When gdb stopped type
the following
in the gdb console
b -[NSException raise]
Which means break on raise
Henri Lamiraux
Apple Computer, Inc.
--
To get random signatures put text files into a folder called Random
Signatures into your Preferences folder.
From: Steve Gehrman <email@hidden>
Date: Mon, 28 May 2001 14:38:57 -0700
To: email@hidden
Subject: Exceptions
Is there a way to get gdb to stop when it hits an exception like
this?
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Scott Tooker
QA & Integration - Project Builder
Mac OS X Development Environment