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
390
カスタマーサポートを立ち上げてからやったこと
zakiyama
0
320
組織一丸となってカスタマーサクセスを実現するための取り組みと悩み
zakiyama
0
2k
プロダクトと顧客をつなぐログラスのCREの取り組み
zakiyama
2
4.9k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Chromium版EdgeのTracking Prevention機能 / Tracking Prevention in Chromium-based Microsoft Edge
zakiyama
0
1.6k
LWCのローカル開発機能(ベータ)を試す / LWC Local Development
zakiyama
0
510
kintone開発チームのモブプロ事情 / Mob programming in kintone dev team
zakiyama
0
4.6k
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
169
14k
BBQ
matthewcrist
85
9.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Testing 201, or: Great Expectations
jmmastey
40
7.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.3k
Fireside Chat
paigeccino
34
3.1k
The Invisible Side of Design
smashingmag
298
50k
Writing Fast Ruby
sferik
628
61k
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 ͪ͜Βʹؚ·ΕΔ • ύοέʔδΛΠϯετʔϧͨ͠৫ͰσόοάͰ͖Δ