Skip to content

Commit 160bd4f

Browse files
committed
first steps into debugging
1 parent d3ba042 commit 160bd4f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+574
-18
lines changed

bibliography/bibliography.bib

+37-5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ @string { winter
2222
%%authors
2323
@string { a_abadi_marin = "Mart{\'i}n Abadi" }
2424
@string { a_abbasi_hameer = "Hameer Abbasi" }
25+
@string { a_agans_david_j = "David J.\ Agans" }
2526
@string { a_ali_karim = "Karim Ali" }
2627
@string { a_andersen_jakob_lykke = "Jakob Lykke Andersen" }
2728
@string { a_antiga_luca = "Luca Antiga" }
@@ -302,6 +303,7 @@ @string { a_romanovsky_alexander_b
302303
@string { a_roscoe_timothy = "Timothy Roscoe" }
303304
@string { a_rosenblatt_bill = "Bill Rosenblatt" }
304305
@string { a_roth_ori = "Ori Roth" }
306+
@string { a_rother_kristian = "Kristian Rother" }
305307
@string { a_rubira_cacilia_m_f = "andCec{\'i}lia M.\ F.\ Rubira" }
306308
@string { a_runeson_per = "Per Runeson" }
307309
@string { a_ruthruff_joseph_r = "Joseph R.\ Ruthruff" }
@@ -386,6 +388,7 @@ @string { a_wicke_martin
386388
@string { a_wiebe_mark = "Mark Wiebe" }
387389
@string { a_wieser_eric = "Eric Wieser" }
388390
@string { a_wilson_joshua = "Joshua Wilson" }
391+
@string { a_wilson_kevin = "Kevin Wilson" }
389392
@string { a_winter_collin = "Collin Winter" }
390393
@string { a_wu_zhize = "Zhize Wu" }
391394
@string { a_wyman_bostwick_f = "Bostwick F.\ Wyman" }
@@ -489,6 +492,7 @@ @string { p_active_state
489492
@string { p_addison_wesley = "{Addison\nobreakdashes-Wesley Professional}" }
490493
@string { p_addison_wesley_longman = "{Addison Wesley Longman Publishing Co., Inc.}" }
491494
@string { p_adobe = "{Adobe Systems Incorporated}" }
495+
@string { p_amacom = "AMACOM" }
492496
@string { p_ams = "{American Mathematical Society~({AMS})}" }
493497
@string { p_apress = "{Apress Media,~LLC}" }
494498
@string { p_asa = "{American Standards Association Incorporated}" }
@@ -573,6 +577,7 @@ @string { pa_active_state
573577
@string { pa_addison_wesley = l_usa_reading }
574578
@string { pa_addison_wesley_longman = l_usa_redwood_city }
575579
@string { pa_adobe = l_usa_san_jose }
580+
@string { pa_amacom = l_usa_new_york }
576581
@string { pa_ams = l_usa_providence }
577582
@string { pa_apress = l_usa_new_york }
578583
@string { pa_asa = l_usa_new_york }
@@ -979,6 +984,15 @@ @xdata{ser_zvegdwiih
979984

980985

981986
%% contents
987+
@book{A2002D,
988+
author = a_agans_david_j,
989+
title = {Debugging},
990+
date = {2002-09},
991+
publisher = p_amacom,
992+
address = pa_amacom,
993+
isbn = {9780814426784}
994+
}
995+
982996
@collection{A2002PC,
983997
title = {\python\ Cookbook},
984998
editor = a_ascher_david,
@@ -2744,6 +2758,15 @@ @book{R1994PNACMFF
27442758
edition = {2}
27452759
}
27462760

2761+
@book{R2007PPBPDTAM,
2762+
author = a_rother_kristian,
2763+
title = {Pro \python\ Best Practices: Debugging, Testing and Maintenance},
2764+
date = {2017-03},
2765+
publisher = p_apress,
2766+
address = pa_apress,
2767+
isbn = {9781484222416},
2768+
}
2769+
27472770
@article{R2006ASOUTP,
27482771
author = a_runeson_per,
27492772
title = {A Survey of Unit Testing Practices},
@@ -3079,6 +3102,13 @@ @article{W2000WISTAWIISH
30793102
addendum = {Practice Tutorial}
30803103
}
30813104

3105+
@inbook{W2024FN,
3106+
title = {Fibonacci Number},
3107+
crossref = {W2024MAWWR},
3108+
url = {https://mathworld.wolfram.com/FibonacciNumber.html},
3109+
urldate = {2024-11-08},
3110+
}
3111+
30823112
@book{W2024MAWWR,
30833113
title = {{MathWorld} -- A {Wolfram} Web Resource},
30843114
author = a_weisstein_eric_w,
@@ -3089,11 +3119,13 @@ @book{W2024MAWWR
30893119
urldate = {2024-09-24},
30903120
}
30913121

3092-
@inbook{W2024FN,
3093-
title = {Fibonacci Number},
3094-
crossref = {W2024MAWWR},
3095-
url = {https://mathworld.wolfram.com/FibonacciNumber.html},
3096-
urldate = {2024-11-08},
3122+
@book{W2024PME,
3123+
author = a_wilson_kevin,
3124+
title = {\python\ Made Easy},
3125+
date = {2024-08},
3126+
publisher = p_packt,
3127+
address = pa_packt,
3128+
isbn = {9781836646150},
30973129
}
30983130

30993131
@inbook{W2024PN,

notation/software.sty

+15-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,19 @@ Learn more at \url{https://www.gnu.org/software/bash/}.%
1717
\protected\gdef\bash{\pgls{bash}}%
1818
%
1919
%
20+
\newglossaryentry{debugger}{%
21+
text=debugger,%
22+
name={debugger},%
23+
sort={debugger},%
24+
description={%
25+
A debugger is a tool that lets you execute a program step-by-step while observing the current values of variables. %
26+
This allows you to find errors in the code more easily~\cite{W2024PME,A2002D,R2007PPBPDTAM}. %
27+
See also \cref{ut:debugger}.%
28+
}%
29+
}%
30+
\protected\gdef\debugger{\pgls{debugger}}%
31+
%
32+
%
2033
\newglossaryentry{linux}{%
2134
text={\softwareStyle{Linux}},%
2235
name={Linux},%
@@ -111,7 +124,7 @@ text={\softwareStyle{PyCharm}},%
111124
name={PyCharm},%
112125
sort={PyCharm},%
113126
description={%
114-
is the convenient \python\ \pgls{ide} that we recommend for this course~\cite{VHN2023HOADWP,Y2022PPADT}. %
127+
is the convenient \python\ \pgls{ide} that we recommend for this course~\cite{VHN2023HOADWP,Y2022PPADT,W2024PME}. %
115128
It comes in a free community edition, so it can be downloaded and used at no cost. %
116129
Learn more at \url{https://www.jetbrains.com/pycharm}.%
117130
}%
@@ -136,7 +149,7 @@ text={\softwareStyle{pytest}},%
136149
name={pytest},%
137150
sort={pytest},%
138151
description={%
139-
is a framework for writing and executing unit tests in \python~\cite{KPDT2024PD,O2022PTWP,DG2020TIP,P2021PUTAAOAEUTIP}. %
152+
is a framework for writing and executing unit tests in \python~\cite{KPDT2024PD,O2022PTWP,DG2020TIP,P2021PUTAAOAEUTIP,W2024PME}. %
140153
Learn more at \url{https://pytest.org} and in \cref{sec:unitTesting}.%
141154
}%
142155
}%

notation/terms.sty

+8
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ See \cref{sec:howFloatingPointNumbersWork}.%
1414
}%
1515
%
1616
%
17+
\newglossaryentry{breakpoint}{%
18+
name={breakpoint},%
19+
description={%
20+
A breakpoint is a mark in a line of code in an~\pgls{IDE} at which the \debugger\ will pause the execution of a program.%
21+
}%
22+
}%
23+
%
24+
%
1725
\newglossaryentry{csv}{%
1826
name={CSV},%
1927
description={%

styles/floats.sty

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
%%
44
%
55
\RequirePackage{subfig}%
6+
\renewcommand\thesubfigure{\arabic{subfigure}}%
67
%
78
\protected\gdef\tightbox#1{\bgroup%
89
\fboxsep=0pt%

styles/fonts.sty

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
\RequirePackage[T1]{fontenc}%
77
%
88
\protected\gdef\inQuotes#1{``#1''}%
9+
\protected\gdef\inSQuotes#1{`#1'}%
910
%
1011
\renewcommand{\familydefault}{\sfdefault}%%
1112
%

text/main/classes/dunder/debug01.png

27.7 KB

text/main/classes/dunder/debug02.png

27.8 KB

text/main/classes/dunder/debug03.png

27.8 KB

text/main/classes/dunder/debug04.png

30.4 KB

text/main/classes/dunder/debug05.png

26.7 KB

text/main/classes/dunder/debug06.png

27.6 KB

text/main/classes/dunder/debug07.png

28 KB

text/main/classes/dunder/debug08.png

27.6 KB

text/main/classes/dunder/debug09.png

27.5 KB

text/main/classes/dunder/debug10.png

27.6 KB

text/main/classes/dunder/debug11.png

27.6 KB

text/main/classes/dunder/debug12.png

27.7 KB

text/main/classes/dunder/debug13.png

27.7 KB

text/main/classes/dunder/debug14.png

28.1 KB

text/main/classes/dunder/debug15.png

28.7 KB

text/main/classes/dunder/debug16.png

28.8 KB

text/main/classes/dunder/debug17.png

29.8 KB

text/main/classes/dunder/debug18.png

30.1 KB

text/main/classes/dunder/debug19.png

30.8 KB

text/main/classes/dunder/debug20.png

30.9 KB

text/main/classes/dunder/debug21.png

31 KB

text/main/classes/dunder/debug22.png

30.9 KB

text/main/classes/dunder/debug23.png

31 KB

text/main/classes/dunder/debug24.png

31.1 KB

text/main/classes/dunder/debug25.png

31 KB

text/main/classes/dunder/debug26.png

31.1 KB

text/main/classes/dunder/debug27.png

31.3 KB

text/main/classes/dunder/debug28.png

31.1 KB

text/main/classes/dunder/debug29.png

31 KB

text/main/classes/dunder/debug30.png

31.3 KB

text/main/classes/dunder/debug31.png

31 KB

text/main/classes/dunder/debug32.png

31.1 KB

text/main/classes/dunder/debug33.png

30.9 KB

text/main/classes/dunder/debug34.png

31 KB

text/main/classes/dunder/debug35.png

30.6 KB
29.6 KB
22.8 KB
20.6 KB
20.4 KB

0 commit comments

Comments
 (0)