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
swiftcのデバッグ方法
Search
omochimetaru
June 22, 2018
Programming
180
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
swiftcのデバッグ方法
omochimetaru
June 22, 2018
More Decks by omochimetaru
See All by omochimetaru
Swift Concurrency 年表クイズ
omochi
3
320
型推論のちょっと深い話
omochi
1
550
Swiftの型推論を学ぼう | Let's Learn About Type Inference in Swift
omochi
4
11k
[スクリプト] Swiftの型推論を学ぼう
omochi
2
540
Swift6のprotocol
omochi
6
1.4k
SwiftSyntaxをうまく使おう
omochi
2
430
今から使えるSwiftとC++の新しいinterop手法
omochi
0
520
CSFixとラベルマッチ
omochi
0
480
Swiftのmodifyアクセサとコルーチン
omochi
0
940
Other Decks in Programming
See All in Programming
変わらないものが、変わるものを決める — 意図駆動開発 × イベントソーシング × イミュータブル | What Doesn't Change Decides What Can — IDD × Event Sourcing × Immutability
tomohisa
0
1.8k
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
200
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
210
AWS DevOps AgentのAzure接続機能を検証して見えた活用法/Use Cases Verified for the AWS DevOps Agent's Azure Connectivity Feature
masakiokuda
1
250
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.4k
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
190
そこに3びきプロダクトがいるじゃろう——生成AI時代における“価値が届かない理由”の構造
kosuket
0
520
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
150
実装をデザインガイドラインに追従させるための取り組み / 260731-dip-mosh-design-system
dachi023
0
5.2k
AIを紡ぐPMのお話
swdtkuy
0
120
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
210
SlackアプリとLambdaの 連携を構築した話
pawn_4_s
1
130
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
350
A designer walks into a library…
pauljervisheath
211
24k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Everyday Curiosity
cassininazir
0
290
For a Future-Friendly Web
brad_frost
183
10k
sira's awesome portfolio website redesign presentation
elsirapls
0
330
A Tale of Four Properties
chriscoyier
163
24k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
280
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.1k
Transcript
swiftcͷσόοάํ๏ Θ͍Θ͍swiftc #3, 2018/06/22 omochimetaru @ 1
͓͞Β͍ SwiftίϯύΠϥ։ൃ༻ͷڥߏங https://qiita.com/omochimetaru/items/ fd485185bcd07c21b49f SwiftίϯύΠϥ։ൃڥߏங https://qiita.com/rintaro/items/2047a9b88d9249459d9a ͳͲɺ͍Ζ͍Ζ 2
͓͞Β͍࣮ԋ $ utils/build-script --debug --xcode \ --skip-build-benchmarks XcodeΛ։͍ͯswiftλʔήοτΛ࡞ɺ ҾΛࢦఆͯ͠σόοά࣮ߦɻ 3
৽ख๏ Wait for executable for launched ίπ: PATHΛ௨͢ 4
࣮ԋ main ͔Β main llvm::SmallVectorΑ͘Θ͔ΒΜ 5
LLDBεΫϦϓτ σόοΨΛεΫϦϓτͰ֦ு swift-source/llvm/utils/lldbDataFormatters.py 6
࣮ԋ $ command script import <path> 7
lldbinit lldbίϚϯυͷࣗಈಡΈࠐΈ 8
࣮ԋ $ vim ~/.lldbinit 9
lldb print expression 10
·ͱΊ • Wait for executable for launched • lldbDataFormatters.py •
lldbinit • p, e 11
͓ΘΓ 12