CSC 216/s08/on good terms: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
 
(53 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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.[[http://eclipse.org 1]]
===Formatting Resources===
===Formatting Resources===
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]
[http://meta.wikimedia.org/wiki/Help:Wikitext_examples Formatting Help Guide from MetaWiki]


 
==DEBUGGING IN ECLIPSE FOR DUMMIES!!==
 
[[Image:Eclipse-logo.png|frame|This is the Eclipse's logo]]
==DEBUGGING IN ECLIPSE==
 


===The problem===
===The problem===


debugging: to search and eliminate malfunctioning elements or errors
''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.  
''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.
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.
Line 20: Line 20:
===Participants and props===
===Participants and props===


3 students
----
Camtasia Studio 5
 
<br>[http://www.download.com/Camtasia-Studio/3000-13633_4-10665109.html?cdlpid=10753215 Camtasia Studio 5 ]
<br>Projector
 
Participants will need Eclipse installed on their computer and have downloaded this package here (the testing code mentioned in the video [http://courses.ncsu.edu/csc216/lec/001/video/1/g1/ArrayExercises.java Code]). The video can be watched by clicking here  [http://people.engr.ncsu.edu/efg/216/s08/video/1/g1/Debugging.swf Video].
 
===Common Practices===
  *Step Execution
  *Breakpoints
  *Evaluate expressions
  *Scrapbooking live code
  *Hotswap bug fixing


===The script===
===The script===


Follow along with the video, using the sample code provided.
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.[http://eclipse.org Eclipse Website]
 
2.[http://www.ibm.com/developerworks/library/os-ecbug/ Debugging with the Eclipse Platform]
 
3.[http://bill.dudney.net/roller/bill/resource/debugging.pdf Debugging Java With Eclipse]
 
4.[http://www.developer.com/java/other/article.php/10936_2221711_2 Debugging a Java Program with Eclipse]

Latest revision as of 19:05, 6 November 2008

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