How To: Java Stack Trace in Linux Cómo: Stack Trace Java en Linux
A simple tip for newbies - how to get Java stack trace, the invaluable tool to debug java programs, in Linux: Un simple consejo para novatos - cómo conseguir Java pila de traza, la valiosa herramienta para depurar programas de java, en Linux:
- Type the Ctrl key followed by \, in short Ctrl \ . -- Tipo de la tecla Ctrl seguida por \, en definitiva Ctrl \.
I just used it to debug a persistent problem where a server process which automatically fetches data from a third-party site was inexplicably hanging. Acabo utilizado para depurar un problema persistente en que un proceso de servidor que automáticamente obtiene los datos de un tercero sitio fue inexplicablemente colgado.
All of us who used Ctrl-Break on windows for a stack trace, like myself will find this non-intuitive. Todos nosotros que utiliza Ctrl-Break en las ventanas de una pila de rastrear, como yo se encuentra este no intuitivo. It took me some time and googling to figure this out, so I decided to (document) blog it once and for all. Me llevó algún tiempo y Google a esta cifra, así que decidí (documento) blog que de una vez por todas.
Filed under Filed under Headline News Headline News , How To Cómo , Java Software El software de Java , Linux , Linux Migration La migración Linux , Open Source Software Open Source Software , Programming Programación , Tech Note Nota técnica | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | este artículo |
Email this Article Enviar artículo
You may also like to read También puede leer |




February 24th, 2008 at 3:50 am 24 de febrero de 2008 a 3:50 am
hi there, Hola,
I use jps and jstack utilities in the JDK (java 1.5 and above from sun) to do the above trick. Yo uso los jueces de paz y jstack los servicios públicos en el JDK (Java 1,5 y por encima de sol) para realizar el truco anterior.
If the java process is a daemon then, the jstack technique will work whereas you won’t be able to do the CTRL + \ trick. Si el proceso de java es un demonio entonces, la técnica jstack trabajo que usted no será capaz de hacer el CTRL + \ truco.
just my 2 cents. sólo mis 2 centavos.
BR,
~A ~ A
February 24th, 2008 at 4:35 am 24 de febrero de 2008 a 4:35 am
Thanks for sharing. Gracias por compartir.
Take care, Ten cuidado,
Angsuman