Debug tool. Names anonymous functions according to their surrounding context