update for debug. support for Mac OS 10.6 or later.