简体   繁体   English

VSCode Python 调试后退/回顾历史

[英]VSCode Python debugging step back/review history

How can I set a conditional breakpoint in VSCode Python, then step back n lines to see how that condition was met?如何在 VSCode Python 中设置条件断点,然后后退 n 行以查看该条件是如何满足的?

You probably need something like PyTrace.你可能需要 PyTrace 之类的东西。 It allows you to debug and replay/rewind the state of the interpreter to see how you got to your breakpoint.它允许您调试和重放/倒带解释器的 state 以查看您是如何到达断点的。 https://pytrace.com/ https://pytrace.com/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM