Top Banner
www.joomlatools.org Joomla! is a registered trademark of Open Source Matters, Inc. Using Eclipse as IDE A quick introduction to the Eclipse project Joomladay NL, April 2008
15

Joomladay NL 2008 - Debugging Joomla! in Eclipse

May 18, 2015

Download

Technology

Joomlatools

An introduction to the Eclipse project, and how to debug Joomla! applications using Xdebug.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

Using Eclipse as IDEA quick introduction to the Eclipse project

Joomladay NL, April 2008

Page 2: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

Laurens Vandeput

Eclipse! Project Member

•ATF Committer

Joomlatools Project Member

• Software developer• SITEman lead developer

http://www.eclipse.org http://www.joomlatools.org

Joomladay NL, April 2008

Page 3: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

EclipseAn open development platform

Joomladay NL, April 2008

Page 4: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

Eclipse – An open development platform

• Open source community

• 60 open source projects

- Enterprise development

- Embedded and device development

- RCP

- RIA

- ...

Joomladay NL, April 2008

Page 5: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

Eclipse – An open development platform

• Supported by an ecosystem of major IT solution

providers, start-ups, universities, ...

• We build the tool to build tools

• Eclipse Public License (EPL)

Joomladay NL, April 2008

Page 6: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

There are three kind of lies:lies, damn lies, and statistics.

Joomladay NL, April 2008

– Benjamin Disraeli

Page 7: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

Eclipse – by the numbers

• Java source files: 9.689

• Lines of Java source code: 1.903.219

• Automated JUnit tests run every build: 21.332

• Instances of the word “foo”: 224

• Number of donuts eaten: 1120

Joomladay NL, April 2008

Page 8: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

Eclipse – by the numbers

Joomladay NL, April 2008

Page 9: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

Eclipse – by the numbers

Joomladay NL, April 2008

Europa Callisto

21 projects 10

17 million LOC 7 million

25 organizations 15

19 countries 12

Page 10: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

Eclipse – by the numbers

Joomladay NL, April 2008

Page 11: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

Eclipse – PHP Development

• PDT (PHP Development Tools)

- Debugging: Xdebug

• PHPEclipse

• Zend Studio (based on PDT)

• J!Code (based on PHPEclipse)

Joomladay NL, April 2008

Page 12: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

Eclipse – Xdebug

• Stack traces

• Function traces

• Protection for infinite recursions

• Profiling

• Code coverage

• Debug scripts interactively

Joomladay NL, April 2008

Page 13: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

PHP Debugging in EclipseDemo

Joomladay NL, April 2008

Page 14: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

Eclipse – ATF• AJAX Toolkit Framework

• Code completion and debugging for Javascript

- Monitor AJAX calls

- Breakpoints, ...

• Modify DOM elements in real-time

• Visual designing of Ajax applications

- Mozilla XULRunner Technology

Joomladay NL, April 2008

Page 15: Joomladay NL 2008 - Debugging Joomla! in Eclipse

www.joomlatools.orgJoomla! is a registered trademark of Open Source Matters, Inc.

Questions ?Stump the geek

Joomladay NL, April 2008