Lub Hom Phiaj Rsl debugger yog kev siv hluav taws xob. Nws tso cai rau koj kom muaj kev cuam tshuam yooj yim ntawm cov txheej txheem kev debugging thiab tsim Rsl-daim ntawv thov, ua tsaug rau qhov teeb tsa muaj ntau txoj haujlwm.
Cov Lus Qhia
Kauj ruam 1
Qhib lub Rsl debugger los ntawm kev ntseeg tau tias daim ntawv thov nyob rau hauv macro cov ntaub ntawv debug hom. Yog tias tus neeg siv tau ua haujlwm nrog ABS RS-Bank, nws yuav tsum siv hom kev debug. Txhawm rau nkag mus rau hom no, siv cov hauv kev hauv qab no.
Kauj ruam 2
Pib cov ntawv nyeem xov xwm, tom qab ntawd nias F11 yuam. Qhov no yuav pib qhov kev zov me nyuam rau kev ua tiav thiab ua rau tus neeg debugger ua haujlwm nrog thawj qhov hais kom ua los ntawm cov ntawv nyeem cov phiaj xwm. Hauv tib lub sijhawm, debugger lub qhov rais qhib tau. Qhov kev qhia thawj zaug hauv qhov program yuav yog qhov kev qhia tam sim no rau nws.
Kauj ruam 3
Khiav qhov kev pab cuam kom tiav siv Alt + F10 ua ke nrog tseem ceeb, thaum qhov kev zov me nyuam khiav, nias Ctrl + So kom zoo. Qhov no yuav ua rau debugger lub qhov rais. Cov lus qhia uas yog tom qab tom qab ua txhaum zaum kawg yuav muab coj los siv rau nws.
Kauj ruam 4
Ntxig qhov DebugBreak hais kom ncaj qha mus rau qhov program code, tom qab ntawd khiav qhov program siv Alt + F10 daws. Tom qab ntawd, qhov kev zov me nyuam yuav nres tiav, thiab qhov debugger lub qhov rai yuav siv qhov kev ua raws li Debug raws li cov lus qhia nquag. Koj tuaj yeem tuaj yeem thov tus debugger yog tias runtime yuam kev tshwm sim. Txij ntawm no mus, lub thawv qhib yuav tshwm muaj cov ntaub ntawv hais txog qhov ua yuam kev, thiab koj yuav kom koj pib lub debugger.
Kauj ruam 5
Teb tsab ntawv thov no nyob hauv lees paub. Cov kev qhia tam sim no yuav yog ib qho uas ua rau muaj qhov yuam kev no. Hauv qhov debugger lub qhov rais, kho qhov ua rau muaj qhov yuam kev, thiab tom qab ntawd mus txuas ntxiv ua tiav cov lus txib. Lub qhov rai no yuav tso tawm cov kab ntawv ntawm cov qauv siv ntawm qhov chaw debugger tau qhib rau. Lub npe module tau qhia hauv lub npe ntawm lub qhov rais, thiab nws yog qhov tam sim no. Nco ntsoov tias cov kev qhia tam sim no yog qhia ua xim liab. Qhib lub qhov rai nrog Alt + O hloov mus rau nws thiab pab kom nkag mus hom.