Last active
December 12, 2022 09:23
-
-
Save amir-abdi/88e65e3cc084be748a2d8f8ae9ee9ea5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✦ ❯ python foo/bar.py | |
[3] > /Users/amirabdi/pdb_like_a_pro/foo/bar.py(5)func3() | |
-> print('func1', sky, ocean, sea) | |
(Pdb++) l | |
1 # foo/bar.py | |
2 | |
3 def func3(sky, ocean, sea): | |
4 breakpoint() | |
5 -> print('func1', sky, ocean, sea) | |
6 | |
7 | |
8 def func2(sky, ocean): | |
9 """ | |
10 This is a long docstring to enable scrolling. | |
11 | |
(Pdb++) l | |
12 | |
13 | |
14 | |
15 end of docstring | |
16 """ | |
17 func3(sky, ocean, 3) | |
18 | |
19 | |
20 def func1(sky): | |
21 func2(sky, 2) | |
22 | |
(Pdb++) l | |
23 | |
24 func1(1) | |
[EOF] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment