Kuv yuav rho tawm tag nrho cov cav debug hauv Salesforce li cas?
Kuv yuav rho tawm tag nrho cov cav debug hauv Salesforce li cas?

Video: Kuv yuav rho tawm tag nrho cov cav debug hauv Salesforce li cas?

Video: Kuv yuav rho tawm tag nrho cov cav debug hauv Salesforce li cas?
Video: Txoj sia tu lawm tsis nco qab koj - nkauj tawm tshiab 2020-21 by vaj loog tsua xyooj 2024, Kaum ib hlis
Anonim
  1. Qhib Developer Console.
  2. Hauv qab ntawm lub console, xaiv Query Editor tab.
  3. Xaiv Siv Tooling API.
  4. Nkag mus rau cov lus nug SOQL no: SELECT Id, StartTime, LogUserId, LogLength, Qhov chaw NTAWM ApexLog.
  5. Nyem Execute.
  6. Xaiv tus cov ntaub ntawv koj xav tau rho tawm .
  7. Nyem Rho tawm Kab.
  8. Kom paub meej tias log tshem tawm, nyem Yes.

Ntawm no, kuv puas tuaj yeem tshem tawm cov ntaub ntawv debug?

Koj ua tsis tau rho tawm tus debug cav nyob hauv Apex code. Tab sis koj ua tau siv Rest DELETE endpoint rau tshem tawm debug cav.

Dab tsi yog qhov txawv ntawm qhov system log thiab debug cav? Qhov txawv hauv ob qho tib si log yog, o System log muaj tag nrho cov qhov system hais txog cov ntaub ntawv, anonymous apex execution thiab lwm yam txawm li cas los tus debug log muaj tag nrho cov debug cov nqe lus thiab cov kev pab cuam execution muaj feem xyuam rau tus neeg siv uas lub debug tau tso cai.

Ua raws li qhov no saib, kuv yuav ua li cas rub tawm cov cav debug hauv Salesforce?

Yuav Tsum Tau Tshaj Tawm thiab Kev Tso Cai Rau Tus Neeg Siv Kom Saib a debug log , los ntawm Teeb, nkag mus Debug Logs hauv Quick Find box, ces xaiv Debug Logs . Ces nyem Saib ib sab ntawm lub debug log uas koj xav tshuaj xyuas. Nyem Download tau rau rub tawm tus log raws li cov ntaub ntawv XML.

Kuv yuav ua li cas thiaj li tshem tau tus chij kab hauv Salesforce?

Mus rau Teeb -> Saib Xyuas -> Debug Logs. Qhov no yuav qhia koj txhua tus neeg siv taug chij . Koj tuaj yeem ua qhov no los ntawm REST Explorer ntawm workbench. Xaiv cov kab thiab koj taug chij yuav deleted.

Pom zoo: