AdaptiveControl: fixed scope for debug