Skip to content

Commit ecceab3

Browse files
committed
updating debugging resources
1 parent ad56ab9 commit ecceab3

File tree

1 file changed

+32
-15
lines changed

1 file changed

+32
-15
lines changed

content/pages/04-web-development/38-debugging.markdown

Lines changed: 32 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,10 @@ standalone tools that you can use in any
5050
Python objects running in an application
5151

5252

53-
### Python-specific debugging tutorials
54-
The Python ecosystem has a range of tools to help with debugging your code.
55-
These tutorials are specific to Python libraries like pdb and objgraph.
56-
57-
* [Debugging your Python code](http://howchoo.com/g/zgi2y2iwyze/debugging-your-python-code)
58-
walks through a scenario where
59-
[pdb](https://docs.python.org/3/library/pdb.html)
60-
can be used to find a defect in a block of Python code.
53+
### pdb tutorials
54+
pdb is the most commonly-used debugger for Python because it is built
55+
into the standard library. The following walkthroughs will show you how
56+
to use pdb while fixing your own code.
6157

6258
* [How to Use Pdb to Debug Your Code](https://pybit.es/pdb-debugger.html)
6359
is a wonderful code-first tutorial on getting started with pdb.
@@ -66,28 +62,49 @@ These tutorials are specific to Python libraries like pdb and objgraph.
6662
the Python Module of the Week blog and has some great detail on using
6763
the program effectively.
6864

69-
* [Python debugging tools](http://blog.ionelmc.ro/2013/06/05/python-debugging-tools/)
70-
provides a list of tools such as pdb and its derivatives ipdb, pudb and
71-
pdb++ along with how they can be used in the hunt for defects.
65+
* [pdb: Using the Python debugger in Django](https://mike.tig.as/blog/2010/09/14/pdb/)
66+
is a tutorial specific to working with pdb in [Django](/django.html)
67+
projects.
68+
69+
* [Debugging your Python code](http://howchoo.com/g/zgi2y2iwyze/debugging-your-python-code)
70+
walks through a scenario where
71+
[pdb](https://docs.python.org/3/library/pdb.html)
72+
can be used to find a defect in a block of Python code.
73+
74+
* [pdb Tutorial](https://github.com/spiside/pdb-tutorial) is a code-heavy
75+
beginners tutorial for pdb.
7276

7377
* [Debugging in Python](https://pythonconquerstheuniverse.wordpress.com/2009/09/10/debugging-in-python/)
7478
elaborates on what pdb does and how it can be used.
7579

80+
81+
### Python-specific debugging tutorials
82+
The Python ecosystem has a range of tools to help with debugging your code.
83+
These tutorials show you how to either use a tool other than pdb or provide
84+
an overview of the debugging ecosystem for Python.
85+
86+
* [Python debugging tools](http://blog.ionelmc.ro/2013/06/05/python-debugging-tools/)
87+
provides a list of tools such as pdb and its derivatives ipdb, pudb and
88+
pdb++ along with how they can be used in the hunt for defects.
89+
7690
* [Profiling Python web applications with visual tools](https://mitjafelicijan.com/profiling-python-web-applications-with-visual-tools)
7791
details a configuration for visualizing code execution using
7892
[KCachegrind](http://kcachegrind.sourceforge.net/html/Home.html).
7993

80-
* [pdb: Using the Python debugger in Django](https://mike.tig.as/blog/2010/09/14/pdb/)
81-
is a tutorial specific to working with pdb in [Django](/django.html)
82-
projects.
83-
8494
* [My Startling Encounter With Python Debuggers](https://benbernardblog.com/my-startling-encounter-with-python-debuggers/)
8595
along with
8696
[the follow-up second post](https://benbernardblog.com/my-startling-encounter-with-python-debuggers-part-2/)
8797
are a fantastic couple of posts that walk through a specific scenario
8898
of how a well-tested distributed web crawler failed and how tools like
8999
gdb, top and Winpdb were used to debug a multithreaded application.
90100

101+
* [Debugging Python like a boss](https://zapier.com/engineering/debugging-python-boss/)
102+
covers several Python debuggers such as pudb, pydbgr and ipdb.
103+
104+
* [The case of the mysterious Python crash](https://benbernardblog.com/the-case-of-the-mysterious-python-crash/)
105+
explains the symptoms that happened during a crash and what steps
106+
the author took to figure out what was going on.
107+
91108

92109
### General debugging resources
93110
The following resources are not specific to Python development but

0 commit comments

Comments
 (0)