debug spin lock