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
swiftcのデバッグ方法
omochimetaru
June 22, 2018
More Decks by omochimetaru
See All by omochimetaru
Swift Concurrency 年表クイズ
omochi
3
280
型推論のちょっと深い話
omochi
1
540
Swiftの型推論を学ぼう | Let's Learn About Type Inference in Swift
omochi
4
11k
[スクリプト] Swiftの型推論を学ぼう
omochi
2
520
Swift6のprotocol
omochi
6
1.4k
SwiftSyntaxをうまく使おう
omochi
2
420
今から使えるSwiftとC++の新しいinterop手法
omochi
0
500
CSFixとラベルマッチ
omochi
0
460
Swiftのmodifyアクセサとコルーチン
omochi
0
920
Other Decks in Programming
See All in Programming
PHPでローカル環境用のSSL/TLS証明書を発行することはできるのか? #phpconkagawa
akase244
0
370
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5.4k
サークル参加から学ぶ、小さな事業の回し方
yuzneri
0
180
Sans tests, vos agents ne sont pas fiables
nabondance
0
110
Agentic AI & UI: Arcitecture, HITL, Emerging Standards
manfredsteyer
PRO
0
100
mruby on C#: From VM Implementation to Game Scripting (RubyKaigi 2026)
hadashia
2
1.8k
なぜあなたのコードには「コシ」がないのか?〜AI時代に問う、最後まで美味しい設計と戦略〜 #phpconkagawa / phpconkagawa2026
shogogg
0
200
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
1.2k
GitHubCopilotCLIをはじめよう.pdf
htkym
0
330
Skillは並べた。動かなかった。契約で繋いだ。— 65個のSkillから、自走する開発サイクルへ
junholee
0
560
RailsTokyo 2026#4: AI様があれば、 Hotwireの弱点は消えるか?
naofumi
1
160
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
440
Featured
See All Featured
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
190
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
A Modern Web Designer's Workflow
chriscoyier
698
190k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
440
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.7k
My Coaching Mixtape
mlcsv
0
130
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
180
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
910
Building an army of robots
kneath
306
46k
Side Projects
sachag
455
43k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
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