Fix an issue that the break point stops twice at the same function