$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
swiftcのデバッグ方法
Search
omochimetaru
June 22, 2018
Programming
1
180
swiftcのデバッグ方法
omochimetaru
June 22, 2018
Tweet
Share
More Decks by omochimetaru
See All by omochimetaru
Swift Concurrency 年表クイズ
omochi
3
240
型推論のちょっと深い話
omochi
1
520
Swiftの型推論を学ぼう | Let's Learn About Type Inference in Swift
omochi
4
9.9k
[スクリプト] Swiftの型推論を学ぼう
omochi
2
470
Swift6のprotocol
omochi
6
1.3k
SwiftSyntaxをうまく使おう
omochi
2
390
今から使えるSwiftとC++の新しいinterop手法
omochi
0
480
CSFixとラベルマッチ
omochi
0
430
Swiftのmodifyアクセサとコルーチン
omochi
0
870
Other Decks in Programming
See All in Programming
tparseでgo testの出力を見やすくする
utgwkk
2
210
251126 TestState APIってなんだっけ?Step Functionsテストどう変わる?
east_takumi
0
320
從冷知識到漏洞,你不懂的 Web,駭客懂 - Huli @ WebConf Taiwan 2025
aszx87410
2
2.5k
AIの誤りが許されない業務システムにおいて“信頼されるAI” を目指す / building-trusted-ai-systems
yuya4
6
3.3k
エディターってAIで操作できるんだぜ
kis9a
0
720
How Software Deployment tools have changed in the past 20 years
geshan
0
29k
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
130
20 years of Symfony, what's next?
fabpot
2
350
手軽に積ん読を増やすには?/読みたい本と付き合うには?
o0h
PRO
1
170
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
6
3k
Rubyで鍛える仕組み化プロヂュース力
muryoimpl
0
110
dotfiles 式年遷宮 令和最新版
masawada
1
770
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
246
13k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
970
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
The Pragmatic Product Professional
lauravandoore
37
7.1k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.2k
Building an army of robots
kneath
306
46k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
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