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
Debugging Python using GDB
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Nylas
May 31, 2016
Programming
0
71
Debugging Python using GDB
Figuring out why a Python daemon is hanging doesn't have to be so hard!
Nylas
May 31, 2016
Tweet
Share
More Decks by Nylas
See All by Nylas
Switching Off to Switch On!
nylas
1
100
Why Observability Matters
nylas
0
450
Billions of Emails Synced with Python
nylas
0
310
Profiling Python in Production
nylas
1
230
Plugins with React & Challenges with Data
nylas
0
120
Space City JS — Using Electron & React to Build N1
nylas
0
110
Waffle JS: Desktop Apps with Electron, React, & Observables
nylas
0
450
Electron, Node, and the New Desktop @ SFNode
nylas
0
340
The New Desktop: Electron, React, and Pixel-Perfect Native-Feeling Experiences — Forward 4 Web Summit
nylas
1
970
Other Decks in Programming
See All in Programming
AWS Infrastructure as Code の新機能 2025 総まとめ 〜SA 4人による怒涛のデモ祭り〜
konokenj
10
2.8k
PJのドキュメントを全部Git管理にしたら、一番喜んだのはAIだった
nanaism
0
220
2026/02/04 AIキャラクター人格の実装論 口 調の模倣から、コンテキスト制御による 『思想』と『行動』の創発へ
sr2mg4
0
650
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
330
今、アーキテクトとして 品質保証にどう関わるか
nealle
0
200
TipKitTips
ktcryomm
0
130
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
1.1k
Agent Skills Workshop - AIへの頼み方を仕組み化する
gotalab555
13
7.4k
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
1
340
Go1.26 go fixをプロダクトに適用して困ったこと
kurakura0916
0
310
Head of Engineeringが現場で回した生産性向上施策 2025→2026
gessy0129
0
200
株式会社 Sun terras カンパニーデック
sunterras
0
1.9k
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
130
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
180
Leo the Paperboy
mayatellez
4
1.5k
Designing for Performance
lara
611
70k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
82
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Amusing Abliteration
ianozsvald
0
120
Joys of Absence: A Defence of Solitary Play
codingconduct
1
300
Agile that works and the tools we love
rasmusluckow
331
21k
The SEO identity crisis: Don't let AI make you average
varn
0
400
Marketing to machines
jonoalderson
1
5k
エンジニアに許された特別な時間の終わり
watany
106
240k
Transcript
Debugging Python with GDB Karim Hamidou
[email protected]
http://khamidou.com
Title
• lsof • strace/ltrace • dtrace (if you’re lucky) Traditional
UNIX tools
@app.before_request def start(): # fingers crossed! print ‘REQUEST ‘ +
request if not request.user: … Modifying Python libraries in /usr/lib/python
There’s a better way!
None
def f(): x = 0 d = dict(v=1, y='L') while
True: x = x + 2 print x f()
• attach/detach • py-bt • py-list • py-locals GDB Commands
Cheat sheet
Your Name | @yourname |
[email protected]
github.com/nylas Thank you! http://khamidou.com
—
[email protected]