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
Trace outside of stack trace
Search
Shota Kashihara
May 28, 2019
Technology
11
2.2k
Trace outside of stack trace
Shota Kashihara
May 28, 2019
Tweet
Share
More Decks by Shota Kashihara
See All by Shota Kashihara
ふりかえり “Demystify SwiftUI”
shotakashihara
0
250
UI デザインシステム
shotakashihara
2
2.4k
アプリのログをチーム外で活用してもらうためにやったこと
shotakashihara
0
580
iOS エンジニアが KMM で2つの アプリのログイン処理を共通化した話
shotakashihara
1
670
iOS 14 からの Universal Links
shotakashihara
1
3.8k
iOSアプリ自動ログテストのススメ
shotakashihara
2
1.3k
デバイス管理を App Store Connect API でやってみよう
shotakashihara
2
700
App startup time with Dynamic/Static frameworks
shotakashihara
4
880
Other Decks in Technology
See All in Technology
機械学習を「社会実装」するということ 2025年版 / Social Implementation of Machine Learning 2025 Version
moepy_stats
5
1.3k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
6
54k
RubyでKubernetesプログラミング
sat
PRO
4
160
【Oracle Cloud ウェビナー】2025年のセキュリティ脅威を読み解く:リスクに備えるためのレジリエンスとデータ保護
oracle4engineer
PRO
1
100
2025年に挑戦したいこと
molmolken
0
160
Azureの開発で辛いところ
re3turn
0
240
.NET AspireでAzure Functionsやクラウドリソースを統合する
tsubakimoto_s
0
190
Reactフレームワークプロダクトを モバイルアプリにして、もっと便利に。 ユーザに価値を届けよう。/React Framework with Capacitor
rdlabo
0
130
東京Ruby会議12 Ruby と Rust と私 / Tokyo RubyKaigi 12 Ruby, Rust and me
eagletmt
3
870
Bring Your Own Container: When Containers Turn the Key to EDR Bypass/byoc-avtokyo2024
tkmru
0
860
20250116_自部署内でAmazon Nova体験会をやってみた話
riz3f7
1
100
今から、 今だからこそ始める Terraform で Azure 管理 / Managing Azure with Terraform: The Perfect Time to Start
nnstt1
0
240
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
46
7.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
960
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Code Reviewing Like a Champion
maltzj
521
39k
jQuery: Nuts, Bolts and Bling
dougneiner
62
7.6k
Rails Girls Zürich Keynote
gr2m
94
13k
Transcript
©2019 Wantedly, Inc. Trace outside of stack trace w/ Firebase
Crashlytics Firebase Meetup #13 May 28, 2019 - @kashihararara
©2019 Wantedly, Inc. Introduction Shota Kashihara Wantedly People / iOS
©2019 Wantedly, Inc. Firebase Crashlytics Introduction
©2019 Wantedly, Inc. RoadmapΛܰ͘ Introduction https://get.fabric.io/roadmap
©2019 Wantedly, Inc. RoadmapΛܰ͘ Introduction https://get.fabric.io/roadmap Ҿ༻: https://get.fabric.io/roadmap
©2019 Wantedly, Inc. RoadmapΛܰ͘ Introduction https://get.fabric.io/roadmap Ҿ༻: https://get.fabric.io/roadmap
©2019 Wantedly, Inc. 2020݄̏·Ͱʹ Fabric console ʹ ผΕΛࠂ͛Α͏ Introduction
©2019 Wantedly, Inc. ຊ Stack trace
©2019 Wantedly, Inc. ΞϓϦ͕Ϋϥογϡͨ࣌͠ʹੜ͞ΕΔใ Stack trace
©2019 Wantedly, Inc. ελοΫτϨʔε Stack trace
©2019 Wantedly, Inc. Stack trace ελοΫτϨʔε Ϋϥογϡͷൃੜॴɺൃੜܦ࿏Λهͨ͠ϩά
©2019 Wantedly, Inc. Stack trace ΫϥογϡͷݪҼͱͳΔϝοηʔδ ιʔεͷॴ·Ͱڭ͑ͯ͘ΕΔ
©2019 Wantedly, Inc. ελοΫτϨʔεڧ͍ຯํ Stack trace
©2019 Wantedly, Inc. Ͱશ෦͕શ෦ ͦ͏͡Όͳ͍͜ͱΛ Stack trace ࢲ͍ͨͪͬͯΔ
©2019 Wantedly, Inc. Stack trace
©2019 Wantedly, Inc. Stack trace
©2019 Wantedly, Inc. Stack trace
©2019 Wantedly, Inc. ελοΫτϨʔε͕ऑ͍ Stack trace
©2019 Wantedly, Inc. ελοΫτϨʔε͕ऑ͍ͱԿ͕ࠔΔ Stack trace - ࠶ݱํ๏͕Θ͔Βͳ͍ - ݪҼ͖ͬΓͱ͠ͳ͍
- ֬ೝ͠ͳ͚ΕͳΒͳ͍͜ͱ͕Ұؾʹ૿͑Δ
©2019 Wantedly, Inc. ελοΫτϨʔε͕ऑ͍ͱԿ͕ࠔΔ Stack trace - ࠶ݱํ๏͕Θ͔Βͳ͍ - ݪҼ͖ͬΓͱ͠ͳ͍
- ֬ೝ͠ͳ͚ΕͳΒͳ͍͜ͱ͕Ұؾʹ૿͑Δ - ൃੜ݅ͳΜͳͷ͔ - όʔδϣϯͷґଘ - ͷґଘ
©2019 Wantedly, Inc. ελοΫτϨʔε͕ऑ͍ͱԿ͕ࠔΔ Stack trace - ࠶ݱํ๏͕Θ͔Βͳ͍ - ݪҼ͖ͬΓͱ͠ͳ͍
- ֬ೝ͠ͳ͚ΕͳΒͳ͍͜ͱ͕Ұؾʹ૿͑Δ - ൃੜ݅ͳΜͳͷ͔ - όʔδϣϯͷґଘ - ͷґଘ → ղܾ͍͕͔͔ͨ͠ΔͷݟੵΓ͕ग़དྷͳ͍ɻ
©2019 Wantedly, Inc. Stack trace ΫϥογϡΛθϩʹ͢Δ͜ͱͰ͖ͳ͍ɻ લఏͱͯ͠ ଥڠ͕ඞཁ͕ͩͲ͜ʹஔ͔͘αʔϏεͷنͱΫϥογϡͷنͱ͔͔ΔͷنʹΑΔɻ
©2019 Wantedly, Inc. Stack trace ࠶ݱखॱΛݟ͚ͭΔͨΊʹɺ ϦονͳΫϥογϡϨϙʔτ͕ඞཁͩɻ
©2019 Wantedly, Inc. Let’s customize crash reporting
©2019 Wantedly, Inc. Customize crash reporting Customize crash reporting Firebase
Crashlytics ʹ Analytics ͱͷ౷߹ͨ͠ϨϙʔςΟϯά ΫϥογϡϨϙʔςΟϯάͷͨΊͷϩάɺKey-Value͕ಠࣗʹՃͰ͖Δ ࢀর: https://firebase.google.com/docs/crashlytics/customize-crash-reports
©2019 Wantedly, Inc. Customize crash reporting Customize crash reporting -
ΧελϜϩάϝοηʔδ - ΧελϜΩʔ - ϢʔβʔID
©2019 Wantedly, Inc. ΧελϜϩάϝοηʔδ Customize crash reporting Ϋϥογϡ͕ൃੜ͢Δ·Ͱͷܦ࿏ͳͲΛϨϙʔτʹهͰ͖Δ
©2019 Wantedly, Inc. ΧελϜϩάϝοηʔδ Customize crash reporting Ϋϥογϡ͕ൃੜ͢Δ·Ͱͷܦ࿏ͳͲΛϩάͱͯ͠Ϩϙʔτʹه͢Δ͜ͱ͕ग़དྷΔ
©2019 Wantedly, Inc. ΧελϜϩάϝοηʔδ Customize crash reporting - ͋Δͱخ͍͠ϝοηʔδ ΞϓϦͷঢ়ଶมԽʢىಈɺऴྃɺαΠϯΞοϓɺϩάΠϯ/ϩάΞτʣ
ΞϓϦͷॏཁΠϕϯτʢWantedly People ͷ߹ɺ໊εΩϟϯʣ ڥґଘΠϕϯτʢόοΫάϥϯυfetch)
©2019 Wantedly, Inc. ΧελϜΩʔ Customize crash reporting Ϋϥογϡ͕ൃੜͨ͠ࡍͷΞϓϦͷঢ়ଶΛϨϙʔτʹهͰ͖Δ
©2019 Wantedly, Inc. ΧελϜΩʔ Customize crash reporting Ϋϥογϡ͕ൃੜͨ͠ࡍͷΞϓϦͷঢ়ଶΛϨϙʔτʹهͰ͖Δ
©2019 Wantedly, Inc. Customize crash reporting ͋Δͱخ͍͠ - ͍͔ͭΒ͍࢝Ίͨͷ͔ʢΠϯετʔϧʣ -
લճىಈͨ͠ͷ͍͔ͭ - ϔϏʔϢʔβʔͳͷ͔ϥΠτϢʔβʔͳͷ͔ ɹࢦඪͱͳΔObjective͕͋Δͱྑ͍ ɹεφοϓγϣοτͱͯ͠༗༻ͳ໘ଟ͍ ΧελϜΩʔ
©2019 Wantedly, Inc. ϢʔβʔID Customize crash reporting Ϋϥογϡ͕ൃੜͨ͠ϢʔβʔΛಛఆ͢Δͷʹཱͭ
©2019 Wantedly, Inc. Analyticsͱͷ࿈ܞ Customize crash reporting Crash reporting ϩά
Analytics Πϕϯτ screen_view tap_button ͳͲɺ ͢Ͱʹܭଌ͍ͯ͠Δϩά͕׆͖Δ ⚠ ࿈ܞͰ͖ͳ͍͜ͱ͋ΔͷͰա৴ې
©2019 Wantedly, Inc. ͍··Ͱ Crash! 16:55
©2019 Wantedly, Inc. ͜Ε͔Β 1. ΞϓϦΛىಈͯ͠ 2. ࿈བྷઌը໘Λ։͍ͯ 3. όοΫάϥϯυʹߦ͘ͱ
Crash! - ΧελϜϩάϝοηʔδ - Analytics ͷ screen_view 16:55:04 16:55:06 16:55:10 16:55
©2019 Wantedly, Inc. ڧ͍ Customize crash reporting ΫϥογϡϨϙʔτ ऑ͍ ελοΫτϨʔε
©2019 Wantedly, Inc. ڧ͍ΫϥογϡϨϙʔτΛ࡞Ζ͏ Customize crash reporting ࠶ݱखॱʹ͍ۙΫϥογϡϨϙʔτΛ༻ҙ͢Δ͜ͱ͕Ͱ͖ͨɻ গͳ͘ͱใ͕૿͑Δ͚ͩͰ৭ʑͳԱଌཱ͕ͭ ͷݟੵΓ͕Ͱ͖Δʢ͔͠Εͳ͍ʣ
©2019 Wantedly, Inc. ·ͱΊ Customize crash reporting Crash Reporting ϩά
Λऔ͓ͬͯ͘ͱɺ࠶ݱखॱͷखֻ͔ΓʹͳΔ ΧελϜKey-Value ͰΞϓϦͷεφοϓγϣοτΛऔ͓ͬͯ͜͏ Firebase Crashlytics ίϯιʔϧ͍͍ͧ