2 ms·
Using a debugger for testing multi-threaded code is particularly painful. Tests and logs are especially superior in this case because you can make complex asser
by root_axis 8y ago
Using a debugger for testing multi-threaded code is particularly painful. Tests and logs are especially superior in this case because you can make complex assertions that capture emergent behavior of a multi-threaded application. Pausing threads to step through them can often make it harder to observe the behavior you might expect to see when multiple threads are working together in real time.