Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
benj8831yWish you luck!
My first place with hard to reproduce bugs is suspecting a race condition.
I second adding more logging, but that logging can be made so you can see in what order things happen in your program.
I’ve also seen bugs that are hard to reproduce due to memory leaks in Electron! 🤦♂️
Monitor the health of the system where the bug is showing up (cpu/memory/network usage) in case there’s a correlation (in my case the OS was killing my app because it was using 90% of the system memory and increasing) -
@horus fab list - particularly trying to capture the bug in a characterisation test
-
Try to isolate the part of the code that « may be » buggy
Add some logs and wait for it to happen again.
Lay down and think about the datastreams
Read logs, check if u had a catch, otherwise, add more logs.
Had this on an android app that only crash of some samsungs galaxies of certain android version. Without even a warning on other devices.
Ended up a problem with permission specific to galaxy’s phones that doesn’t allow user to store on sdcard.
being asked to fix a bug that cannot be reproduced consistently
rant