Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Crash any Mac application using an AppleScript event (for debugging purposes)
Objective-C
tree: 978ab43cc9

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
HolyCrash-osax.xcodeproj
.gitignore
HolyCrash.m
HolyCrash.sdef
Info.plist
license.txt
rakefile
readme.md

readme.md

HolyCrash.osax

HolyCrash is scripting addition which adds AppleScript 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 Crash Reporting Dialog).

Installation

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 /Library/ScriptingAdditions/HolyCrash.osax

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.

Applescript

tell application "Safari" to «event BAHCcrsh»

Command line

osascript -e "tell application \"Safari\" to «event BAHCcrsh»"

License: MIT-Style

Something went wrong with that request. Please try again.