• No results found

How do you program NOW ?

N/A
N/A
Protected

Academic year: 2022

Share "How do you program NOW ?"

Copied!
44
0
0

Loading.... (view fulltext now)

Full text

(1)

An Introduction to Eclipse

Harsh Jain

Department of Computer Science IIT Bombay

17 March 2005

Harsh Jain Java Lecture

(2)

Outline

1 The Need for Eclipse ? What’s Now

What will change ?

2 Starting Off With Eclipse Let us take off

Making your first Program

3 Debugging In Eclipse Basics of Debugging

(3)

How do you program NOW ?

Editing Compiling Re Editing Repeat Ok running Again repeat Well success

Harsh Jain Java Lecture

(4)

How do you program NOW ?

Editing Compiling Re Editing Repeat Ok running Again repeat Well success

(5)

How do you program NOW ?

Editing Compiling Re Editing Repeat Ok running Again repeat Well success

Harsh Jain Java Lecture

(6)

How do you program NOW ?

Editing Compiling Re Editing Repeat Ok running Again repeat Well success

(7)

How do you program NOW ?

Editing Compiling Re Editing Repeat Ok running Again repeat Well success

Harsh Jain Java Lecture

(8)

How do you program NOW ?

Editing Compiling Re Editing Repeat Ok running Again repeat Well success

(9)

How do you program NOW ?

Editing Compiling Re Editing Repeat Ok running Again repeat Well success

Harsh Jain Java Lecture

(10)

How do you program NOW ?

Editing Compiling Re Editing Repeat Ok running Again repeat Well success

(11)

Is that it ?

In case you get out there are more issues . . . Reusability

Code Maintainance Documentation Etc Etc

Harsh Jain Java Lecture

(12)

Outline

1 The Need for Eclipse ? What’s Now

What will change ?

2 Starting Off With Eclipse Let us take off

Making your first Program

3 Debugging In Eclipse Basics of Debugging

(13)

How will you program in Eclipse ?

Editing . . . with help from Eclipse Running

Debugging Running

Harsh Jain Java Lecture

(14)

How will you program in Eclipse ?

Editing . . . with help from Eclipse Running

Debugging Running

(15)

How will you program in Eclipse ?

Editing . . . with help from Eclipse Running

Debugging Running

Harsh Jain Java Lecture

(16)

How will you program in Eclipse ?

Editing . . . with help from Eclipse Running

Debugging Running

(17)

Outline

1 The Need for Eclipse ? What’s Now

What will change ?

2 Starting Off With Eclipse Let us take off

Making your first Program

3 Debugging In Eclipse Basics of Debugging

Harsh Jain Java Lecture

(18)

Installation

Download Eclipse from www.eclipse.org. Unzip the zip file.

Installed

(19)

Installation

Download Eclipse from www.eclipse.org. Unzip the zip file.

Installed

Harsh Jain Java Lecture

(20)

A One Time Setup

Workspace Understanding Perspective Understanding Views Understanding

(21)

A One Time Setup

Workspace Understanding Perspective Understanding Views Understanding

Harsh Jain Java Lecture

(22)

A One Time Setup

Workspace Understanding Perspective Understanding Views Understanding

(23)

A One Time Setup

Workspace Understanding Perspective Understanding Views Understanding

Harsh Jain Java Lecture

(24)

Outline

1 The Need for Eclipse ? What’s Now

What will change ?

2 Starting Off With Eclipse Let us take off

Making your first Program

3 Debugging In Eclipse Basics of Debugging

(25)

Writing the First Program

SpecificationsTake a Word as input and print some syntactic details i.e number of letters and number of spaces in the word.

Content Assist

Java is not about learning big functions names. Its about using them and using them well. Let eclipse do the learning part and we do the using part

Harsh Jain Java Lecture

(26)

Writing the First Program

Specifications Take a Word as input and print some syntactic details i.e number of letters and number of spaces in the word.

Content Assist

Java is not about learning big functions names. Its about using them and using them well. Let eclipse do the learning part and we do the using part

(27)

Writing the First Program

Specifications Take a Word as input and print some syntactic details i.e number of letters and number of spaces in the word.

Content Assist

Java is not about learning big functions names. Its about using them and using them well. Let eclipse do the learning part and we do the using part

Harsh Jain Java Lecture

(28)

Writing the First Program

Specifications Take a Word as input and print some syntactic details i.e number of letters and number of spaces in the word.

Content Assist

Java is not about learning big functions names. Its about using them and using them well. Let eclipse do the learning part and we do the using part

(29)

Writing the First Program

Specifications Take a Word as input and print some syntactic details i.e number of letters and number of spaces in the word.

Content Assist

Java is not about learning big functions names. Its about using them and using them well.Let eclipse do the learning part and we do the using part

Harsh Jain Java Lecture

(30)

Writing the First Program

Specifications Take a Word as input and print some syntactic details i.e number of letters and number of spaces in the word.

Content Assist

Java is not about learning big functions names. Its about using them and using them well. Let eclipse do the learning part and we do the using part

(31)

Is there a ?

Well there should be. How can we make a program without compiling it ?

Eclipse was doing it all the time Lets run it now

Harsh Jain Java Lecture

(32)

Is there a ?

Well there should be. How can we make a program without compiling it ?

Eclipse was doing it all the time Lets run it now

(33)

Is there a ?

Well there should be. How can we make a program without compiling it ?

Eclipse was doing it all the time Lets run it now

Harsh Jain Java Lecture

(34)

2 Mins Break

Questions

(35)

Outline

1 The Need for Eclipse ? What’s Now

What will change ?

2 Starting Off With Eclipse Let us take off

Making your first Program

3 Debugging In Eclipse Basics of Debugging

Harsh Jain Java Lecture

(36)

Breakpoints

Breakpoints are like speedbreakers or pause buttons. You can pause your code at many places using breakpoints. Put them judiciously to debug fast. It comes with practice.

(37)

Breakpoints

Breakpoints are like speedbreakers or pause buttons. You can pause your code at many places using breakpoints. Put them judiciously to debug fast. It comes with practice.

Harsh Jain Java Lecture

(38)

Variables

What we are concerned is the value of variables at breakpoints.

If we see anything wrong we can fix things fast (with practice).

(39)

Variables

What we are concerned is the value of variables at breakpoints.

If we see anything wrong we can fix things fast(with practice).

Harsh Jain Java Lecture

(40)

Variables

What we are concerned is the value of variables at breakpoints.

If we see anything wrong we can fix things fast (with practice).

(41)

The End

The only purpose of Eclipse is to increase the efficiency.

Programmers should spend less time repeating stuff.

Programmers should spend less time re writing code and debugging.

And its fun ofcourse :) Questions Please

Harsh Jain Java Lecture

(42)

The End

The only purpose of Eclipse is to increase the efficiency.

Programmers should spend less time repeating stuff.

Programmers should spend less time re writing code and debugging.

And its fun ofcourse :) Questions Please

(43)

The End

The only purpose of Eclipse is to increase the efficiency.

Programmers should spend less time repeating stuff.

Programmers should spend less time re writing code and debugging.

And its fun ofcourse :) Questions Please

Harsh Jain Java Lecture

(44)

The End

The only purpose of Eclipse is to increase the efficiency.

Programmers should spend less time repeating stuff.

Programmers should spend less time re writing code and debugging.

And its fun ofcourse :) Questions Please

References

Related documents

→ we first need to learn word-level translation probabilities That is the task of word alignment.. Given a parallel sentence pair, find word

 Mitesh Khapra, Sapan Shah, Piyush Kedia and Pushpak Bhattacharyya, Domain-Specific Word Sense Disambiguation Combining Corpus Based and Wordnet Based Parameters, 5th

Microsoft Word or MS-WORD (often called Word) is a graphical word processing program that users can type with.. It is made by

Make a new word by adding a single consonant sound (of one or more letters) to the beginning, middle or end of the word and write it on the next strip of the cone.. Go on adding

Several shapes like square, rectangle, star, arrows etc. can be selected from the shapes menu and inserted in the document by a click of mouse. When a picture or shape is inserted,

Harmonization of requirements of national legislation on international road transport, including requirements for vehicles and road infrastructure ..... Promoting the implementation

The filter details such as the required channel spacing for a selected standard, passband edge, stopband edge, input sampling frequency, OSR, number of stages and type

In case your Central Excise or Service Tax registration does not have a valid Income Tax PAN number , you need to obtain the PAN number and update your registration details on to