Re: how to inspect a running app?
Re: how to inspect a running app?
- Subject: Re: how to inspect a running app?
- From: David Remahl <email@hidden>
- Date: Tue, 12 Feb 2002 00:25:20 +0100
>
Lance,
>
>
>>>>>> Lance Bland (LB) wrote at Mon, 11 Feb 2002 17:08:17 -0500:
>
LB> there use to be a tool to peak in on the runtime of an application and
>
LB> see its class structures and instance values.
>
>
There used to be a plethora of such tools for NeXTStep, none of which made
>
it to OSX -- so far as I know, of course!
>
>
Though, the *most excellent* of tools is still here and still works:
>
>
(i) find the app's PID (ps -aux | fgrep <appname>);
>
(ii) run gdb and use "attach PID";
>
(iii) do whatever you feel like -- [NSApplication sharedApplication] would
>
give you the current application object, which you can use to find menus,
>
windows, whatever...
>
>
;)
The recently released F-Script Anywhere (find it on versiontracker) does
what you are looking for.
/ david
_______________________________________________
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.