If it's really hanging, you could use winedbg and the btall command to see the stack at the deadlock. You might also try some WINEDEBUG flag, like +file, +seh, or +relay, to see what it's doing when it seems to hang. As you pointed out, debugging a huge program like this is not easy.