Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Debugging Python using GDB
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Nylas
May 31, 2016
Programming
79
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Debugging Python using GDB
Figuring out why a Python daemon is hanging doesn't have to be so hard!
Nylas
May 31, 2016
More Decks by Nylas
See All by Nylas
Switching Off to Switch On!
nylas
1
110
Why Observability Matters
nylas
0
470
Billions of Emails Synced with Python
nylas
0
340
Profiling Python in Production
nylas
1
240
Plugins with React & Challenges with Data
nylas
0
130
Space City JS — Using Electron & React to Build N1
nylas
0
120
Waffle JS: Desktop Apps with Electron, React, & Observables
nylas
0
460
Electron, Node, and the New Desktop @ SFNode
nylas
0
350
The New Desktop: Electron, React, and Pixel-Perfect Native-Feeling Experiences — Forward 4 Web Summit
nylas
1
1k
Other Decks in Programming
See All in Programming
Workers Cache を知る
syumai
0
350
phperだってパンチカードでコーディングしたい
o0h
PRO
0
300
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
160
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
4
4.8k
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
170
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
250
golang-bob.pdf
iwatsukayura
0
130
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
360
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
370
AI が書く Go コードの品質を劇的に向上させる Linter: “declscope”
mpyw
0
490
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
0
1.4k
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Design in an AI World
tapps
1
350
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Typedesign – Prime Four
hannesfritz
42
3.2k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
730
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Amusing Abliteration
ianozsvald
1
340
From π to Pie charts
rasagy
1
400
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
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]