▲ | burnt-resistor 5 days ago | |||||||
No, wrong. Totally wrong. You're changing the conditions that prevent accurate measurement without modification. This is where you use proper tools like an In-Circuit Emulator (ICE) or its equivalent. | ||||||||
▲ | branko_d 4 days ago | parent [-] | |||||||
I think you have a specific class of race conditions in mind where tight control of the hardware is desirable or even possible. But what to do if you have a race condition in a database stored procedure? Or in a GUI rendering code? Even web applications can experience race conditions in spite of being "single-threaded", thanks to fetches and other asynchronous operations. I never heard of somebody using ICE in these cases, nor can I imagine how it could be used - please enlighten me if I'm missing something... > You're changing the conditions that prevent accurate measurement without modification. Yes, but if the race condition is course-enough, like it often is in above cases, adding print/logging may not change the timings enough to hide the race. | ||||||||
|