• 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 inspect a running app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to inspect a running app?


  • Subject: Re: how to inspect a running app?
  • From: Bob Stuller <email@hidden>
  • Date: Mon, 11 Feb 2002 18:34:14 -0500

Lance, Greetings!

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

Hmmm.... You might want to try Joy. I've kinda lost track of the item because I need to look inside Carbon apps more than Cocoa apps. The URL:
http://www.aaa-plus.com/joy/

Peace,
Bob
--

It's Great to be Green!
http://www.greenpartyus.org/
_______________________________________________
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.

References: 
 >how to inspect a running app? (From: Lance Bland <email@hidden>)
 >Re: how to inspect a running app? (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: how to inspect a running app?
  • Next by Date: Re: how to inspect a running app?
  • Previous by thread: Re: how to inspect a running app?
  • Next by thread: Re: how to inspect a running app?
  • Index(es):
    • Date
    • Thread