Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
I don't think there is any good way to do this in JDK 1.4 using the standard libraries. Your best bet is probably to use a debugger, included in most good IDEs. I know you can do this in IntelliJ's debugger, though you need at least one of the threads to hit a break point so you can look at what's going on. It's probably possible in other popular IDEs like Eclipse and Netbeans. Or if you're feeling adventurous you could gfigure out how to use the Java Platform Debugger Architecture more directly yourself.
"I'm not back." - Bill Harding, Twister
Don't listen to Steve. Just read this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss