def checkfuncname(b, frame):
if not b.funcname:<EOL><INDENT>if b.line != frame.f_lineno:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL><DEDENT>if frame.f_code.co_name != b.funcname:<EOL><INDENT>return False<EOL><DEDENT>if not b.func_first_executable_line:<EOL><INDENT>b.func_first_executable_line = frame.f_lineno<EOL><DEDENT>if b.func_first_executable_line != frame.f_lineno:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Check whether we should break here because of `b.funcname`.