Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (47.6k points)

In Java/C# you can easily step through code to trace what might be going wrong, and IDE's make this process very user-friendly.

Can you trace through python code in a similar fashion?

1 Answer

0 votes
by (106k points)

You can use the below-mentioned code where you can see a module called 'pdb' in python. At the top of your python script, you do

import pdb 

pdb.set_trace()

Related questions

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...