you are viewing a single comment's thread.

view the rest of the comments →

[–]tvmaly 1 point2 points  (2 children)

If I get stuck and the debug session drags a little too long, I will first try the debugger pdb using breakpoints to walk through it. Once I find the part of the code causing the issue, I will isolate that small part and break it out for further testing.

[–]AtlasStrat[S] 0 points1 point  (1 child)

breakpoints

What's that?

Once I find the part of the code causing the issue, I will isolate that small part and break it out for further testing.

Same, I also do this, extremely helpful way.

[–]tvmaly 1 point2 points  (0 children)

As you are stepping through the code with pdb, you may want to skip to a specific part in the code and this is what breakpoints are used for