All language subtitles for 003 Breakpoints_en

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

More often than not, you're going to get bugs.

So it helps to visualize the runtime using breakpoints in this lesson, you're going to learn how to

use breakpoints.

You can access this lesson from the resources if your resources don't include the following path, then

please download the updated resources from GitHub.

All right, inside the breakpoints class, we can start a debugging session to visualize the output

of each variable line by line.

So in this code, click the run and debug option.

And click on credit lines that Jason file, and here you can see the current file that we can launch

the debugger for, it's the file that corresponds to the breakpoints class.

Not that important, just showing you what's going on behind the scenes.

But what we want to do is we're going to place a breakpoint next to each line of code when we launch

the debugger for this file.

What it's going to do is it's going to stop at each break point and allow us to visualize the output

for that line.

Essentially, it's going to allow us to visualize the run time line by line, kind of like the animations

I've been showing you throughout the course, except now we can do it in voice code, which is really

cool.

So without further ado, click launch.

Current file.

Press continue to stop at each breakpoint.

And here in the left pane, you can visualize the output of each variable and long double boolean car

are primitive types and notice that each primitive store is a value.

And once you get to the last break point, if you press continue, it's just going to disappear because

debugging session is over.

So let's restart the session.

Go to the last line.

And a small little trick for you is to step over at the last line if you want to see it.

Now, string is a class type, you can see that the string variable contains an object with a bunch

of fields'.

One of the fields is an array that contains the ASCII representation of each character.

So what you would see is hello, but what's actually being stored is one hundred and four one two one

one.

Oh, wait.

Where each one corresponds to a character.

Again, this isn't that important.

It's just really cool that this code allows us to see exactly how each variable behaves.

In this lesson, you learn to visualize the output of a variable.

You visualized five primitives, each one stores of value, and you visualize the class type variable

which contains an object.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.