Re: Debugging screensavers
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.