TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

My Debug Diary

13 点作者 kinduff超过 3 年前

3 条评论

henrik_w超过 3 年前
I do something similar, but only for bugs that were especially tricky. I don&#x27;t do it as I am debugging, but if the bug qualifies, I&#x27;ll write down the steps I took debugging it, as well as the reason for it, the fix, and (most importantly) lessons learned. I&#x27;ve done this for close to 20 years now, and I believe it&#x27;s helped me internalize a lot of lessons on how to code, test and debug.<p><a href="https:&#x2F;&#x2F;henrikwarne.com&#x2F;2016&#x2F;06&#x2F;16&#x2F;18-lessons-from-13-years-of-tricky-bugs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;henrikwarne.com&#x2F;2016&#x2F;06&#x2F;16&#x2F;18-lessons-from-13-years-...</a>
iandinwoodie超过 3 年前
I also log my debugging process, but usually I&#x27;m less verbose with the explanations and more verbose about the specific actions I&#x27;m taking. For example, instead of a note saying &quot;starting a debugging session to find out the issue with the sign-up during a load test&quot; I&#x27;ll provide the full command I used. Why? So that the process is reproducible in the event that I need to walk back a few steps or hand off the debugging to another team. I&#x27;ll also include environment information such as my current machine, PATH, and commit hash.
评论 #29317982 未加载
tompazourek超过 3 年前
I make notes like this for all tasks I do at work, not just for debugging, but also find it very useful for implementing new features, preparing presentations, meetings. I don&#x27;t just log what happened, but also log all thoughts, ideas, TODOs, etc.<p>I add screenshots of code, screenshots of apps, links, copy code blocks, queries I used, command outputs, various log snippets, file names. I also use highlighters a lot, and draw stuff.<p>Currently, I use OneNote for all this. I used to use pen and paper in the past, but when it&#x27;s digital, I can Copy-Paste or screenshot anything. I recommend everyone to try it. :-)