Skip to content

Commit bc8729c

Browse files
committed
working on debugging page
1 parent 6771bac commit bc8729c

File tree

7 files changed

+39
-4
lines changed

7 files changed

+39
-4
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,31 @@ There are bugs in every modest sized or larger application. Every
1919
developer has to learn how to debug code in order to write programs that
2020
work as correctly as time and budget allow.
2121

22+
In addition to fixing bugs, debugging is an important skill for improving
23+
the efficiency of an application by optimizing performance and improving
24+
the logic. Debugging is a complex skill that takes time and practice
25+
for a developer to gain as a capability.
26+
27+
28+
## What are some common debugging techniques?
29+
Some common debugging techniques include:
30+
31+
* Printing out or displaying values of variables and state
32+
at certain times during the execution of an application
33+
34+
* Changing the state of a program to make it do different
35+
things. This is called altering the "path" of the program
36+
37+
* Stepping through the execution of a program line by line
38+
39+
* Breakpoints
40+
41+
* Trace Points
42+
43+
* Stopping the program at certain events
44+
45+
* Viewing the output of a program in a debugger window
46+
2247

2348
### Debugging tools
2449
There are many debugging tools, some of which are built into
22 KB
Loading

theme/templates/article-sidebar.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{% if article.author == "Kevin Whinnery" %}
22
{% include "sponsor/twilioquest.html" %}
33
{% endif %}
4+
{% include "sponsor/sentry-assemblyai.html" %}
45
{% include "sponsor/carbon.html" %}
56
<div class="pn">
67
<div class="pnh">

theme/templates/index-sidebar.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
<div class="co1 c3 desktop-only" id="sb">
2-
{% include "sponsor/sentry.html" %}
3-
{% include "sponsor/carbon.html" %}
2+
{% include "sponsor/sentry-assemblyai.html" %}
43
</div>

theme/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h1 style="font-size:26px">Build, Deploy and Operate Python Applications</h1>
4040
requirements depend on what you're working on. Choose a
4141
topic from the links below or view the full
4242
<a href="/table-of-contents.html">table of contents</a>
43-
to see even more subjects you can learn for free on this website.
43+
to see even more subjects you can learn.
4444
</p>
4545
<h3>What do you need to learn first?</h3>
4646
</div>

theme/templates/sponsor.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% if page.sortorder[0:2] == "01" or page.sortorder[0:2] == "02" or page.sortorder[0:2] == "03" or page.sortorder[0:2] == "04" or page.sortorder[0:2] == "05" or page.sortorder[0:2] == "06" or page.sortorder[0:2] == "50" %}
2-
{% include "sponsor/sentry.html" %}
2+
{% include "sponsor/sentry-assemblyai.html" %}
33
{% include "sponsor/carbon.html" %}
44
{% endif %}
55
{% if false %}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<div class="pn">
2+
<div class="pnh"><h3>Sponsored By</h3></div>
3+
<div class="pnb">
4+
<a href="https://sentry.io/" style="border:none"><img src="/img/logos/sentry-light.png" alt="Sentry logo" width="100%" style="padding:0 0 2px"></a>
5+
<p class="sps">Software errors are inevitable. Chaos is not. <a href="https://sentry.io/">Try Sentry for free</a>.</p>
6+
<hr>
7+
<a href="https://www.assemblyai.com/" style="border:none"><img src="/img/logos/assemblyai-white-bg.png" alt="AssemblyAI logo" width="100%" style="padding:0 0 8px; border:none"></a>
8+
<p class="sps">The most accurate speech-to-text API. <a href="https://www.assemblyai.com/">Built for Python developers</a>.</p>
9+
</div>
10+
</div>

0 commit comments

Comments
 (0)