discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB debugging question


From: Andrew Ruder
Subject: Re: GDB debugging question
Date: Sun, 11 Sep 2005 23:23:51 -0500
User-agent: Mutt/1.5.9i

On Mon, Sep 12, 2005 at 01:49:44PM +1000, Lloyd Dupont wrote:
> like "break code.m:273", but I'm still trying to setup a break point like
> "break raise" (as in [NSException raise]).

In general, if you have a Objective-C supporting gdb, you do something
like:

break -[NSException raise] (for instance method)

or

break +[NSException raise] (for class method)

I'm fairly certain this should also work on Mac OS X.

- Andy

-- 
Andrew Ruder <address@hidden>
http://www.aeruder.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]