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

  • Follow-Ups:
    • Re: how to inspect a running app?
      • From: Lance Bland <email@hidden>
    • Re: how to inspect a running app?
      • From: Bob Stuller <email@hidden>
    • Re: how to inspect a running app?
      • From: Enigmarelle Development <email@hidden>
    • Re: how to inspect a running app?
      • From: David Remahl <email@hidden>
References: 
 >how to inspect a running app? (From: Lance Bland <email@hidden>)

  • Prev by Date: Re: newbie question on 'Cocoa Programming for Mac OS X'
  • Next by Date: Re: about help
  • Previous by thread: how to inspect a running app?
  • Next by thread: Re: how to inspect a running app?
  • Index(es):
    • Date
    • Thread