jGRASP editor-syncrasies (idiosyncrasies)

Slides:



Advertisements
Similar presentations
Copyright  Oracle Corporation, All rights reserved. 1 Creating an Application: The AppBuilder for Java IDE.
Advertisements

COMPUTER PROGRAMMING I Essential Standard 5.02 Understand Breakpoint, Watch Window, and Try And Catch to Find Errors.
ECE Application Programming
Georgia Institute of Technology DrJava Appendix A Barb Ericson Georgia Institute of Technology May 2006.
BIM313 – Advanced Programming Techniques Debugging 1.
MT311 Tutorial Li Tak Sing( 李德成 ). Uploading your work You need to upload your work for tutorials and assignments at the following site:
The IDE (Integrated Development Environment) provides a DEBUGGER for locating and correcting errors in program logic (logic errors not syntax errors) The.
1 Lab Session-2 CSIT 121 Spring 2005 Debugging Tips NiMo’s Varying Rates Lab-2 Exercise.
Guidelines for working with Microsoft Visual Studio 6.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 Session-4 CSIT 121 Spring 2006 Debugging Tips Lab Work.
1 Gentle Introduction to Programming Tirgul 2: Scala “hands on” in the lab.
DEBUGGERS For CS302 Data Structures Course Slides prepared by TALHA OZ (most of the text is from
Debugging Logic Errors CPS120 Introduction to Computer Science Lecture 6.
Computer Programming and Basic Software Engineering 4. Basic Software Engineering 1 Writing a Good Program 4. Basic Software Engineering.
Debugging Projects Using C++.NET Click with the mouse button to control the flow of the presentation.
Compiling & Debugging Quick tutorial. What is gcc? Gcc is the GNU Project C compiler A command-line program Gcc takes C source files as input Outputs.
CPSC1301 Computer Science 1 Overview of Dr. Java.
Chapter 02 (Part III) Introduction to C++ Programming.
Debugging Visual Basic.NET Programs ► ► Use debugging tools ► ► Set breakpoints and correct mistakes. ► ► Use a Watch and Local window to examine variables.
Debugging Xin Tong. GDB GNU Project debugger Allows you to see what is going on `inside' another program while it executes or crashed. (Faster than printing.
Debuggers in Python. The Debugger Every programming IDE has a tool called a debugger. This application does NOT locate or fix your bugs for you! It slows.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 5.1 Test-Driving the Inventory Application.
Hints on debugging
NETBEANS DEBUGGER.  To create a breakpoint place the cursor at the desired location.  Go to the Run -> toogle line Breakpoint or Ctrl +F8. It creates.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
Debug in Visual Studio Windows Development Fundamentals LESSON 2.5A.
Intro to. Contents These slides describe how one can obtain (download) and use eclipse to build, run, and debug basic Java programs.
An introduction to the debugger And jGrasp editor-syncrasies (ideosyncrasies)
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Debuggers. Errors in Computer Code Errors in computer programs are commonly known as bugs. Three types of errors in computer programs –Syntax errors –Runtime.
1 Using an Integrated Development Environment. Integrated Development Environments An Integrated Development Environment, or IDE, permits you to edit,
DEBUG.
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Chapter 2: The Visual Studio .NET Development Environment
How to debug an application
ECE Application Programming
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Topics: jGRASP editor ideosyncrasies assert debugger.
Computer Programming I
Software Design and Development
Introduction to computers
Testing Key Revision Points.
Using Procedures and Exception Handling
Using Visual Studio with C#
DEBUGGING.
TRANSLATORS AND IDEs Key Revision Points.
IPC144 Introduction to Programming Using C Week 1 – Lesson 2
Debugging with Eclipse
Debuggers.
CIS 470 Mobile App Development
Unit 1: Introduction Lesson 1: PArts of a java program
Comp 110/401 Appendix: Debugging Using Eclipse
Test Automation For Web-Based Applications
Debugging 9/22/15 & 9/23/15 Imagine! Java: Programming Concepts in Context by Frank M. Carrano, (c) Pearson Education - Prentice Hall, 2010.
DEBUGGING JAVA PROGRAMS USING ECLIPSE DEBUGGER
Debugging CSCE 121 J. Michael Moore.
Tonga Institute of Higher Education
Using a Debugger 1-Jan-19.
Debuggers and Debugging
Our Environment We will exercise on Microsoft Visual C++ v.6
Debugging Visual Basic Programs
POS 408 Week 1 Individual Assignment Individual: Console Display Message//tutorfortune.com Click on below link to buy
CIS 470 Mobile App Development
Debugging.
Debugging with Eclipse
Java Coding Environment Installation & Execution guide
Workshop for Programming And Systems Management Teachers
CIS 694/EEC 693 Android Sensor Programming
Presentation transcript:

jGRASP editor-syncrasies (idiosyncrasies) And an introduction to the debugger

The jGRASP editor Problem: Indentation seems to befuddle the jGRASP editor. Solution: Tell jGRASP to use spaces instead of tabs.

before after Check Soft Tabs and set the Tab Size to 4. Click Apply and then OK. Now pressing the tab key will insert 4 spaces (and existing tabs will be converted to 4 space).

The debugger

Using the debugger A primitive way of debugging is to insert print statements. That’s OK but a debugger is much more powerful. It allows us to execute our code one line at a time. It allows us to set breakpoints (stop points) in our code. We can even examine and change the contents of variables as our program runs.

Setting a breakpoint

Breakpoint is now set

Start the debugger Build -> Debug The program then runs and stops at our first breakpoint.

step over step in step out variables (r-click to change value) next line to be executed end debugging