Debugging and path finding