Multithreaded debugging