Hi:
I've rewritten a standalone app of mine recently (upgrades) and it works like a charm, fast, clean almost beautiful in a way. However, it has started to crash from time to time and it is a very hard bug to find (I guess it could be more than one; I don't know). I wondered if this might be a generally useful enquiry:
Do those who are rather brilliant at bug finding have any techniques beyond the obvious for identifying such problems? (my crashes do not always happen at the same place in my code and most of the time it works flawlessly so finding the cause is very tricky. There is no obvious set of circumstances that causes it. It does not happen after a regular interval. In fact, as far as I can see, there is nothing evidently regular about it.
Also, I'd imagine with enough experience you might have built a "usual suspects" ordered list of the most common causes - somewhere to start one's search.
What's causing mine? No idea. I assume it is some strange set of circumstances that occasionally conspire to cause the problem - it does not appear to be anything as obvious as an errant line of code. I've spent 5+ hours already trying to find this bug. I'm making the same rate of progress as a baby trying to get food in its mouth as opposed to all over its face.
I've rewritten a standalone app of mine recently (upgrades) and it works like a charm, fast, clean almost beautiful in a way. However, it has started to crash from time to time and it is a very hard bug to find (I guess it could be more than one; I don't know). I wondered if this might be a generally useful enquiry:
Do those who are rather brilliant at bug finding have any techniques beyond the obvious for identifying such problems? (my crashes do not always happen at the same place in my code and most of the time it works flawlessly so finding the cause is very tricky. There is no obvious set of circumstances that causes it. It does not happen after a regular interval. In fact, as far as I can see, there is nothing evidently regular about it.
Also, I'd imagine with enough experience you might have built a "usual suspects" ordered list of the most common causes - somewhere to start one's search.
What's causing mine? No idea. I assume it is some strange set of circumstances that occasionally conspire to cause the problem - it does not appear to be anything as obvious as an errant line of code. I've spent 5+ hours already trying to find this bug. I'm making the same rate of progress as a baby trying to get food in its mouth as opposed to all over its face.
Statistics: Posted by bbalmerTotalFluency — Sun Jun 30, 2024 4:15 am