• 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: Jim Correia <email@hidden>
  • Date: Tue, 25 Mar 2003 16:05:19 -0500

On Tuesday, March 25, 2003, at 02:58 PM, David Remahl wrote:

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.

You can also simply make a custom executable for the ScreenSaverEngine.

Set the arguments like so

-debug -module "MODULE_NAME"

(and make sure a symlink to your module is in one of the usual places that the ScreenSaver will find it.)

It will run the screen saver module on the desktop so you can more easily debug it (instead of taking over the entire screen.)

You'll probably also want to override mouseMoved: mouseEntered: mouseExited: to be noops while debugging so that moving your mouse of the screen saver window doesn't end your debugging session.

Jim
_______________________________________________
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: 
 >Re: Debugging screensavers (From: David Remahl <email@hidden>)

  • Prev by Date: Re: 3 obj-c/cocoa beginner q's
  • Next by Date: Re: Formatter for a matrix of edit fields. Minor questions.
  • Previous by thread: Re: Debugging screensavers
  • Next by thread: Re: Debugging screensavers
  • Index(es):
    • Date
    • Thread