Skip navigation.
 
mlRe: how to crash on normally ignored exceptions
FROM : David Remahl
DATE : Thu Nov 21 15:02:16 2002

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...

/ Sincerely, David Remahl

> Would love to do that, but symbolic breakpoints (always somehwat
> flaky), seem to have completely stopped working somtime with Jaguar
> and/or the new dev tools.
>
> Marcel

_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlhow to crash on normally ignored exceptions Brian Redman Nov 21, 00:39
mlRe: how to crash on normally ignored exceptions Dan Wood Nov 21, 05:55
mlRe: how to crash on normally ignored exceptions Vince DeMarco Nov 21, 06:17
mlRe: how to crash on normally ignored exceptions Brian Redman Nov 21, 06:22
mlRe: how to crash on normally ignored exceptions Marcel Weiher Nov 21, 14:48
mlRe: how to crash on normally ignored exceptions David Remahl Nov 21, 15:02
mlNewbie question: chrash on [tableview reloadData] Terje Tjervaag Nov 21, 18:14
mlRe: Newbie question: chrash on [tableview reloadData] Warren.Burton Nov 21, 19:03
mlRe: Newbie question: chrash on [tableview reloadData] Fritz Anderson Nov 21, 20:25
mlRe: Newbie question: chrash on [tableview reloadData] Terje Tjervaag Nov 21, 20:25
mlRe: Newbie question: chrash on [tableview reloadData] Terje Tjervaag Nov 21, 21:30
mlRe: Newbie question: chrash on [tableview reloadData] Fritz Anderson Nov 21, 21:50
mlRe: how to crash on normally ignored exceptions matt neuburg Nov 22, 14:29
mlRe: how to crash on normally ignored exceptions David Remahl Nov 22, 14:35