WebLogic 8 Remote Debugging
1.在 \user_projects\domains\mydomain\startWebLogic.cmd 裡加入下列 config:引用
set JAVA_OPTIONS=-Xdebug -Xrunjdwp:transport=dt_socket,address=7099,server=y,suspend=n
2.在 Eclipse 裡, Debug Configurations 裡, 增加一個 Remote Java Application. prot 使用上面 address 的 value 即可.
3. 執行 startWebLogic.cmd
4. 在 Eclipse 內設定中斷點, 執行該 remote debug.
页:
[1]