This is why I spend more time inside GDB than I do writing code, and so should you.
117,910 次观看
26 条评论
评论来自 X (Twitter) 上的原帖

@rfleury
Related:
86 个赞

@nonRealBrandon
Imagine how much better of a programmer Carmack would have been if he had known about print statements.
18 个赞

@iamrupallan
John Carmack was right. -> Stop `printf` debugging. Open the debugger and watch your code run step by step. -> On Mac just type: `lldb ./your_program` You’ll understand your code better in 10 minutes than hours of print statements.
18 个赞

@nicolascraske
Tracing and stepping through taught me so much about how OOP works AND how many algorithms behave. Debugging is an art form.
5 个赞

@ofmyslippers
Would be useful to see more agent workflows that treat the debugger as a first-class loop, not just “write → hope → read the stack trace.” Carmack’s point still stands: if you’re not inspecting the running program, you’re guessing.
4 个赞

@GordonLeete
Debugger is the only way to have more power than root
2 个赞

@gaussie
This is why ITS had a DDT as a shell.
2 个赞

@sh1m4s
I remember when the "boss" from the worst "company" (glamourized personal project) I ever worked for, who really believed he was some sort of genius, was not able to install a useful debugger and stated, "It is better to use prints". Stupidity at its finest.
2 个赞

@KChXexqiRYuheUe
The thing about 3d engines are you have to balance a lot of tradeoffs. It makes you appreciate the complexity of reality, that you get for free.
2 个赞

@_banzaan
would a team of three agents for programming debugging and qc work better?
2 个赞

@ticker_st
gdb + AI
2 个赞

@connyb
I spent years inside WinICE .. I never want to go back, but I feel like it provides a very sound basis for almost all other work. 🧐
1 个赞

@Abhishekcur
thats why I spend more time in flamegraphs, perf., nsysy, ncu, i don't believe until i see through my naked eyes lolll
1 个赞

@wolfengange
Step-by-Step — uh, Baybayy 👊

@SurapurRamesh
Thanks got sharing this. Will watch and sleep

@canonicalmodel
The world is just in such poverty when Lex is the best humanity can offer as an interviewer. Then again, it's free, so I guess it indeed has no value.

@SiRiUSCoOp
I learned to code in QBasic. Had a built-in debugger—and built-in hyperlinked docs. It was pretty awesome.

@desiflaneur
Gnu DDD helped me get thru college and complete my thesis.

@JonKakaley
I can’t believe there are actually people who claim to not use debuggers

@rmsmin
Like explaining the internal combustion engine to a dog.






