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
Making Projects Easy
brettharned
116
6k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
113
50k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
Mobile First: as difficult as doing things right
swwweet
222
9k
BBQ
matthewcrist
85
9.4k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
860
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 ͪ͜Βʹؚ·ΕΔ • ύοέʔδΛΠϯετʔϧͨ͠৫ͰσόοάͰ͖Δ