B
B
Bjornie2018-07-03 15:41:12
Python
Bjornie, 2018-07-03 15:41:12

How to "disassemble" the code in order to understand the order of its execution?

In the question, I'm not interested in knowing the language (because everything is clear in the code), but in parsing the code in (Python), which is located in different modules and is launched from different sections.
I need to make some changes, but so far the code is not entirely clear, so it's not 100% clear where to put my hands.
I'm thinking of making a map of function launches (the code is written both as OOP and not), so that it is clear where what is being launched. Is this a good idea? On prints, unfortunately, debugging is not an option at all in my case.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Sakhno, 2018-07-03
@Punk_Joker

Step by step?

@
@microcoder, 2018-07-08
_

And what prevents you from using the pdb module with which you will see all the step by step? And in conjunction with MS Visual Code, you can get a more visual debug with transitions from line to line.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question