問題タブ [jdwp]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
0 に答える
276 参照

android - Android プロセス用の複数の jdwp ポートの説明

Jdb およびコネクタのソケット タイプを使用してデバッグ対象プロセスに接続する他のデバッガを使用して、Android アプリケーションをデバッグしようとしています。コマンドとアタッチデバッガーを使用adb jdwpして、プロセスのjdwpポートをローカルtcpポートに転送できることを知っています。adb forward tcp:xxx jdwp:yyyyしかし、テスト中に、一部のプロセスが複数の jdwp ポートを返すことに気付きました。だから私の質問は、これらの追加の jdwp ポートが何に対応するのか、または単一のプロセスに対して複数の jdwp ポートがあるのはなぜですか? そして、これらの種類のアプリケーションをデバッグする方法は?

0 投票する
0 に答える
1677 参照

java - JDWP エラー 502 の解決

私は JDI プロジェクトに取り組んでおり、Tomcat サーバーに接続しています。プロジェクトが失敗する原因となるバグがコードにある場合、Tomcat サーバーに接続しているcom.sun.jdi.InternalException: Unexpected JDWP Error: 502ときに、呼び出し時にエラーが発生し始めます。これを解決する唯一の方法は、JDI プロジェクトと tomcat サーバーを再起動することです。プログラムで JDWP コード 502 を解決する別の方法はありますか? 以下の記事の情報に基づいて、接続後に仮想マシンで以前に呼び出されたすべてのメソッドを終了することは可能ですか?

この記事によると、JDPWエラーリストは次のように定義されています。

ALREADY_INVOKING 502 Previous invoke not complete.

0 投票する
1 に答える
1837 参照

java - Remote debugging(NOT localhost) tomcat using eclipse. Connection refused from remote machine

I have started tomcat with jpda option in a remote machine(not localhost). I was not able to access the port. It throws a connection refused. I was able to do this in localhost successfully. Then why not from a remote machine. I am using tomcat 9.X and ubuntu 16.04 and java 8

Edit 1: The JDWP port 8000 listens only to 127.0.0.1. Is it possible to change this? enter image description here