finished triangle_debugger