Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我在第一行放置了一个断点。 我看不到简单地跳过第二行并直接跳到打印语句的选项。 有没有隐藏选项?如果没有,什么是最非侵入性的方式? 注释掉我不想运行的行并不优雅。
a = 3 a = 4 print(a)
您可以right click对第三条语句和Jump to Cursor. 虽然这是一个手动操作......我认为没有一种模式可以只运行断点行......
right click
Jump to Cursor