HolyCrash is a scripting addition which adds a new Apple Script command to crash any application. Provides you with God's powers.
God answer you on the day you crash, The name God-of-Jacob put you out of harm's reach, Send reinforcements from Holy Hill, Dispatch from Zion fresh supplies, Exclaim over your offerings, Celebrate your sacrifices, Give you what your heart desires, Accomplish your plans. -- Psalm 20 (The Message)
This is useful when you want to debug crash scenarios of your Mac application (for example a crash reporting dialog).
git clone git://github.com/binaryage/holycrash-osax.git cd holycrash-osax xcodebuild
If you see
** BUILD SUCCEEDED ** that means that you have HolyCrash installed in
How to crash an app?
Let's say you want to crash Safari...
You have to relaunch Safari after first installation of HolyCrash.osax. In other case the AppleScript will fail.
tell application "Safari" to «event BAHCcrsh»
osascript -e "tell application \"Safari\" to «event BAHCcrsh»"