Die Session zum #Debugging + Fix für falsche Abstabdswerte geht spontan in eine zweite Runde.
Nach der theoretischen Betrachtung zum Problemverständnis und Eingrenzung der Aufgabenstellung wurde ein Sensor mit auffälligen Werten ausgewählt und wird nun analysiert. #OBSBarcamp
So, hands up who else does this: adding custom debuggers to your interfaces for testing them out?
It’s a little habit I picked up decades ago during the Flash days and it’s as useful now. (Found and fixed at least two bugs after implementing this simple one today.)
#NASA uploads all the #JWST photos where you can clearly see some #debugging#code left in the universe. We don't know why it's there, we just know each time we try removing it, the whole thing just crashes.
The best #debugging advice @Cyzaine ever game me was to put print statements everywhere. Some times I get lucky and the 1st one shows me the issue. Today it was 3rd times the charm!
#Epiphany / #WebKitGTK / #WebKit is all fun and games until you run into a blank page loading heisenbug with Google Calendar, install 6 GB of debug packages, bypass the sandboxing, do a "thread apply all bt", see the #gdb process eat up over 18 gigabytes of RAM and you are forced to urgently shutdown Firefox to have enough RAM to be able to get the #debugging backtrace all the way to thread no1... only to be told that there's nothing suspicious shown at the end of the backtrace after all 🥲️
I initially wanted to work on some photos this afternoon, but I instead spent some time #debugging a bug that appeared in #darktable 4.4.1.
By the way overlay filesystems are a nice way to test a dev version on #linux without accidentally messing things up or having to manually copy tons of data!
🐞 This bug fix release addresses several crashes related to step debugging, including SPL classes and __call style function calls. All reported by users, thanks!
“If you see a problematic constraint, copy its address from the console and use it to filter in the view debugger. The view debugger will show you the exact constraint in the user interface.”
I don't know if anyone actually does #webdevelopment testing with #GNOME#Web (Epiphany) on #Linux, but if you've found the web inspector to be infuriatingly clunky everytime you open it, these fresh tickets are for you:
Continued #debugging some #Epiphany#WebKitGTK performance issue today, this one about significant CPU usage when idle on any logged-in page on Trello.com, even on #Wayland.
It seems to be spamming the compositor when websites request animation frames even while there's nothing to relayout or repaint. Hopefully optimizing WebKitGTK to handle this would improve perfs / lower #Linux power consumption on other sites too. #opensourcehttps://bugs.webkit.org/show_bug.cgi?id=252545
When debugging a large project in Xcode that a large team works on, the console can get quite busy. Logs are everywhere! It can be difficult to sift through ...
🐧 I booted Linux 292,612 times | rwmj
⎧ So to bisect this I had to run guestfish in a loop until it either hangs or doesn’t. How many times? I chose 10,000 boots as a good threshold. To make this easier I wrote a test harness which uses up to 8 threads and parses the output to detect the hang ⎭ #Linux #Kernel #Debugging https://rwmj.wordpress.com/2023/06/14/i-booted-linux-292612-times/
I've been #debugging a problem for a full day now only to realize that it's caused by case sensitive file names.
Mental note to self: If something works fine on Windows and breaks on Linux, it might be case sensitivity!
🐍 Why and how to hide the Python stack trace
➥ Bite Code!
"Once you ship your software, most of your end users will be better served by replacing the stack trace with some actionable error message in case of a crash.
This means you need to think of the user experience you want for when things go completely wrong"