switch debugged