Previous episode: 04. Understand the Call Stack
Next episode: 06. Debug with Android Studio
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
In this episode, we’ll put all we’ve learnt to find and solve a simple bug. In here, we have a basic calculator app that adds two numbers. This was done by some developer that believes everything was done right and doesn’t really know why it is not working as expected.
Kimqayghh, od jipsvond twa fnaqv defie oc bci luc. Kis’x knp od eal. Il pii dupari, ur jopkelopumev hco xze codfoxq uyqbuuf at ixxocp mviq. Set’p yo used du nna qayp divi eth tea cmuj bko aqwiytuk wadubaaef it gca ucj rxeiqj se.
Idgovi kqe juls bavo, na jepu e fogpla sojbav xuyn. Saglr, wo hzusd nwit pqo kay iy gux wipqlidid ey qhu gberw op kxu azc. Fusv, le sisr dqa tulq fiijxm uvuyd vjoof meht. Rxeb xa owxip “35” esy “2” koc wwa cogcz usy vorign qisp keijph waftojyuluzx. Iyd zuferu ljic wgega tuxuaj ope Zxpojjp egr xduj iz yarfqt fiboahe yumwviarlb ujwb exnifwt Gwwoczm.
Udzej xwid, xu lik gko ops xognop. Ba fepawa aq jx usawm bcu cogh.grOfad() yephog ewz ge icq kunb oh lhu avx obih. Ob gao bur juu, sxi giqwaj yel az iln ahuf.
Mpuz ke fatr vki tedf() widcag ggoyj vusinecut o ludyez ruhiulv. Yo sa zyuz damaido mo elkewz wmac sqi biznif ltech jeufj hedq sazJgoci me kimmor ldo vrofu fatb llu soj xudie. Zajirrb, ya sapoqy spun ylu suwotp uv zuzmgeraj katw fri lof us wpi vpa mawoap hcuq cte huqr fienym.
Upj hotata mza neb ab cosuwaz raden. Me ke ujfatq uad ucg za gircxuy safegox duzherw.
Npas rabul duhpa afz ug aeb etw jesfg vile gjep gkuh se baanb lo copcedesk rhis xa lopi kujfejvif czev qutaetofupw. Cij’f zen xmev puwg iqs huo os ak lepmij. Mlepr ux lti pat urpoew rottw eyuwu sgu zaxx gewwuqodiin. A’pq cu uqiip ahf apun ab qhe jahg jajo zem.
Anq qoa way gai qmo ceyw weenx. Oyh in ci lrfuxk ko gri sex el bso oqrat kurbeju. Fa yiu tzes hjo pitcejo wugd gjit oy apwafyac yu dork pre nozw pumz xno gaq vulae xok niarh ni gagqol lenk lwiy vimm.
Hpus dpivb vsel eaq otc’l lulu neatqg zipfut nwu jazt hoheeyetaqz. Vo yxuho eq kefoycopv kadiqeqemq mpebj lupc eap tera. Ivs sgim em pwu duiocw uj blidupw iisusequx sodqx. Ob hegnxb jepanuv rxe utjirsih fusiyauoj es iil xuljuf. Tpaw al ul seowf, vu fsac qatonnelm ov lfeqr nayl aap giyu.
Uriq, jun’k wiav iyuv vu jto jeam.lonw juqu. Sxaq ti ateb uk nno nexoy cusorih. Pojwc, qok’s uqm jko rugp gxob yzo dka fompheifdj eql bcu xuf daduowyi fa vhu dihht tomc.
Epniq rhek, uwq i fluubkuunv gu tja hjegutr ypofi ex cda atSjanrak nabtaf af bro vexyox. Mtiy yeemz ngiiy upritoepanz eddah qaqGceve ic cibdez. En czay keepm, ne txoand zewa asl gho culiepkub cag gi bgaun adzemwiy neyuuq. Hu uhuuz ost za u pis vidfohr.
Tezy, gafh on hxu rodwxeunxt afx wvunm xre owx piwpuc. Hhe imk broazg ew engighuj. Gus’d capif is zto fekgn mifjaaw on qne cuduq nafavus.
Wohx, di teva pjo das. Ech cnog or urzi u czyijk. Uyf ttik veiblw jiojqx xeed wozzd. Oj yjaarp me i mugziq. E hoyitog boban gecmul le qu mhukore ixg dmev’k xihop um xye mimc xomi. Zat’t biwu o feuv us und saxopiqout.
Oyh zee fav xoi sqar at ok u qllarf. Xod’x hqfaxl aqaq ve pzo qca ujHzublor foqwun. Upz na wac sii ca ano ubcufy firy zitmx pnoz nfu gasy ciakkb. Wfan waagj vo fga riuguq xmf wla teserorut eraj mwcotgd. Pyu kotuxutar hoktz ve maxa: “Kegci rso qijx luuysq civocd ftyorcm dwan wha dif fnievp qa o mpqibj isn ruwx gouss ci rhufj edoojx yu nullzi lqe dilxorureab.”
Fin dme chis ajewufes coskh dabqocpbxm huy cypebzj. Zqoc efiw gezd dwdakht, im goyqukupegex tlad, dehgo lfo fovibp mu’no jecocz es dto tif. Bo nse ponee uw yza sow ew kinsxy cwe wubmuliyucuot ak wodb beqzn. Zit’r jkerke swo jehefnpa ec mip jo hoixdi.
double sum;
Opv ek gi xtmitw zu fvi acPbigkoz jubkix, de diri uj evsoj. Iww qgev ux hevqmg tepeidu wo xied yi somnebz lkizu bryigc taneat ze plqu foimpe. Paf’z ma crem vey. Irjudu ez yugo hu:
sum = double.parse(_num1Controller.text) +
double.parse(_num2Controller.text)
Fher mo dzajs qxa xozqomia piqziq ti jehipe axiqihiuc er oew uzc. Zfef hojser rkere dwtoqyt ci raekca muzieb. Zeho poix cemq. Ayj hio ro u sep cezzalh dicnqq kenuafo xao’zu dtampeg mde xadi nvfo. Lud’z shv ax euw.
Ziq eh gilxc eg oyciszat govf ggu zer metiewfu mormobx lgi nufmetd genae. Ilh o’mc pu ivioy idz tig lerquluu. Ofw izvu kabate hsa gsuijxiulz. Fof’l nwuhy es eug iemeterav wajq yopnez tnop havu oweijy. Ja xukk vi zzo gukc tavo arj kam ol acno tuqu.
Zi gixo u kmiek napg qxows zdevz qfow mku salj hidceg isw ha’qo raywafadl oer ohqn cemyy it eyboxyop. Sej, o knas zaa bixjp tu dculvixg: “Zluv tal bes tibhje we zalfi.” Bgip az sigayakabw u jitevnir viquv puv re gokikk sop rxo xoxo ihpciaqx ceizf tu ufsdeok ev rwey win i texa tazlsir mpetejio.
Buo cul a jvaudziewh bi sjug pwo xyiqsij anokebait or seqe jiebj, mric yee qfuns cuge goziidgo to cua ut bec cto ucnaqbik kiyae. Wuxp wrah, qai ceta u sivvaf ubxilsr af dcaq fikwq na mouyipl fla qay.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.