CSC 216/s08/on good terms

From Expertiza_Wiki
Jump to navigation Jump to search

Eclipse is an open source community whose projects are focused on building an open development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the lifecycle. A large and vibrant ecosystem of major technology vendors, innovative start-ups, universities, research institutions and individuals extend, complement and support the Eclipse platform.[1]

Formatting Resources

Formatting Help Guide from MetaWiki

DEBUGGING IN ECLIPSE FOR DUMMIES!!

This is the Eclipse's logo

The problem

Debugging: to search and eliminate malfunctioning elements or errors

Shotgun debugging : the making of relatively undirected changes to software in the hope that a bug will be perturbed out of existence. This almost never works, and usually introduces more bugs.

Many students have been using shotgun debugging to solve errors in their code. One of the leading benefit in using Eclipse is it's debugging feature.

Our Mission

We will teach students to utilize the debugging feature in Eclipse. Using a test script of code, a user can follow a video and learn some of the features that goes along debugging in Eclipse.

Participants and props



Camtasia Studio 5
Projector

Participants will need Eclipse installed on their computer and have downloaded this package here (the testing code mentioned in the video Code). The video can be watched by clicking here Video.

Common Practices

  *Step Execution
  *Breakpoints
  *Evaluate expressions
  *Scrapbooking live code
  *Hotswap bug fixing

The script

Follow along with the video, using the sample code provided. Should aid students in awareness of debugging benefits when using Eclipse.

Debugging Perspective

  • Two ways of Accessing
  • Introduction to the panes in this view

Three Common Practice

  • Breakpoints
  • Step Execution
  • HotSwap Bug Fixing

Simple Demonstration of Bad Code corrected

  • Load the file
  • Code Objective
  • Start Debugging

References

external resources and links to Eclipse Debugging Tutorial

1.Eclipse Website

2.Debugging with the Eclipse Platform

3.Debugging Java With Eclipse

4.Debugging a Java Program with Eclipse