3 ms·
And all bets are off when considering realtime behaviour such as concurrency or fairness. Neither debugger nor logs will help (they change behaviour and reprod
by AstralStorm 10y ago
And all bets are off when considering realtime behaviour such as concurrency or fairness.
Neither debugger nor logs will help (they change behaviour and reproducibility is low) so you have to get to the basics and make a formal review. As in describe the expected algorithm, its preconditions, postconditions and then verify if this contract is met.
- TimJYoung 10y agoYep, know it well, there's a whole class of applications that don't play well with a debugger. But, most developers aren't working on those applications...
- AstralStorm 10y agoMost developers do not worl on user facing concurrent code? Such as user interfaces?
- TimJYoung 10y agoNo, not normally. It's fairly rare, and when it does crop up, it is typically handled with pre-baked solutions that are used to spawn a worker thread/process for the purposes of off-loading work from the main UI thread, with minimal communication with the main UI thread via posted messages.