How do I get the icon for dumping all threads (the snapshot camera icon) on a Tomcat run? It appears for my JUnit run. I tried Ctrl-Break on the Tomcat console but it did nothing.
I want to dump all the threads after I hit the stop button and Tomcat looks like it shuts down, e.g., "Disconnected from server", because my Tomcat JVM stopped actually shutting down. 2 of the remaining 21 Threads are not daemons, and I can't see in jconsole which ones they are, so I want to look at a thread dump. But the snapshot icon never appears when I run Tomcat.
I'm using IDEA 6.0.4, Tomcat 5.5.16, JDK 1.5.0_08, and Windows XP SP2.
I'll try getting the dump some other way, like running Tomcat as an application in IDEA, or running it without IDEA. But it's inconvenient...