Xdebug, to php

🎉 Xdebug 3.3.1 Released!

🐞 This is a bug fix release that addresses a number of crashes in the develop mode, and malfunctioning features with the step debugger.

🔗 https://xdebug.org/announcements/2023-12-14

🆕 To sponsor my work on maintaining Xdebug, and adding more features: https://xdebug.org/support

🐘 @Xdebug

derickr, to php
@derickr@phpc.social avatar

This week has been a "find one bug, fix one bug, find another bug" kinda week in @Xdebug land. I'm now on the 5th one, I think.

#php #debugging #xdebug

beejjorgensen, to programming
@beejjorgensen@mastodon.sdf.org avatar

This looks like a pretty impressive time-travel debugger for Rust.

https://firedbg.sea-ql.org/blog/2023-12-12-introducing-firedbg/

#programming #rustlang #debugging #debuggers

osman, to programming
@osman@hachyderm.io avatar
alvinashcraft, to dotnet
@alvinashcraft@hachyderm.io avatar
fosstian, to random
@fosstian@fosstodon.org avatar

Spent some time wrestling with #cPlusPlus and #debugging in #gdb to give #ledgerCLI the ability to cope with the UK's mad tax year. I blame Henry VIII 👑

https://galagic.com/post/20231201155114/hacking-on-a-ledger/

projectgus, to rust
@projectgus@aus.social avatar

Excellent debugging blog post, getting to the bottom of why Rust std::fs is slower than Python in a simple benchmark[*] https://xuanwo.io/2023/04-rust-std-fs-slower-than-python/

[*] On some hardware

#rustlang #debugging

poppastring, to vscode
@poppastring@dotnet.social avatar
poppastring, to VisualStudio
@poppastring@dotnet.social avatar
jens, to random
@jens@social.finkhaeuser.de avatar

Been playing around with @forgejo actions the last few days, because that seems to open up some possibilities (running our own runners, etc), but dear Cthulhu the workflow syntax is half baked compared to Woodpecker/Drone.

That wasn't great, but it was better than GitLab's syntax, which was way worse than Travis.

Makes me sad once more that Travis got taken over by some years back and made life so much worse for the fine folk I met from there.

And debugging actions? Hell.

earlwarren,
@earlwarren@mastodon.online avatar

@jens @forgejo I don't use ACT but forgejo-runner exec from the CLI, which is roughly the equivalent, as explained in the documentation.

https://forgejo.org/docs/v1.21/user/actions/#debugging-workflows

nucliweb, to random
@nucliweb@webperf.social avatar

67 Weird Debugging Tricks Your Browser Doesn't Want You to Know

https://alan.norbauer.com/articles/browser-debugging-tricks

#DevTools #Debugging

kkarhan, (edited ) to linux

:boost_ok: :boost_requested: :boost_animated:
OS/1337 development goes on...

Tho I'm a bit stuck on the boot pipeline...

Anyone any idea why?

#Linux #OS1337 #embedded #syslinux #Floppinux #EmbeddedLinux #toybox #boot #i486 #ix86 #OpenSource #development #Software

kkarhan,
kzimmermann, to firefox
@kzimmermann@fosstodon.org avatar

Disappointed to see that is still broken on arm64 (on 4). It was working so well on 13.1, and now it segfaults and dumps the core upon launch, unable to launch any pages.

The worst part is that Firefox is the only modern browser packaged for that architecture, meaning that even if I bit the bullet to use (barf) Chromium, it's not there in the repositories.

And to think that FreeBSD once was the best OS on the Pi for me. Now it's basically useless :(

kzimmermann,
@kzimmermann@fosstodon.org avatar

@gabrielesvelto btw found this PDF that seems to be dealing with the subject somehow. Maybe a starting point?

https://freebsdfoundation.org/wp-content/uploads/2019/05/Debugging-with-GDB-on-FreeBSD.pdf

#FreeBSD #debugging

SenseException, to php German
@SenseException@phpc.social avatar

Debugging evolution? #php #debugging

keen456, to linux

https://shane.ai/posts/backtraces-with-strace/ This is very cool- "strace --stack-traces" will print the stack trace that resulted in the system call. #linux #debugging #strace #tips

amadeus, to bitwig
@amadeus@mstdn.social avatar

I wonder what #ardour is doing different to #bitwig in terms of their #flatpak builds. I noticed that some #plugins run just fine in Ardour while Bitwig Studio reports problems with reading metadata or glibc version conflicts. 🙄️ #sandboxing #debugging #daw #linuxdaw

jonny, (edited ) to random
@jonny@neuromatch.social avatar

Helping someone debug something, said they asked chatgpt about what a series of bit shift operations were doing. He thought it was actually evaluating the code, yno like it presents itself as doing. Instead its example was a) not the code he put in, with b) incorrect annotations, and c) even more incorrect sample outputs. Has been doing this all day and had just started considering maybe chatGPT was wrong.

I was like first of all never do that again, and explained how chatGPT wasnt doing anything like what he thought it was doing. We spent 2 minutes isolating that code, printing out the bit string after each operation, and he immediately understood what was going on.

I fucking hate these LLMs. Empowerment is learning how to figure things out, how to make tools for yourself and how to debug problems. These things are worse than disempowering, teaching people to be dependent on something that teaches them bullshit.

Edit: too many ppl reading this as "this person bad at programming" - not what I meant. Criticism is of deceptive presentation of LLMs.

knutson_brain,
@knutson_brain@sfba.social avatar
snacktraces, to random
@snacktraces@hachyderm.io avatar

Senior programming tip*:

If you are trying to debug an algorithm, extract it out into a separate program.

Sometimes it is easier to debug outside of the application or system overhead.

Reducing the problem down to its simplest form removes any external uncertainty.

#Debugging #SoftwareDevelopment

  • tip from a senior level dev to anyone at any experience level
gest01, to fedora
alexelcu, to random
@alexelcu@social.alexn.org avatar

#Debugging is a learned skill, as people go into investigating issues w/ too many assumptions.

Pro-Tip: double-check everything (e.g., don't just assume that the app is loading a config from the right path).

#op

amadeus, (edited ) to Musicproduction
@amadeus@mstdn.social avatar

Would you prefer for on to be distributed as ? Actually, I would.
Would also be easier to keep them up-to-date. And, no more files and folders scattered all over my home folder. 😅️

amadeus, (edited )
@amadeus@mstdn.social avatar

@x42 @ercanbrack 4/5 Since I help with their for I found the idea appealing that they could simply offer their plugins via with less worries.
Because what they don't want (and what often even keeps them from supporting Linux) are OS-specific problems (e.g. runs on , not on etc.). They are usually downright afraid of and the associated support effort. 🤯️

ljrk, to random
@ljrk@todon.eu avatar

Why do #GDB hardware watch points pretty much never trigger?

I watch the variable, I continue execution, it segfaults and the variable has changed in the meantime. :-(

ljrk,
@ljrk@todon.eu avatar

Abolish #debuggers, embrace #printf #debugging

fell, to gamedev
@fell@ma.fellr.net avatar

Oh man, let me tell you a #GameDev story...

Last night, I received a task to investigate a massive #performance regression in certain parts of the game.

So today I began investigating and ran the latest build on my 4 testing machines. And indeed, the machines that had an #Intel #GPU only achieved ~10% of the FPS they usually had. "Oh no!" I thought, and spent all day profiling and disabling various engine features, but no matter what I did, the performance didn't improve much.

And then I found it. Those Intel machines still had #Mesa DLLs in their build directories from the last time I was investigating a graphics driver issue. Which means they have been using a #software implementation of #OpenGL all this time! :drgn_stare:

I removed the DLLs and the performance returned to normal.

And now I'm back to square one, unable to reproduce the performance issue. :drgn_weary_sob:

#GameDevelopment #GameProgranming #programming #debugging #gaming

Xdebug, to php

🎉 Xdebug 3.3.0alpha3 Released!

🔥 This alpha release introduces flamegraphs and the step debugger optimisations that @derickr wrote about.

🔗 https://xdebug.org/announcements/2023-10-19

🐘 @Xdebug

cincura_net, to dotnet
@cincura_net@mas.to avatar

Blogged: Mastering asynchronous code, threading and parallelism workshop and .NET DeveloperDays 2023

https://www.tabsoverspaces.com/id/233928

#dotnet #visualstudio #debugging #async #threads

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • osvaldo12
  • DreamBathrooms
  • mdbf
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • everett
  • thenastyranch
  • Youngstown
  • slotface
  • cisconetworking
  • kavyap
  • ethstaker
  • JUstTest
  • modclub
  • GTA5RPClips
  • khanakhh
  • tacticalgear
  • Durango
  • rosin
  • normalnudes
  • Leos
  • provamag3
  • tester
  • cubers
  • anitta
  • lostlight
  • All magazines