-- Leo's gemini proxy

-- Connecting to gemini.tuxmachines.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

Tux Machines


Programming Leftovers


Posted by Roy Schestowitz on Aug 04, 2022


Content Management Systems (CMS): Kiwi TCMS 11.4 and More

KDE Goals: refinement stage




Display dynamic content from GDB in a custom window | Red Hat Developer


↺ Display dynamic content from GDB in a custom window | Red Hat Developer


> This is the second article in a two-part series about displaying information from the GNU Debugger (GDB) in a custom window while you are debugging a C or C++ program. The first article introduced GDB's Text User Interface (TUI) and showed how to create a window using the Python API. This second part finishes the example program by displaying values from GDB's history list.



Keeping a project bisectable | tony is coding


↺ Keeping a project bisectable | tony is coding


> But that’s OK, it part of the job. Programming is hard and sometimes we may miss a corner case, forget that numbers overflow and all other strange things that computers can do.


> One easy thing that we can do to help the poor developer that needs to find what changed in the code that stopped their printer to work properly, is to keep the project bisectable.


> A “bisectable” project is a project where one can reliably run git bisect, which is a very useful command to find a commit that introduces a bug. It works doing a binary search in the git history until finding the guilty commit. This process involves building each step of the bisect and running a test on each build to check if it’s good or bad (that you can magically automate with git bisect run). The problem is, if you can’t compile, you can’t tell if this commit is before or after the bug (it can even be the culpable commit itself!). Then you need to jump and try another commit and hope that it will compile, making the process more painful. A lot of build breakages along the commit history can easily discourage a brave bisecter.



This Week In Rust: This Week in Rust 454


↺ This Week In Rust: This Week in Rust 454




gemini.tuxmachines.org

-- Response ended

-- Page fetched on Sat Jun 1 10:15:39 2024