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
Testing 201, or: Great Expectations
jmmastey
40
7.1k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Code Reviewing Like a Champion
maltzj
520
39k
Building Your Own Lightsaber
phodgson
103
6.1k
Producing Creativity
orderedlist
PRO
341
39k
Building an army of robots
kneath
302
44k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
48
2.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
5
430
Side Projects
sachag
452
42k
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 ͪ͜Βʹؚ·ΕΔ • ύοέʔδΛΠϯετʔϧͨ͠৫ͰσόοάͰ͖Δ