Debugging ubuntu and darwin