Help us understand the problem. What is going on with this article?

Play2.0をeclipseでデバッグ

More than 5 years have passed since last update.

ローカルで動作しているPlay2.0アプリを、eclipseでデバッグする方法。

というか、JPDAを利用したデバッグ方法。
JPDAを利用したデバッグ、したこと無かったのでメモがてら。

  • eclipseでplay2.0の対象プロジェクトを右クリックして、「デバッグ」>「デバッグの構成」を選択

  • 「デバッグの構成」ウィンドウの左側のペインから、「リモートJavaアプリケーション」をダブルクリック

  • 右ペインに表示された「接続」タブで、以下を設定
    接続タイプ:ソケット接続
    ポート:9999(Playのデフォルト設定)

  • 右下の「デバッグ」ボタンをクリックしてデバッグ開始。

  • あとはPlayアプリを「play debug run」で起動していれば、ブレークポイントを貼った場所で止まるはず。

参考:http://www.ibm.com/developerworks/jp/opensource/library/os-eclipse-javadebug/

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away