GCC, glibc, stack unwinding and relocations – A war story | Lobsters

A post from the archive 📫:
Making production diagnostics easier with Source Link

https://www.poppastring.com/blog/making-production-diagnostics-easier-with-source-link
#debugging #diagnostics #visualstudio

Making production diagnostics easier with Source Link

Source Link is a language and source-control agnostic system for providing ...

Fixed *that* issue by making sure each instance of the Process class has an owning thread, but forks the child on the main thread and receives exit events from there, delegating that info back to the owing thread. Seems to work.

Now, I can still make #swad crash. But no matter what I tried so far, as soon as I build it with both #debugging symbols and the #thread #sanitizer, I just can't reproduce a crash.

Now what? 😞🤷

#Development #Mindsets
Selfish reasons for building accessible UIs · “You can build accessibly without having a bleeding heart.“ https://ilo.im/164oyl

_____
#Responsibility #Accessibility #Naming #Debugging #Testing #WebDev #Frontend #HTML #CSS #JavaScript

Selfish reasons for building accessible UIs

All web developers know, at some level, that accessibility is important. But when push comes to shove, it can be hard to prioritize it above a bazillion other concerns when you’re trying to c…

Read the Tea Leaves

Attempting to port https://askubuntu.com/questions/323437/how-to-prevent-wine-from-adding-file-associations to #NixOS (Specifically the registry patch)

wine = pkgs.wine64.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [
(pkgs.writeTextFile {
name = "disable-winemenubuilder.patch";
text = ''
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -2590,7 +2590,8 @@
[Services]
-HKLM,%CurrentVersion%\RunServices,"winemenubuilder",2,"%11%\winemenubuilder.exe -a -r"
+HKLM,%CurrentVersion%\RunServices,"winemenubuilder",2,"%11%\winemenubuilder.exe -r"
HKLM,"System\\CurrentControlSet\\Services\\Dnscache\\Parameters",,16
'';
})
];
});

Unfortunately this keeps giving me an error:

> applying patch /nix/store/wa6wgy2jlw29frhmndfi9c9ri55njsxg-disable-winemenubuilder.patch
> patching file loader/wine.inf.in
> patch: **** malformed patch at line 9:
>

Anyone have any ideas?
(Tagging Git as well since it's a git patch)

#Nix #Debugging #Git

How to prevent Wine from adding file associations?

Wine automatically adds certain mimetypes and file associations (e.g. notepad.exe for .ini files). There already is an answer that explains how to remove these associations. But how can one preven...

Creating QMI traces from Android phones with Frida to reverse engineer Voice over LTE https://lobste.rs/s/ykuoxv #debugging #linux #mobile
https://postmarketos.org/blog/2025/06/17/volte-project-qmi-sniffing-with-frida/
Creating QMI traces from Android phones with Frida to reverse engineer Voice over LTE | Lobsters

Debugging tricks for IntelliJ

I have been using IntelliJ Idea at work for a decade or so by now, and it’s been a reliable companion. JetBrains IDEs have a bit of a reputation for being slow, but their feature set is incredible: powerful refactoring tools, a great VCS UI (though I like magit even more!), a huge number of supported frameworks, integration with just about any testing library for any language, code coverage tools, powerful debuggers, etc.

#programming, #debugging

Debugging tricks for IntelliJ

I have been using IntelliJ Idea at work for a decade or so by now, and it’s been a reliable companion. JetBrains IDEs have a bit of a reputation for being slow, but their feature set is incredible: powerful refactoring tools, a great VCS UI (though I like magit even more!), a huge number of supported frameworks, integration with just about any testing library for any language, code coverage tools, powerful debuggers, etc.

Andrea Bergia's Website

"14 DevTools Tricks That`ll Make You a Better Developer" - In this video, I’ll show you 14 powerful #DevTools features you probably didn’t know existed. From hidden #performance tools to smart #debugging tricks — these workflows will save you time and help you ship faster. #webdevelopment #CSS #JavaScript

🍿 Chapters:
00:00 Intro
00:30 CSS Shadow Editor
01:04 Logpoints
01:46 Measure Unused Script

For The Thursday Exchange-

I wanted to talk about error driven development -

https://www.youtube.com/watch?v=1ShPOXnZIRA

What does “error-driven development” mean in the context of your current Python workflow?

How do you typically respond when you encounter an unexpected exception in your code?

At what point in your development process do you intentionally write code that will fail?

How do you track and learn from recurring errors or bugs in your projects?

What role does testing play in how you discover and fix errors during development?

#tte
#TheThursdayExchange
#programming

#Python
#PythonProgramming
#DevLife
#CodeNewbie
#100DaysOfCode
#ErrorDrivenDevelopment
#TestDrivenDevelopment
#BugFixes
#CleanCode
#Debugging
#CodeWithMe
#LearnToCode
#Developers
#TechCommunity

Error Driven Development

YouTube
Debugging tricks for IntelliJ | Lobsters