• 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: Debugging screensavers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging screensavers


  • Subject: Re: Debugging screensavers
  • From: David Remahl <email@hidden>
  • Date: Tue, 25 Mar 2003 20:58:49 +0100

Does anyone know of a way to run a screensaver through the debugger? The current way is to use lots of NSLog's and look at the crash dump if things go horribly wrong.

Drew

You need to create a custom executable (Project -> New Custom Executable in Project Builder). Associate the executable with System Preferences.app. Then choose System Preferences as the active executable, and run the debugger from project builder. The debugger will then break on any breakpoints you've set in your code, as well as on crashes.

Of course, you can also use gdb from the command line to run System Preferences.

SaverLab is also a good tool to debug screen savers. You can create a custom executable for that application as well.

It shall be noted, that this method can be used to debug other bundles as well, such as preference panes.

/ Rgds, David Remahl
_______________________________________________
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: Debugging screensavers
      • From: Jim Correia <email@hidden>
    • Re: Debugging screensavers
      • From: David Remahl <email@hidden>
References: 
 >Debugging screensavers (From: Andrew Frezell <email@hidden>)

  • Prev by Date: Re: Frequency of colors
  • Next by Date: Re: 3 obj-c/cocoa beginner q's
  • Previous by thread: Re: Debugging screensavers
  • Next by thread: Re: Debugging screensavers
  • Index(es):
    • Date
    • Thread