Start Python Debugging With pdb

Start Python Debugging With pdb

Real Python

4 года назад

58,939 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Gabriel Leonardo
Gabriel Leonardo - 25.02.2023 17:16

Thanks!

Ответить
Hossein Safari
Hossein Safari - 08.01.2023 12:07

Awsome video!

Ответить
XGALARION
XGALARION - 26.11.2021 15:24

or you can just create whatever function name you want

def p():
import pdb; pdb.set_trace()

Ответить
Kirsteen Nakau
Kirsteen Nakau - 20.09.2021 22:08

how do you add watchpoints?

Ответить
amir moezi
amir moezi - 17.08.2021 14:23

Thanks a million for your invaluable content.. it's just helpful

Ответить
HyozanX
HyozanX - 22.06.2021 14:44

Awesome video! Easy to follow, only the essential information. Thanks!

Ответить
Todd Carney
Todd Carney - 04.02.2020 13:55

Many thanks! I presume I can import pdb once at the top of the module and theme use pdb.set_trace() anywhere in the file just like any other imported class, function, or method?

Ответить
Suleman Uzair
Suleman Uzair - 25.01.2020 22:48

thanks

Ответить
Aalique Grahame
Aalique Grahame - 19.09.2019 23:13

I know you said to ignore the traceback but 🙂. Any quick explanation of why it happens?

Ответить
Condortheburninator
Condortheburninator - 19.09.2019 20:38

What theme do you use?

Ответить
Saud Ahmed
Saud Ahmed - 19.09.2019 20:35

Just getting started with python debugging and found this video you posted ~20 mins ago. I don't think the stars could be more aligned! Thank you for the wonderfully succinct tutorial!

Ответить