How To: Java Stack Trace in Linuxどのように: LinuxにおけるJavaのスタックトレース
A simple tip for newbies - how to get Java stack trace, the invaluable tool to debug java programs, in Linux:ためのヒント、簡単な初心者-J avaのスタックトレースを得る方法については、 J avaプログラムをデバッグする貴重なツールは、 L inuxの場合:
- Type the Ctrl key followed by \, in short Ctrl \ . -C trlキーを入力して続いて\ 、要するに、 C trlを押しながら\ 。
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.ただ永続的な問題をデバッグするに使用されることで、サーバープロセスを自動的に取得するサードパーティのサイトからのデータは、どういうわけかつりです。
All of us who used Ctrl-Break on windows for a stack trace, like myself will find this non-intuitive.問い合わせwho使用されるすべてのブレークをWindows Ctrlを押しながら 、スタックトレースは、自分自身は、このような非直感的です。 It took me some time and googling to figure this out, so I decided to (document) blog it once and for all. googlingのかかった時間といくつかのメインアウトを図このため、私を決めた(文書)のblogのすべてのことをきっぱりとします。
Filed under提出されて Headline Newsニュースの見出し , 、 How Toどのように , 、 Java Software Javaソフトウェア , 、 Linuxリナックス , 、 Linux Migration Linuxへの移行 , 、 Open Source Softwareオープンソースのソフトウェア , 、 Programmingプログラミング , 、 Tech Note技術のノート | |
| |
RSS 2.0 RSS 2.0を | |
Trackbackトラックバック this Article |この記事|
Email this Article電子メールこの記事
You may also like to readを読むようにすることも可能 |





February 24th, 2008 at 3:50 am 2008年2月24日の午前9:50
hi there,やあ、
I use jps and jstack utilities in the JDK (java 1.5 and above from sun) to do the above trick.私よりJPSとjstackユーティリティを使用して、 JDK ( Javaの1.5以上で動作する太陽からの)この操作を行うに、上記のトリックです。
If the java process is a daemon then, the jstack technique will work whereas you won’t be able to do the CTRL + \ trick.ジャワの場合、デーモンプロセスは、その後、 jstack技術は仕事をすることはできません一方には、読み上げCTRL + \トリックです。
just my 2 cents.私の2セントだけです。
BR, br 、
~A 〜する
February 24th, 2008 at 4:35 am 2008年2月24日は4:35アム
Thanks for sharing.感謝を共有します。
Take care,注意する、
AngsumanのAngsuman