Hacker News with Generative AI: Debugging

Psss: Process Star Alignment (brendangregg.com)
Process star signs can be identified by the psss program found here. example output:
dnSpyEx: .NET debugger and assembly editor (github.com/dnSpyEx)
dnSpyEx is an unofficial continuation of the dnSpy project which is a debugger and .NET assembly editor.
Debugging: Indispensable rules for finding even the most elusive problems (2004) (dwheeler.com)
It's not often you find a classic, but I think I've found a new classic for software and computer hardware developers.
Logs Don't Lie: Debugging My Data Engineering Crisis in 2025 (datobra.com)
Every data pipeline has its breaking point. Mine came in late 2024, throwing errors I couldn’t ignore. Logs showed signs of stagnation, over-processing, and the need for a refreshed perspective.
How to debug Python code in Visual Studio Code (qodo.ai)
Remember when finding Python bugs meant peppering your code with print statements? Well, those days are over. Visual Studio Code packs a punch when it comes to Python debugging. Think breakpoints that trigger only when your conditions match, real-time variable tracking, and the ability to freeze time in your code execution. Whether you’re hunting down race conditions or memory leaks, these tools will make your debugging sessions so much more productive.
Musings on Tracing in PyPy (pypy.org)
Last summer, Shriram Krishnamurthi asked on Twitter:
Musings on Tracing in PyPy (pypy.org)
Last summer, Shriram Krishnamurthi asked on Twitter:
HTTP/2 Flow Control Deadlock (ycombinator.com)
Our real-world experience with flow control deadlock that manifested as infinite HTTP request hangs.
Printf debugging is ok (polymonster.co.uk)
I stopped going on Twitter a while ago because it has the tendency to evoke rage, as it is designed to do. But every now and then I check back in - it can be useful sometimes for keeping up with graphics research, gamedev news and some people do post nice things, like sharing projects they are working on, so there is something to pull me back from time to time.
Git Bisecting a Bug (Apache NuttX RTOS) (lupyuen.org)
2 Weeks Ago: We saw a Runtime Bug in Apache NuttX RTOS. We think that the Breaking Commit (causing the bug) falls somewhere between these “Good” and “Bad” Commits…
Don't Clobber the Frame Pointer (nsrip.com)
Recently I diagnosed and fixed two frame pointer unwinding crashes in Go.
Fixing sleep-wake hangs on Linux with AMD GPUs (gitlab.io)
I dual-boot my desktop between Windows and Linux. Over the past few years, Linux would often crash when I tried to sleep my computer with high RAM usage. Upon waking it would show a black screen with moving cursor, or enter a "vegetative" state with no image on-screen, only responding to magic SysRq or a hard reset. I traced this behavior to an amdgpu driver power/memory management bug, which took over a year to brainstorm and implement solutions for.
Missing the Forest for the Trees with Flame Graphs (ankush.dev)
Flame graphs are an amazing tool to visualize the performance of software and I'll forever be grateful to Brendan Gregg for creating them. There is however one catch that you should be aware of though. They tend to hide small overheads that have a bigger overall impact very well.
Skipping Boring Functions in Debuggers (maskray.me)
In debuggers, stepping into a function with arguments that involve function calls may step into the nested function calls, even if they are simple and uninteresting, such as those found in the C++ STL.
Court is in session: Top most notorious C and C++ errors in 2024 (pvs-studio.com)
Every year, we witness the same drama: bugs wreak havoc on our code as if asserting their dominance. But today, the tide turns—it's time for judgment. Let's dive into the most intriguing bugs we've uncovered this year.
Debugging memory corruption: who the hell writes "2" into my stack? (2016) (unity.com)
Demystifying Common Microcontroller Debug Protocols [video] (media.ccc.de)
Many developers know that the answer to "How do I debug this microcontroller" is either "JTAG" or "SWD". But what does that mean, exactly? How do you get from "Wiggling wires" to "Programming a chip" and "Halting on breakpoints"? This talk will cover how common debug protocols work starting from signals on physical wires, cover common mechanisms for managing embedded processors, and ending up at talking to various common microcontrollers.
Demystifying Debuggers, Part 2: The Anatomy of a Running Program (rfleury.com)
To unpack debuggers—programs which analyze the execution of other programs—it’s important that we first unpack the concept of a program, so that we’re familiar with the details of programs that a debugger must contend with.
A Practitioner's Guide to Wide Events (jeremymorrell.dev)
Adopting Wide Event-style instrumentation has been one of the highest-leverage changes I’ve made in my engineering career. The feedback loop on all my changes tightened and debugging systems became so much easier. Systems that were scary to work on suddenly seemed a lot more manageable.
Murder Mystery: GCC builds failing after sbuild refactoring (linux.it)
Official Debian GCC builds start failing on multiple architectures in late November.
Cqd: Colour my __dir__ please (github.com/rayking99)
A lightweight Python utility that provides colored visualization of object attributes, making it easier to inspect objects during development and debugging.
Harpoon: Trace syscalls from user-space functions, by using eBPF (github.com/alegrey91)
Harpoon aims to capture the syscalls (as if they were fishes) from the execution flow (the river) of a single user-defined function.
Webhook Tester/Debugger (hooklistener.com)
Optimize, Test, and Debug Webhooks with Precision
X-Ray View into Your Software Application and Underlying Functions (codeyam.com)
Software becomes complex very quickly. This makes maintaining quality, communicating about changes, and even thinking about your application difficult.
Murder Mystery: GCC Builds Failing After Sbuild Refactoring (linux.it)
Official Debian GCC builds start failing on multiple architectures in late November.
Mastering Ruby debugging: From puts to professional tools (jetbrains.com)
Debugging is an essential skill in software development, and in this post, we’ll be looking at how to investigate the behavior of Ruby code.
Learning to read C++ compiler errors: Failing to create a shared_ptr (microsoft.com)
Understanding what you asked the compiler to do, and why it couldn't comply.
Flawless Replay, time-traveling debugger for Rust workflows (flawless.dev)
Flawless Replay allows you to take any workflow that finished executing, failed executing or is still running and replay it locally.
VSCode-go: Increase the Go telemetry prompt rate to 200% (github.com/golang)
Deciphering C++ compiler errors: Nonsensical errors from a function declaration (microsoft.com)
A customer wanted to add XAML support to their application, so they included (among other things) the header file winrt/Windows.UI.Xaml.h. But the mere act of including that header file produced a horrible series of errors that began with.