Cirata Interview Question

How to debug certain multi-threading issues?