Top Banner
Debugging Tools in Web Browsers Presented by Sarah Dutkiewicz [email protected] Cleveland Tech Consulting, LLC
15
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: Debugging tools in web browsers

Debugging Tools

in Web Browsers

Presented by Sarah Dutkiewicz

[email protected]

Cleveland Tech Consulting, LLC

Page 2: Debugging tools in web browsers

Agenda

Problems that need debugging

Using browsers and their (mostly) built-in tools to solve the problems

Other tools for cross-browser testing

Page 3: Debugging tools in web browsers

Problems – Javascript Errors

JavaScript Error

Line: 15

Char: 1

Error: Object undefined!

CancelOK

Page 4: Debugging tools in web browsers

Problems – Resource Loading

Page 5: Debugging tools in web browsers

Problems – Alignment/CSSSarah’s CSS Playground

http://www.myfakerealestate.com/css

Cleveland Tech HousingApartments for techies.

www.clevelandtechevents.co

m

1 1

Page 6: Debugging tools in web browsers

Problems – Multiple Platforms

12:38

3:00PM

3/14/2011

Search programs and files

All Programs

Shut Down

Username

Documents

Pictures

Music

Games

Computer

Control Panel

Devices and Printers

Default Programs

Help and Support

Pinned Application

Pinned Application

Application

Application

Application

Application

Application

Application

Page 7: Debugging tools in web browsers

Browser Tools

to the Rescue!

Page 8: Debugging tools in web browsers

Google Chrome Developer Tools

Heavily based on WebKit Inspector tools

Tools Overview:

https://developers.google.com/chrome

-developer-tools/docs/overview

Demo of Audits with

ClevelandTechEvents.com

Page 9: Debugging tools in web browsers

Safari Development Tools

Not enabled by default

Preferences -> Advanced -> check “Show Develop menu

in menu bar”

Show Menu Bar

WebKit Inspector

Demo of basics of Developer Tools with Tackk.com

Page 10: Debugging tools in web browsers

Firefox Web Developer

Tools are constantly being updated in Firefox.

Demo of Responsive Design View with LeanDog.com

Page 11: Debugging tools in web browsers

Internet Explorer Developer Tools

Developer Tools were baked in starting with IE8

Developer Tools for IE7 are available here:

http://www.microsoft.com/en-us/download/details.aspx?id=18359

Now called “F12 developer tools” under the Tools menu

Demo of various IE versions

Demo of validators – W3 (HTML, CSS, Links), 508 (Accessibility),

Feeds

Page 12: Debugging tools in web browsers

Opera Dragonfly

& other tools

Development started in May 2008

Compatible with:

Presto 2.1 and higher

Opera Mobile 9.5 and above

Opera Desktop 9.5 and above

Nintendo DS & Nintendo DSi Browser

Demo of ruler & color picker

Demo of Network with

IngenuityCleveland.com

Page 13: Debugging tools in web browsers

Testing Cross-Browser Compatibility on

the Web

BrowserShots: http://browsershots.org/

Supports the following browsers:

Google Chrome

Dillo

Elinks

Epiphany

Mozilla Firefox

Galeon

And more…

Page 14: Debugging tools in web browsers

Testing Cross-Browser Compatibility on

the Web

Spoon – Browser Sandbox: http://spoon.net/Browsers/

Supports the following browsers:

Google Chrome (17-21)

Opera (9-12, Mobile 11, Mini 6)

Safari (3-5)

IE (6-9)

Firefox (11-15, Mobile 2 & 5)

Page 15: Debugging tools in web browsers

Other Web Developer Tools –

Add-Ons & Extensions

Firefox Add-Ons

Firebug

Web Developer

Colorzilla

MeasureIt

Page Speed

IE Tab 2

SEO Doctor

Chrome Extensions

Colorzilla

Firebug Lite

Code Cola – CSS editing

CoffeeConsole – for CoffeeScript