debugging lock