Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Apex Replay Debuggerを試してみた
Search
Shingo Yamazaki
October 30, 2018
0
5.3k
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.9k
ログラスCREのこれまでとこれから(2023年)
zakiyama
0
550
カスタマーサポートを立ち上げてからやったこと
zakiyama
0
420
組織一丸となってカスタマーサクセスを実現するための取り組みと悩み
zakiyama
0
2.3k
プロダクトと顧客をつなぐログラスのCREの取り組み
zakiyama
2
5.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.4k
Chromium版EdgeのTracking Prevention機能 / Tracking Prevention in Chromium-based Microsoft Edge
zakiyama
0
1.8k
LWCのローカル開発機能(ベータ)を試す / LWC Local Development
zakiyama
0
630
kintone開発チームのモブプロ事情 / Mob programming in kintone dev team
zakiyama
0
6.2k
Featured
See All Featured
Become a Pro
speakerdeck
PRO
30
5.6k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Music & Morning Musume
bryan
46
7k
4 Signs Your Business is Dying
shpigford
186
22k
Building Adaptive Systems
keathley
44
2.8k
Six Lessons from altMBA
skipperchong
29
4.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
The World Runs on Bad Software
bkeepers
PRO
72
12k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
11
950
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
990
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 ͪ͜Βʹؚ·ΕΔ • ύοέʔδΛΠϯετʔϧͨ͠৫ͰσόοάͰ͖Δ