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