简体   繁体   中英

How to skip lines in Pycharm debug mode with Python?

Let's say I put a breakpoint in the first line.
I see no option to simply skip the 2nd line and jump straight to the print statement.
Is there any hidden option? If not, what is the most non-intrusive way?
Commenting out the lines I don't wanna run is not elegant.

a = 3
a = 4
print(a)

You can do right click on the third statement and Jump to Cursor . This is a manual action though... I don't think there is a mode to only run breakpointed lines...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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