<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dclong2</id>
	<title>Expertiza_Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dclong2"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Dclong2"/>
	<updated>2026-05-31T18:37:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216_F09/Debugging_S&amp;diff=27187</id>
		<title>CSC 216 F09/Debugging S</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_216_F09/Debugging_S&amp;diff=27187"/>
		<updated>2009-11-17T02:08:00Z</updated>

		<summary type="html">&lt;p&gt;Dclong2: /* The problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Step by Step Debugging==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The problem===&lt;br /&gt;
&lt;br /&gt;
This exercise is an intro to debugging.  It focuses on the step over and step into tools in Eclipse.&amp;lt;br&amp;gt;               &lt;br /&gt;
Step Into enters the next method at the line of code currently being executed. to debug it, while Step Over executes the next method without entering it in the user interface.&lt;br /&gt;
The purpose of this exercise is to simulate the process of finding errors in a program using Eclipse's tools.&lt;br /&gt;
The sample program finds the areas of different polygons and polyhedrons.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sample Code:&lt;br /&gt;
 //calculate the surface area of a box&lt;br /&gt;
 transformBox();&lt;br /&gt;
 boxarea=boxArea();&lt;br /&gt;
 System.out.println(&amp;quot;Box Calculated= &amp;quot; +rectanglearea);&lt;br /&gt;
 System.out.println(&amp;quot;Box Expected= &amp;quot; +192);&lt;br /&gt;
&lt;br /&gt;
 public void transformBox(){&lt;br /&gt;
     width=length;              //(Error shown if Show error is clicked) width should equal height&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
===Participants and props===&lt;br /&gt;
&lt;br /&gt;
Step by Step Debugging was created in Flash, using 18 frames and screenshots of Eclipse to show where each step over and step into will lead. &amp;lt;br&amp;gt;&lt;br /&gt;
Anyone can download the file and go through the exercise on their computer.&lt;br /&gt;
&lt;br /&gt;
The flash file [http://www4.ncsu.edu/~dclong2/debug.swf]&lt;br /&gt;
&lt;br /&gt;
Made by David Long, Dustin Geckler, and Parker Beaman&lt;br /&gt;
&lt;br /&gt;
===The script===&lt;br /&gt;
&lt;br /&gt;
Run the flash file.  After hitting debug, you are able to choose step over or step into to examine the code further and find the errors.&lt;/div&gt;</summary>
		<author><name>Dclong2</name></author>
	</entry>
</feed>