debugging iOS wreckless behaviour