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
1
170
swiftcのデバッグ方法
omochimetaru
June 22, 2018
Tweet
Share
More Decks by omochimetaru
See All by omochimetaru
型推論のちょっと深い話
omochi
1
500
Swiftの型推論を学ぼう | Let's Learn About Type Inference in Swift
omochi
4
9.5k
[スクリプト] Swiftの型推論を学ぼう
omochi
2
450
Swift6のprotocol
omochi
6
1.3k
SwiftSyntaxをうまく使おう
omochi
2
370
今から使えるSwiftとC++の新しいinterop手法
omochi
0
460
CSFixとラベルマッチ
omochi
0
420
Swiftのmodifyアクセサとコルーチン
omochi
0
830
Swiftのオーバーロード選択のスコア規則12種類
omochi
3
440
Other Decks in Programming
See All in Programming
学習を成果に繋げるための個人開発の考え方 〜 「学習のための個人開発」のすすめ / personal project for leaning
panda_program
1
110
Claude Codeで実装以外の開発フロー、どこまで自動化できるか?失敗と成功
ndadayo
2
1.2k
デザインシステムが必須の時代に
yosuke_furukawa
PRO
2
100
Jakarta EE Core Profile and Helidon - Speed, Simplicity, and AI Integration
ivargrimstad
0
190
The State of Fluid (2025)
s2b
0
190
実践!App Intents対応
yuukiw00w
1
350
私の後悔をAWS DMSで解決した話
hiramax
4
110
MCPで実現するAIエージェント駆動のNext.jsアプリデバッグ手法
nyatinte
6
810
Kiroの仕様駆動開発から見えてきたAIコーディングとの正しい付き合い方
clshinji
1
140
The state patternの実践 個人開発で培ったpractice集
miyanokomiya
0
150
管你要 trace 什麼、bpftrace 用下去就對了 — COSCUP 2025
shunghsiyu
0
460
KessokuでDIでもgoroutineを活用する / Go Connect #6
mazrean
0
110
Featured
See All Featured
Being A Developer After 40
akosma
90
590k
GraphQLとの向き合い方2022年版
quramy
49
14k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
183
54k
Why Our Code Smells
bkeepers
PRO
338
57k
Music & Morning Musume
bryan
46
6.7k
Mobile First: as difficult as doing things right
swwweet
223
9.9k
Agile that works and the tools we love
rasmusluckow
329
21k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
What's in a price? How to price your products and services
michaelherold
246
12k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Facilitating Awesome Meetings
lara
55
6.5k
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