转到循环的最后一行(使用next或n),然后使用until或unt。这将带您进入循环之后的下一行。 参考 https://qastack.cn/programming/6731119/python-pdb-skip-loop