使用eclipse 遠(yuǎn)程調(diào)試java 應(yīng)用程序-------外文翻譯.doc
約19頁(yè)DOC格式手機(jī)打開(kāi)展開(kāi)
使用eclipse 遠(yuǎn)程調(diào)試java 應(yīng)用程序-------外文翻譯,use the power of the eclipse ide to spread around your java application debugginglevel: intermediatecharles lu (charleslu@tw.ibm.com), software engineer, ibm09 ...
內(nèi)容介紹
此文檔由會(huì)員 wanli1988go 發(fā)布
Use the power of the Eclipse IDE to spread around your Java application debugging
Level: Intermediate
Charles Lu (charleslu@tw.ibm.com), Software Engineer, IBM
09 Dec 2008
You don't need to debug Java™ applications on just your local desktop. Learn how to spread around your debugging using different connection types that make up remote debugging. This article explains the features and examples that show how to set up remote application debugging.
Remote debugging can be useful for application development, such as developing a program for a low-end machine that cannot host the development platform, or debugging programs on dedicated machines like Web servers, whose services cannot be shut down. Other examples include Java applications running with limited memory or CPU power, such as mobile devices, or developers wanting to separate the application and development environments, etc.
Prerequisites
Launch-configuration type
A launch configuration keeps a set of attributes that can be used to launch a program. The launch-configuration type is a unique type of program that can be launched in the Eclipse platform.
If you don't have it already, download Eclipse V3.4 (Ganymede). In Ganymede, the socket listening connector has been added to the Remote Java Application launch-configuration type. Eclipse's new socket listening connector allows you to start the Java debugger, which listens for a connection on a specific socket. The program being debugged can then be started with command-line options to connect to the debugger. Prior to the Ganymede release, only a socket-attaching connector was provided, and the program being debugged had to be a debug host that was connected by the debugger. It is impractical for mobile devices to be a host due to insufficient memory and CPU power.
To use remote debugging, Java Virtual Machine (JVM) V5.0 or later must be used, such as IBM® J9 or Sun Microsystems' Java SE Development Kit (JDK). In this article, we focus on remote debugging, rather than detail each of Eclipse's debugging features. See Resources for more information about debugging with Eclipse and where to find the aforementioned software.
利用 Eclipse IDE 的強(qiáng)大功能遠(yuǎn)程調(diào)試 Java 應(yīng)用程序
級(jí)別: 中級(jí)
Charles Lu, 軟件工程師, IBM
2009年12月9日
在本地計(jì)算機(jī)上調(diào)試 Java™ 應(yīng)用程序并不是惟一的選擇。學(xué)習(xí)如何使用構(gòu)成遠(yuǎn)程調(diào)試的不同連接類型進(jìn)行遠(yuǎn)程調(diào)試。本文概述了設(shè)置遠(yuǎn)程應(yīng)用程序調(diào)試的特性和示例。
遠(yuǎn)程調(diào)試對(duì)應(yīng)用程序開(kāi)發(fā)十分有用。例如,為不能托管開(kāi)發(fā)平臺(tái)的低端機(jī)器開(kāi)發(fā)程序,或在專用的機(jī)器上(比如服務(wù)不能中斷的 Web 服務(wù)器)調(diào)試程序。其他情況包括:運(yùn)行在內(nèi)存小或 CUP 性能低的設(shè)備上的 Java 應(yīng)用程序(比如移動(dòng)設(shè)備),或者開(kāi)發(fā)人員想要將應(yīng)用程序和開(kāi)發(fā)環(huán)境分開(kāi),等等。
先決條件
啟動(dòng)配置類型
啟動(dòng)配置 保存一組用于啟動(dòng)程序的屬性。啟動(dòng)配置類型是一種可以在 Eclipse 平臺(tái)上啟動(dòng)的獨(dú)特程序。
如果您還沒(méi)安裝該程序,請(qǐng)下載 Eclipse V3.4(Ganymede)。在 Ganymede 中,套接字(socket)監(jiān)聽(tīng)連接器被添加到 Remote Java Application 啟動(dòng)配置類型。Eclipse 最新的套接字監(jiān)聽(tīng)連接器允許您打開(kāi) Java 調(diào)試器,它能夠監(jiān)聽(tīng)特定套接字上的連接??梢詮拿钚羞x項(xiàng)打開(kāi)被調(diào)試的程序,并將其連接到調(diào)試器。在 Ganymede 發(fā)布之前,僅有一個(gè)連接套接字的連接器,被調(diào)試的程序所在的機(jī)器必須是一個(gè)與調(diào)試器相連的調(diào)試主機(jī)。由于受到內(nèi)存和 CPU 不足的限制,要想讓移動(dòng)設(shè)備充當(dāng)主機(jī)是不現(xiàn)實(shí)的。
為了進(jìn)行遠(yuǎn)程調(diào)試,必須使用 Java Virtual Machine (JVM) V5.0 或更新版本,比如 IBM® J9 或 Sun Microsystem 的 Java SE Development Kit(JDK)。本文主要討論遠(yuǎn)程調(diào)試,而不是每個(gè) Eclipse 調(diào)試特性的細(xì)節(jié)。查看 參考資料 獲得更多關(guān)于使用 Eclipse 進(jìn)行調(diào)試的信息,并且可以找到上面提到的軟件。
Level: Intermediate
Charles Lu (charleslu@tw.ibm.com), Software Engineer, IBM
09 Dec 2008
You don't need to debug Java™ applications on just your local desktop. Learn how to spread around your debugging using different connection types that make up remote debugging. This article explains the features and examples that show how to set up remote application debugging.
Remote debugging can be useful for application development, such as developing a program for a low-end machine that cannot host the development platform, or debugging programs on dedicated machines like Web servers, whose services cannot be shut down. Other examples include Java applications running with limited memory or CPU power, such as mobile devices, or developers wanting to separate the application and development environments, etc.
Prerequisites
Launch-configuration type
A launch configuration keeps a set of attributes that can be used to launch a program. The launch-configuration type is a unique type of program that can be launched in the Eclipse platform.
If you don't have it already, download Eclipse V3.4 (Ganymede). In Ganymede, the socket listening connector has been added to the Remote Java Application launch-configuration type. Eclipse's new socket listening connector allows you to start the Java debugger, which listens for a connection on a specific socket. The program being debugged can then be started with command-line options to connect to the debugger. Prior to the Ganymede release, only a socket-attaching connector was provided, and the program being debugged had to be a debug host that was connected by the debugger. It is impractical for mobile devices to be a host due to insufficient memory and CPU power.
To use remote debugging, Java Virtual Machine (JVM) V5.0 or later must be used, such as IBM® J9 or Sun Microsystems' Java SE Development Kit (JDK). In this article, we focus on remote debugging, rather than detail each of Eclipse's debugging features. See Resources for more information about debugging with Eclipse and where to find the aforementioned software.
利用 Eclipse IDE 的強(qiáng)大功能遠(yuǎn)程調(diào)試 Java 應(yīng)用程序
級(jí)別: 中級(jí)
Charles Lu, 軟件工程師, IBM
2009年12月9日
在本地計(jì)算機(jī)上調(diào)試 Java™ 應(yīng)用程序并不是惟一的選擇。學(xué)習(xí)如何使用構(gòu)成遠(yuǎn)程調(diào)試的不同連接類型進(jìn)行遠(yuǎn)程調(diào)試。本文概述了設(shè)置遠(yuǎn)程應(yīng)用程序調(diào)試的特性和示例。
遠(yuǎn)程調(diào)試對(duì)應(yīng)用程序開(kāi)發(fā)十分有用。例如,為不能托管開(kāi)發(fā)平臺(tái)的低端機(jī)器開(kāi)發(fā)程序,或在專用的機(jī)器上(比如服務(wù)不能中斷的 Web 服務(wù)器)調(diào)試程序。其他情況包括:運(yùn)行在內(nèi)存小或 CUP 性能低的設(shè)備上的 Java 應(yīng)用程序(比如移動(dòng)設(shè)備),或者開(kāi)發(fā)人員想要將應(yīng)用程序和開(kāi)發(fā)環(huán)境分開(kāi),等等。
先決條件
啟動(dòng)配置類型
啟動(dòng)配置 保存一組用于啟動(dòng)程序的屬性。啟動(dòng)配置類型是一種可以在 Eclipse 平臺(tái)上啟動(dòng)的獨(dú)特程序。
如果您還沒(méi)安裝該程序,請(qǐng)下載 Eclipse V3.4(Ganymede)。在 Ganymede 中,套接字(socket)監(jiān)聽(tīng)連接器被添加到 Remote Java Application 啟動(dòng)配置類型。Eclipse 最新的套接字監(jiān)聽(tīng)連接器允許您打開(kāi) Java 調(diào)試器,它能夠監(jiān)聽(tīng)特定套接字上的連接??梢詮拿钚羞x項(xiàng)打開(kāi)被調(diào)試的程序,并將其連接到調(diào)試器。在 Ganymede 發(fā)布之前,僅有一個(gè)連接套接字的連接器,被調(diào)試的程序所在的機(jī)器必須是一個(gè)與調(diào)試器相連的調(diào)試主機(jī)。由于受到內(nèi)存和 CPU 不足的限制,要想讓移動(dòng)設(shè)備充當(dāng)主機(jī)是不現(xiàn)實(shí)的。
為了進(jìn)行遠(yuǎn)程調(diào)試,必須使用 Java Virtual Machine (JVM) V5.0 或更新版本,比如 IBM® J9 或 Sun Microsystem 的 Java SE Development Kit(JDK)。本文主要討論遠(yuǎn)程調(diào)試,而不是每個(gè) Eclipse 調(diào)試特性的細(xì)節(jié)。查看 參考資料 獲得更多關(guān)于使用 Eclipse 進(jìn)行調(diào)試的信息,并且可以找到上面提到的軟件。
TA們正在看...
- qsy.j2.09.01-2010安全保護(hù)裝置(安全帶譆@.pdf
- qsy1112-2012氣溶膠滅火系統(tǒng)技術(shù)規(guī)范.pdf
- qsycq2009-40油田井場(chǎng)及增壓點(diǎn)數(shù)字化工程建設(shè)監(jiān)理...pdf
- qsy1176-2009原油管道工藝控制通用技術(shù)規(guī)定.pdf
- qsy1179-2009成品油管道工藝控制通用技術(shù)規(guī)定.pdf
- qsy1179-2009成品油管道工藝控制通用技術(shù)規(guī)定.pdf
- qsy1176-2009原油管道工藝控制通用技術(shù)規(guī)定.pdf
- qsyx0001s-2014石屏縣源鑫肉禽食品加工廠冷凍腌臘...pdf
- qsycq2009-40油田井場(chǎng)及增壓點(diǎn)數(shù)字化工程建設(shè)監(jiān)理...pdf
- 郵件運(yùn)輸車技術(shù)條件qct24-92.doc