Re: how to inspect a running app?
Re: how to inspect a running app?
- Subject: Re: how to inspect a running app?
- From: Ondra Cada <email@hidden>
- Date: Tue, 12 Feb 2002 00:04:29 +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...
;)
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.