• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to crash on normally ignored exceptions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to crash on normally ignored exceptions


  • Subject: Re: how to crash on normally ignored exceptions
  • From: matt neuburg <email@hidden>
  • Date: Fri, 22 Nov 2002 05:29:39 -0800

On Thu, 21 Nov 2002 15:02:16 +0100, David Remahl <email@hidden> said:

>
>I have found those rather flaky as well in the new dev tools...
>
>A work around, which is made quite difficult because classes apparently
>are not registered as symbols in the debugger, is the following:
>
>(gdb) p (void*)NSClassFromString(@"NSException")
>$1 = (void*)0xa07ed448
>(gdb) p (void*)[$1 instanceMethodForSelector:@selector(raise)]
>$2 = (void*)0x90844888
>(gdb) b *$2
>Breakpoint 1 at 0x90844888
>
>Could someone from Apple comment on the poor handling of symbolic
>debugging, especially related to Objective-C, in the current gdb/dev
>tools suite? The question may be better suited for the pbdev mailing
>list - I am sorry...

I'd like to hear some discussion of it here, though. As I've said before, gdb (or the PB interface to it) is now pretty much busted OMM; po doesn't do anything most of the time. I mostly "debug" by using lots of NSLogs. m.

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: text encodings
  • Next by Date: Re: how to crash on normally ignored exceptions
  • Previous by thread: Re: Newbie question: chrash on [tableview reloadData]
  • Next by thread: Re: how to crash on normally ignored exceptions
  • Index(es):
    • Date
    • Thread