Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Apex Replay Debuggerを試してみた
Search
Shingo Yamazaki
October 30, 2018
0
5k
Apex Replay Debuggerを試してみた
Tokyo Salesforce Developer Group Meetup #19 のLT資料です。
Shingo Yamazaki
October 30, 2018
Tweet
Share
More Decks by Shingo Yamazaki
See All by Shingo Yamazaki
顧客価値に向き合うためのCREのススメ
zakiyama
4
1.2k
ログラスCREのこれまでとこれから(2023年)
zakiyama
0
400
カスタマーサポートを立ち上げてからやったこと
zakiyama
0
330
組織一丸となってカスタマーサクセスを実現するための取り組みと悩み
zakiyama
0
2.1k
プロダクトと顧客をつなぐログラスのCREの取り組み
zakiyama
2
5k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
Chromium版EdgeのTracking Prevention機能 / Tracking Prevention in Chromium-based Microsoft Edge
zakiyama
0
1.6k
LWCのローカル開発機能(ベータ)を試す / LWC Local Development
zakiyama
0
520
kintone開発チームのモブプロ事情 / Mob programming in kintone dev team
zakiyama
0
4.8k
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1030
460k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.7k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7.1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
98
18k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2.1k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
560
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Agile that works and the tools we love
rasmusluckow
328
21k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Measuring & Analyzing Core Web Vitals
bluesmoon
5
200
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Transcript
Apex Replay Debugger Λࢼͯ͠Έͨ 2018-10-30 Tokyo Salesforce Developers Group Meetup
#19
ࣗݾհ ࢁ㟒ɹਅޗ גࣜձࣾνʔϜεϐϦοτ ϓϩμΫτϚωʔδϟʔ Twitter: zaki___yama Blog: http://dackdive.hateblo.jp/
IUUQTSFMFBTFOPUFTEPDTTBMFTGPSDFDPNKBKQXJOUFSSFMFBTFOPUFTSO@WTDPEF@SFQMBZ@EFCVHHFSIUN
Apex Replay Debugger ͱ • VSCode ͷ֦ுػೳ • Apex ͷσόοάϩάϑΝΠϧ͔Βɺϩάग़ྗ
࣌ͷ Apex ͷ࣮ߦΛ࠶ݱ (Replay) Ͱ͖Δ • →VSCode ্Ͱ Apex Λεςοϓ࣮ߦͨ͠Γ Breakpoint Λஔ͍ͨΓͰ͖Δ
ࣄલ४උ • Salesforce CLI ΛΠϯετʔϧ • VSCode ͷ Salesforce ֦ுػೳΛΠϯετʔϧ
• https://marketplace.visualstudio.com/items? itemName=salesforce.salesforcedx-vscode • VSCode ͷઃఆͷͨΊ .vscode/launch.json ͱ͍͏ϑΝΠϧΛ࡞ ͢ΔʢׂѪʣ IUUQTNBSLFUQMBDFWJTVBMTUVEJPDPNJUFNT JUFN/BNFTBMFTGPSDFTBMFTGPSDFEYWTDPEFBQFYSFQMBZEFCVHHFS ͷl1SFSFRVJTJUFTll4FU6Q"QFY3FQMBZ%FCVHHFSzΛࢀর
Demo
ྲྀΕ 1. Apex ͷϩάϨϕϧΛFINESTʹ 2. ιʔείʔυ্ͷҙͷߦʹ Checkpoint Λஔ͘ 3. Checkpoint
Λ৫ʹө 4. Apex ࣮ߦ (ը໘ʗςετίʔυʗExecute Anonymous) 5. ϩάऔಘ 6. ϩάϑΝΠϧΛ։͖ɺApex Replay Debugger Λىಈ 7. ιʔεͷमਖ਼ͱ࠶σϓϩΠ 8. 2~7 ͷ܁Γฦ͠
ҙࣄ߲ • Checkpoint 5ݸ·Ͱ • Checkpoint ͷ༗ޮظؒ30 • Ұʹ replay
Ͱ͖Δͷ1ϑΝΠϧͷΈ • ඇಉظॲཧͳͲͷ߹ҙ͕ඞཁ
͓·͚ ʢΑ͘Θ͔Βͳ͔ͬͨ͜ͱʣ
Checkpoint ͱ Breakpoint Checkpoint ͷํ੍͕͕͋Δ͚Ͳଟ͘ͷใΛ ؚΜͰ͍ΔɺΒ͍͠ʁ IUUQTNBSLFUQMBDFWJTVBMTUVEJPDPNJUFNT JUFN/BNFTBMFTGPSDFTBMFTGPSDFEYWTDPEFBQFYSFQMBZEFCVHHFS ͷl1SFSFRVJTJUFTll4FU6Q"QFY3FQMBZ%FCVHHFSzΛࢀর
Checkpoint ͱ Breakpoint ɾ͍จࣈྻ#SFBLQPJOUͩͱলུ͞ΕΔ ɾαϒΫΤϦͰऔಘͨ͠ΦϒδΣΫτ͕͋Δ߹ɺ #SFBLQPJOUͰḷΕΔͷ֊͚ͩ
Apex Debugger (ͱ ISV Customer Debugger)
Apex Debugger (ͱ ISV Customer Debugger) • ͪ͜Β • ର৫
Scratch Org ݶఆ • ͑Δͷ Performance Edition ͱ Unlimited Edition ݶఆͰɺͦΕҎ֎༗ঈ • ISV Customer Debugger ͪ͜Βʹؚ·ΕΔ • ύοέʔδΛΠϯετʔϧͨ͠৫ͰσόοάͰ͖Δ