05 lab debugger
TRANSCRIPT
-
7/30/2019 05 Lab Debugger
1/14
AFNLFBHQO WO@ENJ@FBWQFJNJNLP
HnbjnotrfjnjnlsalbrIlcfjb.`hc
+:6
-
7/30/2019 05 Lab Debugger
2/14
Bfa ?. _sjnl teo Goaullor
Bfa ft f Lbfn`o
Weo oxor`jsos jn tejs bfa fro gosjlnog th dfcjbjfrjzo teo stugont
wjte teo prh`oss hd usjnl teo Yhwor@ontor Goaullor. Jn tejsbfa" teo stugont wjbb trhuabosehht f cfppjnl teft js nht
prhgu`jnl teo `hrro`t gftf rosubts.
Hamo`tjvos
Fdtor `hcpbotjnl teo bfa" teo stugont wjbb ao fabo th=
_so teo Yhwor@ontor Goaullor.
Ptfrt fng sthp teo Goaullor.
Pot arofkphjnts jn teo Goaullor.
Weo Yrhaboc
F cfppjnl `roftog ay fnhteor govobhpor prhgu`os teo dhbbhwjnltfrlot tfabo" wjte shco WZYOX@HGO vfbuos N_BB.
?# 1 Yhwor@ontor :.x Bovob J Govobhpor Bfa Lujgo
-
7/30/2019 05 Lab Debugger
3/14
Bfa ?. _sjnl teo Goaullor
Gurftjhn
Wejs bfa sehubg tfko fpprhxjcftoby 09 cjnutos.
Yhwor@ontor :.x Bovob J Govobhpor Bfa Lujgo ? # 0
-
7/30/2019 05 Lab Debugger
4/14
Bfa ?. _sjnl teo Goaullor
Oxor`jsos
Oxor`jso 6= Yropfro Goaullor
Wejs oxor`jso sots up teo Cfppjnl Gosjlnor jn propfrftjhn dhr
goaulljnl. Phco hd teo stops cfy nht ao no`ossfry jd teo
Gosjlnor efs rocfjnog hpon sjn`o teo provjhus bfas.
Ptop 6. Hpon teo Gosjlnor.
Pobo`t Ptfrt | Yrhlrfcs | Jndhrcftj`f Ybftdhrc :.9 |
Jndhrcftj`f Yhwor@ontor @bjont :.9 | Gosjlnor.
@hnno`t th teo Y@X@hurso rophsjthry.
Ptop 1. @bhso teo cfppjnl.
Hpon teo Cfppjnl Gosjlnor ay `bj`kjnl teo autthn jn teo
thhbafr=
@bhso teo cfppjnl ay sobo`tjnl Cfppjnls | @bhso hr ay
`bj`kjnl teo @bhso Cfppjnl autthn jn teo Cfppjnls
thhbafr %jd vjsjabo*.
Ptop 0. @hpy teo cfppjnl th ao goaullog.
Pjcpby sobo`tjnl hr oxpfngjnl yhur dhbgorghos nht f`tufbby hpon jt. Weoro frosovorfb wfys th hpon jt=
# Ghuabo#`bj`k hn jt.# Qjlet#`bj`k jt fng sobo`t Hpon drhc teophpup conu.# Bodt#`bj`k jt fng `bj`k `hntrhb#H.# Bodt#`bj`k jt fng sobo`t teo dhbgor#hponj`hn jn teo thhbafr.
Onsuro teo Gosjlnor js jn whrkahhk chgo ay sobo`tjnl
Tjow | \hrkahhk.
\eon jn whrkahhk chgo" teo ahtthc hd teo \hrkspf`owjbb gjspbfy tfas dhr fbb hd teo hpon dhbgors.
Hpon teo Ptugontxx dhbgor.
Bh`fto teo PefrogXPtugont dhbgor jn teo Nfvjlfthr wjnghw
fng oxpfng jt ay `bj`kjnl hn teo + sjln th teo bodt hd teodhbgor nfco.
@hntjnuo th grjbb ghwn th teo Cfppjnls nhgo fng sobo`t
teo cXHGPXOCYBHZOOXAFG cfppjnl=
?# 7 Yhwor@ontor :.x Bovob J Govobhpor Bfa Lujgo
-
7/30/2019 05 Lab Debugger
5/14
Bfa ?. _sjnl teo Goaullor
\eon f cfppjnl js `hpjog" fny fssh`jftogtfrlots fng shur`os fro fbsh `hpjog th teo
gostjnftjhn dhbgor.
Pobo`t Ogjt | @hpy" hr@trb#@ th `hpy teo cfppjnl.
Yfsto teo cfppjnl ay sobo`tjnl teo Ptugontxx dhbgor fngsobo`tjnl Ogjt | Yfsto" hr @trb#T.
@bj`kZos.
Jd teoro js f `hndbj`t wjte fny oxjstjnl hamo`ts" teo @hpy\jzfrg hpons. Pobo`t Qopbf`o.
@hbbfpso teo PefrogXPtugont dhbgor ay `bj`kjnl hn teo #
th teo bodt hd teo dhbgor nfco jn teo Nfvjlfthr wjnghw.
Pfvo teo rophsjthry.
Yhwor@ontor :.x Bovob J Govobhpor Bfa Lujgo ? # ?
-
7/30/2019 05 Lab Debugger
6/14
Bfa ?. _sjnl teo Goaullor
Ptop 7. Hpon teo cfppjnl.
Jn teo Nfvjlfthr wjnghw" bh`fto teo
cXHGPXOCYBHZOOXAFG cfppjnl %must `hpjog* jn teo
Cfppjnls nhgo hd teo Ptugontxx dhbgor.
@bj`k fng ehbg teo chuso autthn" teon grfl#fng#grhp teocfppjnl jnth teo \hrkspf`o=
Ptop ?. Ogjt teo cfppjnl.
Pobo`t Cfppjnls | Ogjt.
Weo Ogjt Cfppjnl gjfbhl ahx fppofrs.
@efnlo teo cfppjnl nfco th
cXHGPXOCYBHZOOXAFGXxx %weoroxx roprosonts teo
fssjlnog stugont nucaor*.
Pfvo teo rophsjthry.
Ptop 4. Frrfnlo teo cfppjnl.
Qjlet#`bj`k jn teo \hrkspf`o fng sobo`t Frrfnlo Fbb.
Weo cfppjnl js frrfnlog noftby jn nhrcfb vjow.
Qjlet#`bj`k jn teo \hrkspf`o fng sobo`t Frrfnlo Fbb J`hnj`.
Weo cfppjnl js nhw gjspbfyog jn j`hnj` vjow.
?# 4 Yhwor@ontor :.x Bovob J Govobhpor Bfa Lujgo
-
7/30/2019 05 Lab Debugger
7/14
Bfa ?. _sjnl teo Goaullor
Oxor`jso 1= Qun teo Goaullor
Ptop 6. F`tjvfto teo Goaullor thhbafr.
Pobo`t Whhbs | @usthcjzo fng `eo`k teo Goaullor `eo`kahxhn teo Whhbafrs tfa=
Weo Goaullor thhbafr js fggog th teo fvfjbfabo thhbafrs=
Pobo`t Whhbs | Hptjhns.
Pobo`t teo Goaul tfa.
_ngorGftf Gjspbfy" jd Tfbuo js nht jn Pobo`tog" chvo jtteoro.
Ptop 1. Ptfrt teo Goaullor.
@bj`k hn teo Ptfrt Goaullor autthn" hr sobo`t Cfppjnls| Goaullor | Ptfrt Goaullor hr `bj`k D:.
Weo Goaul Cfppjnl wjnghw fppofrs.
Yhwor@ontor :.x Bovob J Govobhpor Bfa Lujgo ? # <
-
7/30/2019 05 Lab Debugger
8/14
Bfa ?. _sjnl teo Goaullor
Pjn`o nh sossjhn efs aoon `roftog throprosont tejs now cfppjnl" teo GoaulCfppjnl \jzfrg efs teo fajbjty th `roftohno hn teo dby. Wejs js ospo`jfbby usodub dhrf govobhpor th tost `hcpbox oxprossjhnsfng bhlj` aodhro tryjnl th `rofto fwhrkdbhw wjte f sossjhn tfsk.
@bj`k hn teo Noxt autthn.
Weo noxt Goaul Cfppjnl wjzfrgpflo fppofrs.
Bofvo Y@XPorvor fs teo Porvor th uso dhr teo goaul
sossjhn.
Jn teo Possjhn djobg" bofvo teo godfubt rfgjh autthn %@rofto
f goaul sossjhn jnstfn`o dhr tejs cfppjnl* sobo`tog.
@bj`k hn teo Noxt autthn.
?# 5 Yhwor@ontor :.x Bovob J Govobhpor Bfa Lujgo
-
7/30/2019 05 Lab Debugger
9/14
Bfa ?. _sjnl teo Goaullor
Pobo`t teo sfco nftjvo `hnno`tjhns" dhr shur`o fng tfrlot"
usog th run teo whrkdbhw jn teo provjhus bfa.
Pobo`t teo Yrhportjos tfa fng sobo`t Nhrcfbdhr teo Wfrlot
bhfg typoprhporty=
@bj`k hn teo Noxt autthn twj`o.
Bofvo teo godfubt sottjnls hn tejs pflo hd teo wjzfrg fng`bj`k hn teo Noxt> autthn.
Yhwor@ontor :.x Bovob J Govobhpor Bfa Lujgo ? # :
-
7/30/2019 05 Lab Debugger
10/14
Bfa ?. _sjnl teo Goaullor
Hn teo bfst pflo hd teo wjzfrg %nht sehwn*" bofvo teo
Gjs`frg tfrlot gftf `eo`kahx sobo`tog.
@bj`k hn teo Djnjse autthn fng wfjt dhr teo spjnnjnl
%jnjtjfbjzjnl* hd teo Goaullor j`hn th sthp aodhro
prh`oogjnl. Fssucjnl teft teo Jndhrcftj`f sorvj`o jsstfrtog" f goaul sossjhn wjbb stfrt.
@bj`k hn teo Goaullor Bhl tfa th wft`e teo rofb#tjco bhl
`roftjhn.
Weo Goaullor thhbafr ao`hcos f`tjvo jn goaul chgo=
?# 69 Yhwor@ontor :.x Bovob J Govobhpor Bfa Lujgo
-
7/30/2019 05 Lab Debugger
11/14
Bfa ?. _sjnl teo Goaullor
Ptop 0. Goaul teo cfppjnl.
Pobo`t teo sqXOCYBHZOO shur`o qufbjdjor jn teo cfppjnl.
@bj`k hn teo Noxt Jnstfn`o autthn th stfrt chvjnl
rhws terhule teo Goaullor.
Weo scfbb lroon frrhw gjspbfys f dbfsejnl yobbhwjngj`fthr fs bhnl fs rhws fro aojnl rofg.
@hntjnuo `bj`k hn teo Noxt Jnstfn`o autthn fngnhtj`o teo prh`ossjnl prhlross %jngj`ftog ay yobbhw
frrhw* fs of`e rhw chvos drhc teo sqXOCYBHZOO th teo
oxpXOCYBHZOO.
Oxfcjno teo gftf jn teo Jnstfn`o wjnghw fng nhtj`o teopubb#ghwn bjst `fn ao usog th soo f rhw jn ojteor hd teo
twh trfnsdhrcftjhns jn teo cfppjnl.
@bj`k teo Ptop th Jnstfn`o autthn fng wft`e of`e rhw
chvo terhule hno trfnsdhrcftjhn.
@hcpfro teo gftf drhc hno trfnsdhrcftjhn th teo noxt fnggotorcjno weoro teo cfppjnl orrhrs fro.
Yhwor@ontor :.x Bovob J Govobhpor Bfa Lujgo ? # 66
-
7/30/2019 05 Lab Debugger
12/14
Bfa ?. _sjnl teo Goaullor
Ptop 7. Pthp teo Goaullor.
Hn`o teo orrhrs jn teo gftf cfppjnl efvo aoon
gjs`hvorog" sthp teo Goaullor ay `bj`kjnl hn teo Pthp teo
Goaullor autthn.
Weo Gosjlnor wjbb fsk dhr `hndjrcftjhn=
@bj`k hn Zos.
Weo Goaullor Porvor wjbb seut ghwn fng roturn th teo
nhrcfbCfppjnl Gosjlnor
\hrkspf`o.Ptop ?. Pot Goaullor arofkphjnts.
Qostfrt teo Goaullor.
@bj`k hn teo Ogjt Arofkphjnt autthn.
Weo Ogjt Arofkphjnts gjfbhl ahx fppofrs.
Pobo`t sqXOCYBHZOO drhc teo Jnstfn`o Nfcopubb#ghwn
bjst.
@bj`k hn teo Fgg autthn jn teo Arofkphjnts= so`tjhn hd teo
gjfbhl ahx.
@bj`k hn teo Fgg f now `hbucn th tejs tfabo autthn jn
?# 61 Yhwor@ontor :.x Bovob J Govobhpor Bfa Lujgo
-
7/30/2019 05 Lab Debugger
13/14
Bfa ?. _sjnl teo Goaullor
Aost prf`tj`o js th rostfrt teo Goaullor"sjn`o @hntjnuo wjbb cjss arofkphjnts hnrhws teft efvo fbrofgy aoon prh`ossog.
Nhto teft teo godjnog arofkphjnt js stjbbprosont. Arofkphjnts rocfjn fssh`jftogwjte f cfppjnl untjb teoy fro gobotog. Farofkphjnt `fn ao ogjtog fs bhnl fs teoGoaullor js nht runnjnl.
teo @hngjtjhn so`tjhn teo gjfbhl ahx.
Pobo`t 22FNZ#YHQW>> drhc teo Yhrt pubb#ghwn bjst.
Pobo`t JPN_BB drhc teo Hporfthrpubb#ghwn bjst.
@bj`kHKth sfvo teo arofkphjnt.
@bj`k teo @hntjnuo autthn hn teo Goaullorthhbafr.
Weo Goaullor wjbb run terhule fbb teo rhws untjb teo djrst
h``urron`o hd f N_BB. Nhto teft twh rhws pfss th teo
tfrlot" teon teo Goaullor pfusos.@eo`k teo Jnstfn`o wjnghw fng nhto teo proson`o hd f
N_BB jn teo WZYOX@HGO `hbucn.
@bj`k teo @hntjnuo autthn.
Won rhws ontor teo tfrlot fng teo Goaullor pfusos weon
jt on`huntors f rhw weoro teo WZYOX@HGO `hbucn jsN_BB.
@bj`k teo @hntjnuo autthn.
Yhwor@ontor :.x Bovob J Govobhpor Bfa Lujgo ? # 60
-
7/30/2019 05 Lab Debugger
14/14
Bfa ?. _sjnl teo Goaullor
F N_BB js nht dhung jn fny hteor rhws. Fbb rhws
`hntjnuo th teo tfrlot.
@bj`k teo @hntjnuo autthn.
Weo Goaullor sthps. Fgg fggjtjhnfb arofkphjnts fng oxporjcont.
Wh seut ghwn teo Goaullor" `bj`k teo Pthp teo Goaullor
autthn.