University of Sydney_COMP5214_Java_2012 Semester 2
COMP5214 Software Development in Java
SUPPLEMENT (2)
SUPPLEMENT – ECLIPSE TUTORIAL (2)
It is normal to make many mistakes as you write programs. Debugging is a cyclic process of editing, compiling, and fixing errors.
“As soon as we started programming, we found out to our surprise that it wasn't as easy to get programs right as we had thought. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs.”
- Maurice Wilkes
This tutorial will help you to become familiar with debugger

utility of Eclipse, including setting breakpoints and watching the values stored in variables.
1. Setting Breakpoints
The debugger executes every line until it encounters a breakpoint, and the execution of your program will pause at a breakpoint. You can trace the part of the program at the breakpoint. Using the breakpoint, you can skip over the sections work correctly and only focus on the sections may cause problems. Run Toggle Line Breakpoint (Figure 1).
Figure 1: set a breakpoint
COMP5214_Java_2012 Semester 2_Tutorial2__电脑基础知识_IT/计算机_专业资料。...{ i++; } } LABORATORY EXERCISES NOTE on Eclipse When there are multiple...
cocos2d-x2.2+eclipse的环境配置(不用cygwin)_计算机软件及应用_IT/计算机_专业...//download.oracle.com/otn-pub/java/jdk/7u25-b17/jdk-7u25-windows-x64...
Eclipse的提示和技巧 2(eclipse的更新和安装插件)_计算机软件及应用_IT/计算机_专业资料。安装插件有两种方式,第一种是在线安装,一种是 Link 关联的. 第一种方式...
不是所有的 ECLIPSE 输出都有所有这些选项,只有 restart 重启文件和 summary 文件可以选择是一个独立的输出文件或是多个输出文件。只有除 .PRT、.LOG、.RSM 和....
Java EE复习知识点-配合教材《Java EE实用教程 - 基于WebLogic和Eclipse(第二版)》及SSH入门2_理学_高等教育_教育专区。Java EE复习知识点Java...
Eclipse RCP(四) 常用技术(2) 进阶开发 Version 1.0 周甫(zoofchow@hotmail.com) 课程介绍 ? ? ? 本课程主要讲授Eclipse及RCP进阶知识适用于Java开发工程师 ...
一、准备工作: (1)Java JDK 下载: 进入该网页: http://java.sun.com/javase/downloads/index.jsp(点击 JDK 下的 DOWNLOAD)如下图: (2)Eclipse Juno(4.2...
COMP5045_Computational Geometry_2014 Semester 1_Lecture8-PointLocation(2)_电脑基础知识_IT/计算机_专业资料。University of Sydney_COMP5045_Computational Geometry...
nutch1.2 eclipse tomcat6.0 配置 (终于全部成功了)_计算机软件及应用_IT/计算机...(来自apache http://lucene.apache.org/nutch/tutorial8.html ): crawl_...
Eclipse配置Weblogic7(2)_IT/计算机_专业资料。Eclipse 配置 Weblogic7.x,Weblogic8.x 进行断点调试准备工作: ? ? ? Eclipse SDK2.0 或更高版本 WebLogic Ser...
热门文档