SlideShare a Scribd company logo
1 of 33
Download to read offline
JavaScript Debugging,
Diagnostic Web Tools and
    Firefox Add-ons
                 By
          Gennady Feldman
           March 12, 2008
            April 9, 2008
                At The
      WebTechNY.com User Group
Summary
•   Introduction
•   JavaScript
•   Add-ons for Firefox
•   Add-ons for IE
•   Fiddler
•   Summary
•   Q&A
Introduction
• About Me
• About Dynamic Logic
What is this talk about?




     JavaScript
JavaScript
• JavaScript != Java
• Sometimes dismissed as not a real programming
  language.
• Lots of web developers never really learned JavaScript.
• There’s a lot of resources on JavaScript, but almost
  nobody really explains the language and syntax.
• Most people know that JavaScript is used for DOM and
  AJAX scripting.
• A lot have heard the buzz words, not many actually know
  when and why to apply them.
JavaScript
• Some of JavaScript features:
  –   hashes / arrays
  –   functions = objects
  –   prototypal inheritance
  –   private variables
  –   closures
  –   and many more…
• JSON is based on JavaScript objects.
JavaScript
• We know JavaScript as a Web language.
• It was actually used in Netscape to script their
  Web Server (on the server side).
• Douglas Crockford did a number of talks on
  JavaScript at Yahoo.
• He covers JavaScript for 3+ hours focusing on
  syntax alone.
• Yahoo has made available many talks as a free
  download.
JavaScript resource(s)
• Yahoo
   – http://developer.yahoo.com/yui/theater/
   – Specifically JavaScript video sessions by Douglas
     Crockford
   – You can subscribe to YUI Theater on iTunes
• JSLint – JavaScript Validator
   – http://www.jslint.com/ - “it will hurt your feelings”.
• QuirksMode by PPK
   – http://www.quirksmode.org/
Web & JavaScript
• Web Development is the hardest and the
  most hostile environment to work in.
• HTML, CSS, JavaScript and Ajax are
  some of the technologies that are used on
  the web.
• Without proper tools web development is
  almost impossible.
Categories of tools
• JavaScript debugging & profiling
• HTML/DOM analysis
• CSS and layout
• Color picker
• Network capture (see what’s being
  downloaded)
• Validation services
Firefox add-ons
• Firefox is a great and very powerful
  browser. It also has a ton of add-ons with
  more added daily.
• There are hundreds of add-ons available
  which makes it hard to find the ones you
  really need.
• I will cover some of the ones that I use and
  consider to be a must have.
Firebug
• A MUST for any web developer. Grab the
  1.1B12 build from http://getfirebug.com
• Provides a number of great tools in a nice and
  clean interface.
• Has JavaScript debugger and profiler built-in.
• Allows you to walk the DOM and play with CSS
  styles on the fly.
• Allows you to analyze the time it takes a web
  page to load.
• Provides console debugging API.
YSlow
• Another great extension that covers web
  traffic and performance:
  http://developer.yahoo.com/yslow/
• Created and supported by Yahoo.
• Built on 14 performance rules from Yahoo.
• Requires Firebug to be installed.
WebDeveloper
• Has a nice toolbar with many menus and
  options.
• Quite popular with Web Designers.
• Was one of the first.
• Still had a great number of tools.
• Firebug still does a lot more out of the box,
  but what’s missing from firebug is here.
NoScript
• Tabs are really popular these days, so is
  security.
• XSS (cross site scripting) and CSRF (cross
  site request forgery) are the biggest
  security problems on the web today.
• Disables Flash and other plug-ins by
  default.
• Disables 3rd party JavaScript.
Other Firefox Add-ons
• ColorZilla
   – Color picker. Comes in very handy at times.
• IEView
   – View this page/link in IE. Great shortcut.
• Download Statusbar
   – Not a web development extension, but I love it
     anyway.
   – See download buttons in the statusbar instead of
     separate download dialogs.
IE tools and add-ons
• Internet Explorer is behind in terms of
  empowering web developers.
• Some people have stepped in and created some
  add-ons to make development easier and better.
• These are not as powerful as Firefox based ones,
  but some of them are quite powerful.
• Did you know that there’s a JavaScript debugger
  that comes with Microsoft Office?
Developer toolbar from Microsoft
• This is a free add-on to Internet Explorer.
• Has a number of tools that it offers:
   –   DOM tree navigation
   –   Showing style information.
   –   Color picker
   –   Resizer
   –   Ruler
   –   Validation Links
   –   And many more..
Developer Toolbar from Microsoft

• Some of the features are either limited or
  missing. (when comparing against Firebug)
• No JavaScript tools.
• Can’t navigate 3rd party IFrames in the
  DOM tree.
• I am not a big fan of it.
WebDevHelper
• http://www.codeplex.com/webdevhelper/
• This is the new webpage for it.
• A great FREE add-on with a ton of
  features.
• Awesome for ASP.NET developers. (never
  actually tried this myself)
• Has HTTP capture support, JavaScript
  Console, DOM tree navigation, etc…
DebugBar
•   Debugbar ( http://www.debugbar.com/ )
•   Free for personal/private use.
•   Probably the most powerful of them all.
•   Has a ton of features:
    –   DOM tree split up by different element types.
    –   HTTP analysis.
    –   Different tools setup as tabs for HTML validation.
    –   Script analysis and debugging.
    –   Etc..
IE7Pro
• IE7Pro is a promising new free addon that has
  scripting capabilities.
• Claims to work with IE 6.x and 7.x.
• Has a lot of potential through scripts and addons.
• Somebody has taken a Firebug Lite JavaScript
  source and created an IE7Pro plugin.
• Has a growing community and a supporting
  website listing addons and plugins.
• This is an active project that is gaining traction.
Enabling JS Debugger for IE
JavaScript Debugger
Enabling JS Debugger in IE
Enabling JS Debugger in IE
Enabling JS Debugger in IE
•   C:Program FilesMicrosoft Visual StudioCommonIDEIDE98MSE.EXE
Fiddler
• http://www.fiddler2.com
• Works like a proxy between the internet and the
  browser.
• Ties into Internet Explorer.
• You can manually configure your browser to go
  through Fiddler.
• Allows you to see what’s going on behind the
  scenes (over the network).
• Much more powerful than default packet capture
  tools like WireShark.
Fiddler
• Shows HTTP status codes
    – Missing images
    – Redirects
    – Etc..
•   Dissect HTTP(S) requests and responses.
•   View cookies and headers.
•   Supports plug-ins.
•   Fully scriptable using .NET.
•   Debug JavaScript and HTTP requests.
•   Save captured information for later analysis.
Fiddler
Fiddler Demo
Summary
• Web development is getting more complicated.
• JavaScript and AJAX are being used to create
  web applications that run inside a browser.
• These applications tend to push browser limits.
• Developers need tools to be able to diagnose
  problems.
• There are many great tools available.
• I hope I gave you enough information to get you
  started.
Q&A

More Related Content

What's hot

Drupal architectures for flexible content - Drupalcon Barcelona
Drupal architectures for flexible content - Drupalcon BarcelonaDrupal architectures for flexible content - Drupalcon Barcelona
Drupal architectures for flexible content - Drupalcon Barcelonahernanibf
 
Open Writing ! - Collaborative Authoring on Apache’s First Open-Source Cloud ...
Open Writing ! -	Collaborative Authoring on Apache’s First Open-Source Cloud ...Open Writing ! -	Collaborative Authoring on Apache’s First Open-Source Cloud ...
Open Writing ! - Collaborative Authoring on Apache’s First Open-Source Cloud ...Radhika Puthiyetath
 
Setting up your development environment
Setting up your development environmentSetting up your development environment
Setting up your development environmentNicole Ryan
 
Cross-Platform Desktop Apps with Electron (JSConf UY)
Cross-Platform Desktop Apps with Electron (JSConf UY)Cross-Platform Desktop Apps with Electron (JSConf UY)
Cross-Platform Desktop Apps with Electron (JSConf UY)David Neal
 
Running a Successful Open Source Project
Running a Successful Open Source ProjectRunning a Successful Open Source Project
Running a Successful Open Source ProjectRob Reynolds
 
JavaScript Libraries (Ajax Exp 2006)
JavaScript Libraries (Ajax Exp 2006)JavaScript Libraries (Ajax Exp 2006)
JavaScript Libraries (Ajax Exp 2006)jeresig
 
WordPress: Getting Under the Hood
WordPress: Getting Under the HoodWordPress: Getting Under the Hood
WordPress: Getting Under the HoodScott Taylor
 
Angular mobile angular_u
Angular mobile angular_uAngular mobile angular_u
Angular mobile angular_uDoris Chen
 
Anatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress ThemeAnatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress ThemeJulie Kuehl
 
Beyond Comments: How to Build an Awesome API Doc and Be a Better Person
Beyond Comments: How to Build an Awesome API Doc and Be a Better PersonBeyond Comments: How to Build an Awesome API Doc and Be a Better Person
Beyond Comments: How to Build an Awesome API Doc and Be a Better PersonAlek Davis
 
jQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesjQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesMark Roden
 
MozTW Jetpack Workshop: Taipei
MozTW Jetpack Workshop: TaipeiMozTW Jetpack Workshop: Taipei
MozTW Jetpack Workshop: Taipeilittlebtc
 
Easily Manage Software on Windows with Chocolatey - PuppetConf 2016
Easily Manage Software on Windows with Chocolatey - PuppetConf 2016Easily Manage Software on Windows with Chocolatey - PuppetConf 2016
Easily Manage Software on Windows with Chocolatey - PuppetConf 2016Rob Reynolds
 
Saving Time By Testing With Jest
Saving Time By Testing With JestSaving Time By Testing With Jest
Saving Time By Testing With JestBen McCormick
 
Introduction to jQuery
Introduction to jQueryIntroduction to jQuery
Introduction to jQueryAlek Davis
 

What's hot (20)

Drupal architectures for flexible content - Drupalcon Barcelona
Drupal architectures for flexible content - Drupalcon BarcelonaDrupal architectures for flexible content - Drupalcon Barcelona
Drupal architectures for flexible content - Drupalcon Barcelona
 
Open Writing ! - Collaborative Authoring on Apache’s First Open-Source Cloud ...
Open Writing ! -	Collaborative Authoring on Apache’s First Open-Source Cloud ...Open Writing ! -	Collaborative Authoring on Apache’s First Open-Source Cloud ...
Open Writing ! - Collaborative Authoring on Apache’s First Open-Source Cloud ...
 
Setting up your development environment
Setting up your development environmentSetting up your development environment
Setting up your development environment
 
Cross-Platform Desktop Apps with Electron (JSConf UY)
Cross-Platform Desktop Apps with Electron (JSConf UY)Cross-Platform Desktop Apps with Electron (JSConf UY)
Cross-Platform Desktop Apps with Electron (JSConf UY)
 
Running a Successful Open Source Project
Running a Successful Open Source ProjectRunning a Successful Open Source Project
Running a Successful Open Source Project
 
JavaScript Libraries (Ajax Exp 2006)
JavaScript Libraries (Ajax Exp 2006)JavaScript Libraries (Ajax Exp 2006)
JavaScript Libraries (Ajax Exp 2006)
 
Edge of the Web
Edge of the WebEdge of the Web
Edge of the Web
 
Automated ui-testing
Automated ui-testingAutomated ui-testing
Automated ui-testing
 
WordPress: Getting Under the Hood
WordPress: Getting Under the HoodWordPress: Getting Under the Hood
WordPress: Getting Under the Hood
 
Angular mobile angular_u
Angular mobile angular_uAngular mobile angular_u
Angular mobile angular_u
 
Anatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress ThemeAnatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress Theme
 
Beyond Comments: How to Build an Awesome API Doc and Be a Better Person
Beyond Comments: How to Build an Awesome API Doc and Be a Better PersonBeyond Comments: How to Build an Awesome API Doc and Be a Better Person
Beyond Comments: How to Build an Awesome API Doc and Be a Better Person
 
jQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesjQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPages
 
MozTW Jetpack Workshop: Taipei
MozTW Jetpack Workshop: TaipeiMozTW Jetpack Workshop: Taipei
MozTW Jetpack Workshop: Taipei
 
Road to Rails
Road to RailsRoad to Rails
Road to Rails
 
Easily Manage Software on Windows with Chocolatey - PuppetConf 2016
Easily Manage Software on Windows with Chocolatey - PuppetConf 2016Easily Manage Software on Windows with Chocolatey - PuppetConf 2016
Easily Manage Software on Windows with Chocolatey - PuppetConf 2016
 
Java
JavaJava
Java
 
Dojo & HTML5
Dojo & HTML5Dojo & HTML5
Dojo & HTML5
 
Saving Time By Testing With Jest
Saving Time By Testing With JestSaving Time By Testing With Jest
Saving Time By Testing With Jest
 
Introduction to jQuery
Introduction to jQueryIntroduction to jQuery
Introduction to jQuery
 

Viewers also liked

MARKETING STRATEGIES WE CAN LEARN FROM DISNEY PRINCESSES
MARKETING STRATEGIES WE CAN LEARN FROM DISNEY PRINCESSESMARKETING STRATEGIES WE CAN LEARN FROM DISNEY PRINCESSES
MARKETING STRATEGIES WE CAN LEARN FROM DISNEY PRINCESSESDigital Annexe
 
Product strategy
Product strategyProduct strategy
Product strategyrajeev roy
 
Strategic Management: Walt Disney Case Study
Strategic Management: Walt Disney Case StudyStrategic Management: Walt Disney Case Study
Strategic Management: Walt Disney Case StudyCallie Unruh
 
Walt Disney - An analysis of the strategic challenges
Walt Disney - An analysis of the strategic challengesWalt Disney - An analysis of the strategic challenges
Walt Disney - An analysis of the strategic challengesGrigoris Papadopoulos
 
Product life cycle & marketing strategy
Product life cycle & marketing strategyProduct life cycle & marketing strategy
Product life cycle & marketing strategyHitesh Sunny
 

Viewers also liked (6)

MARKETING STRATEGIES WE CAN LEARN FROM DISNEY PRINCESSES
MARKETING STRATEGIES WE CAN LEARN FROM DISNEY PRINCESSESMARKETING STRATEGIES WE CAN LEARN FROM DISNEY PRINCESSES
MARKETING STRATEGIES WE CAN LEARN FROM DISNEY PRINCESSES
 
Product strategy
Product strategyProduct strategy
Product strategy
 
Strategic Management: Walt Disney Case Study
Strategic Management: Walt Disney Case StudyStrategic Management: Walt Disney Case Study
Strategic Management: Walt Disney Case Study
 
Walt Disney - An analysis of the strategic challenges
Walt Disney - An analysis of the strategic challengesWalt Disney - An analysis of the strategic challenges
Walt Disney - An analysis of the strategic challenges
 
Brand ppt
Brand pptBrand ppt
Brand ppt
 
Product life cycle & marketing strategy
Product life cycle & marketing strategyProduct life cycle & marketing strategy
Product life cycle & marketing strategy
 

Similar to JavaScript debugging diagnostic web tools and firefox

Vlad Zelinschi - Embrace Native JavaScript (the anti-plugins talk) - Codecamp...
Vlad Zelinschi - Embrace Native JavaScript (the anti-plugins talk) - Codecamp...Vlad Zelinschi - Embrace Native JavaScript (the anti-plugins talk) - Codecamp...
Vlad Zelinschi - Embrace Native JavaScript (the anti-plugins talk) - Codecamp...Codecamp Romania
 
Web Tools for GemStone/S
Web Tools for GemStone/SWeb Tools for GemStone/S
Web Tools for GemStone/SESUG
 
A guide to hiring a great developer to build your first app (redacted version)
A guide to hiring a great developer to build your first app (redacted version)A guide to hiring a great developer to build your first app (redacted version)
A guide to hiring a great developer to build your first app (redacted version)Oursky
 
Untying the Knots of Web Dev with Internet Explorer
Untying the Knots of Web Dev with Internet Explorer Untying the Knots of Web Dev with Internet Explorer
Untying the Knots of Web Dev with Internet Explorer Sarah Dutkiewicz
 
Conferences andcommunity
Conferences andcommunityConferences andcommunity
Conferences andcommunityJeff Carouth
 
Notes From Velocity Conference Europe
Notes From Velocity Conference EuropeNotes From Velocity Conference Europe
Notes From Velocity Conference EuropeSiriusWay
 
Training presentation.pptx
Training presentation.pptxTraining presentation.pptx
Training presentation.pptxNishchaiyaBayla1
 
JS - The Unknown Basics.pptx
JS - The Unknown Basics.pptxJS - The Unknown Basics.pptx
JS - The Unknown Basics.pptxParveenSoni21
 
John Resig Beijing 2010 (English Version)
John Resig Beijing 2010 (English Version)John Resig Beijing 2010 (English Version)
John Resig Beijing 2010 (English Version)Jia Mi
 
Web Developer Tools for ICOS 2013
Web Developer Tools for ICOS 2013Web Developer Tools for ICOS 2013
Web Developer Tools for ICOS 2013偉格 高
 
External JavaScript Widget Development Best Practices
External JavaScript Widget Development Best PracticesExternal JavaScript Widget Development Best Practices
External JavaScript Widget Development Best PracticesVolkan Özçelik
 
Inspect The Uninspected
Inspect The UninspectedInspect The Uninspected
Inspect The Uninspectedcgack
 
Prototyping like it is 2022
Prototyping like it is 2022 Prototyping like it is 2022
Prototyping like it is 2022 Michael Yagudaev
 
Java scriptwidgetdevelopmentjstanbul2012
Java scriptwidgetdevelopmentjstanbul2012Java scriptwidgetdevelopmentjstanbul2012
Java scriptwidgetdevelopmentjstanbul2012Volkan Özçelik
 
Using Javascript in today's world
Using Javascript in today's worldUsing Javascript in today's world
Using Javascript in today's worldSudar Muthu
 
Shift Remote: JS - Javascript Build Tools: Past & Beyond - Shedrack Akintayo
Shift Remote: JS - Javascript Build Tools: Past & Beyond - Shedrack Akintayo Shift Remote: JS - Javascript Build Tools: Past & Beyond - Shedrack Akintayo
Shift Remote: JS - Javascript Build Tools: Past & Beyond - Shedrack Akintayo Shift Conference
 
Test Automation with Twist and Sahi
Test Automation with Twist and SahiTest Automation with Twist and Sahi
Test Automation with Twist and Sahiericjamesblackburn
 
5 Common Mistakes You are Making on your Website
 5 Common Mistakes You are Making on your Website 5 Common Mistakes You are Making on your Website
5 Common Mistakes You are Making on your WebsiteAcquia
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With LoveUp2 Technology
 
01/2009 - Portral development with liferay
01/2009 - Portral development with liferay01/2009 - Portral development with liferay
01/2009 - Portral development with liferaydaveayan
 

Similar to JavaScript debugging diagnostic web tools and firefox (20)

Vlad Zelinschi - Embrace Native JavaScript (the anti-plugins talk) - Codecamp...
Vlad Zelinschi - Embrace Native JavaScript (the anti-plugins talk) - Codecamp...Vlad Zelinschi - Embrace Native JavaScript (the anti-plugins talk) - Codecamp...
Vlad Zelinschi - Embrace Native JavaScript (the anti-plugins talk) - Codecamp...
 
Web Tools for GemStone/S
Web Tools for GemStone/SWeb Tools for GemStone/S
Web Tools for GemStone/S
 
A guide to hiring a great developer to build your first app (redacted version)
A guide to hiring a great developer to build your first app (redacted version)A guide to hiring a great developer to build your first app (redacted version)
A guide to hiring a great developer to build your first app (redacted version)
 
Untying the Knots of Web Dev with Internet Explorer
Untying the Knots of Web Dev with Internet Explorer Untying the Knots of Web Dev with Internet Explorer
Untying the Knots of Web Dev with Internet Explorer
 
Conferences andcommunity
Conferences andcommunityConferences andcommunity
Conferences andcommunity
 
Notes From Velocity Conference Europe
Notes From Velocity Conference EuropeNotes From Velocity Conference Europe
Notes From Velocity Conference Europe
 
Training presentation.pptx
Training presentation.pptxTraining presentation.pptx
Training presentation.pptx
 
JS - The Unknown Basics.pptx
JS - The Unknown Basics.pptxJS - The Unknown Basics.pptx
JS - The Unknown Basics.pptx
 
John Resig Beijing 2010 (English Version)
John Resig Beijing 2010 (English Version)John Resig Beijing 2010 (English Version)
John Resig Beijing 2010 (English Version)
 
Web Developer Tools for ICOS 2013
Web Developer Tools for ICOS 2013Web Developer Tools for ICOS 2013
Web Developer Tools for ICOS 2013
 
External JavaScript Widget Development Best Practices
External JavaScript Widget Development Best PracticesExternal JavaScript Widget Development Best Practices
External JavaScript Widget Development Best Practices
 
Inspect The Uninspected
Inspect The UninspectedInspect The Uninspected
Inspect The Uninspected
 
Prototyping like it is 2022
Prototyping like it is 2022 Prototyping like it is 2022
Prototyping like it is 2022
 
Java scriptwidgetdevelopmentjstanbul2012
Java scriptwidgetdevelopmentjstanbul2012Java scriptwidgetdevelopmentjstanbul2012
Java scriptwidgetdevelopmentjstanbul2012
 
Using Javascript in today's world
Using Javascript in today's worldUsing Javascript in today's world
Using Javascript in today's world
 
Shift Remote: JS - Javascript Build Tools: Past & Beyond - Shedrack Akintayo
Shift Remote: JS - Javascript Build Tools: Past & Beyond - Shedrack Akintayo Shift Remote: JS - Javascript Build Tools: Past & Beyond - Shedrack Akintayo
Shift Remote: JS - Javascript Build Tools: Past & Beyond - Shedrack Akintayo
 
Test Automation with Twist and Sahi
Test Automation with Twist and SahiTest Automation with Twist and Sahi
Test Automation with Twist and Sahi
 
5 Common Mistakes You are Making on your Website
 5 Common Mistakes You are Making on your Website 5 Common Mistakes You are Making on your Website
5 Common Mistakes You are Making on your Website
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With Love
 
01/2009 - Portral development with liferay
01/2009 - Portral development with liferay01/2009 - Portral development with liferay
01/2009 - Portral development with liferay
 

Recently uploaded

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 

Recently uploaded (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

JavaScript debugging diagnostic web tools and firefox

  • 1. JavaScript Debugging, Diagnostic Web Tools and Firefox Add-ons By Gennady Feldman March 12, 2008 April 9, 2008 At The WebTechNY.com User Group
  • 2. Summary • Introduction • JavaScript • Add-ons for Firefox • Add-ons for IE • Fiddler • Summary • Q&A
  • 3. Introduction • About Me • About Dynamic Logic
  • 4. What is this talk about? JavaScript
  • 5. JavaScript • JavaScript != Java • Sometimes dismissed as not a real programming language. • Lots of web developers never really learned JavaScript. • There’s a lot of resources on JavaScript, but almost nobody really explains the language and syntax. • Most people know that JavaScript is used for DOM and AJAX scripting. • A lot have heard the buzz words, not many actually know when and why to apply them.
  • 6. JavaScript • Some of JavaScript features: – hashes / arrays – functions = objects – prototypal inheritance – private variables – closures – and many more… • JSON is based on JavaScript objects.
  • 7. JavaScript • We know JavaScript as a Web language. • It was actually used in Netscape to script their Web Server (on the server side). • Douglas Crockford did a number of talks on JavaScript at Yahoo. • He covers JavaScript for 3+ hours focusing on syntax alone. • Yahoo has made available many talks as a free download.
  • 8. JavaScript resource(s) • Yahoo – http://developer.yahoo.com/yui/theater/ – Specifically JavaScript video sessions by Douglas Crockford – You can subscribe to YUI Theater on iTunes • JSLint – JavaScript Validator – http://www.jslint.com/ - “it will hurt your feelings”. • QuirksMode by PPK – http://www.quirksmode.org/
  • 9. Web & JavaScript • Web Development is the hardest and the most hostile environment to work in. • HTML, CSS, JavaScript and Ajax are some of the technologies that are used on the web. • Without proper tools web development is almost impossible.
  • 10. Categories of tools • JavaScript debugging & profiling • HTML/DOM analysis • CSS and layout • Color picker • Network capture (see what’s being downloaded) • Validation services
  • 11. Firefox add-ons • Firefox is a great and very powerful browser. It also has a ton of add-ons with more added daily. • There are hundreds of add-ons available which makes it hard to find the ones you really need. • I will cover some of the ones that I use and consider to be a must have.
  • 12. Firebug • A MUST for any web developer. Grab the 1.1B12 build from http://getfirebug.com • Provides a number of great tools in a nice and clean interface. • Has JavaScript debugger and profiler built-in. • Allows you to walk the DOM and play with CSS styles on the fly. • Allows you to analyze the time it takes a web page to load. • Provides console debugging API.
  • 13. YSlow • Another great extension that covers web traffic and performance: http://developer.yahoo.com/yslow/ • Created and supported by Yahoo. • Built on 14 performance rules from Yahoo. • Requires Firebug to be installed.
  • 14. WebDeveloper • Has a nice toolbar with many menus and options. • Quite popular with Web Designers. • Was one of the first. • Still had a great number of tools. • Firebug still does a lot more out of the box, but what’s missing from firebug is here.
  • 15. NoScript • Tabs are really popular these days, so is security. • XSS (cross site scripting) and CSRF (cross site request forgery) are the biggest security problems on the web today. • Disables Flash and other plug-ins by default. • Disables 3rd party JavaScript.
  • 16. Other Firefox Add-ons • ColorZilla – Color picker. Comes in very handy at times. • IEView – View this page/link in IE. Great shortcut. • Download Statusbar – Not a web development extension, but I love it anyway. – See download buttons in the statusbar instead of separate download dialogs.
  • 17. IE tools and add-ons • Internet Explorer is behind in terms of empowering web developers. • Some people have stepped in and created some add-ons to make development easier and better. • These are not as powerful as Firefox based ones, but some of them are quite powerful. • Did you know that there’s a JavaScript debugger that comes with Microsoft Office?
  • 18. Developer toolbar from Microsoft • This is a free add-on to Internet Explorer. • Has a number of tools that it offers: – DOM tree navigation – Showing style information. – Color picker – Resizer – Ruler – Validation Links – And many more..
  • 19. Developer Toolbar from Microsoft • Some of the features are either limited or missing. (when comparing against Firebug) • No JavaScript tools. • Can’t navigate 3rd party IFrames in the DOM tree. • I am not a big fan of it.
  • 20. WebDevHelper • http://www.codeplex.com/webdevhelper/ • This is the new webpage for it. • A great FREE add-on with a ton of features. • Awesome for ASP.NET developers. (never actually tried this myself) • Has HTTP capture support, JavaScript Console, DOM tree navigation, etc…
  • 21. DebugBar • Debugbar ( http://www.debugbar.com/ ) • Free for personal/private use. • Probably the most powerful of them all. • Has a ton of features: – DOM tree split up by different element types. – HTTP analysis. – Different tools setup as tabs for HTML validation. – Script analysis and debugging. – Etc..
  • 22. IE7Pro • IE7Pro is a promising new free addon that has scripting capabilities. • Claims to work with IE 6.x and 7.x. • Has a lot of potential through scripts and addons. • Somebody has taken a Firebug Lite JavaScript source and created an IE7Pro plugin. • Has a growing community and a supporting website listing addons and plugins. • This is an active project that is gaining traction.
  • 27. Enabling JS Debugger in IE • C:Program FilesMicrosoft Visual StudioCommonIDEIDE98MSE.EXE
  • 28. Fiddler • http://www.fiddler2.com • Works like a proxy between the internet and the browser. • Ties into Internet Explorer. • You can manually configure your browser to go through Fiddler. • Allows you to see what’s going on behind the scenes (over the network). • Much more powerful than default packet capture tools like WireShark.
  • 29. Fiddler • Shows HTTP status codes – Missing images – Redirects – Etc.. • Dissect HTTP(S) requests and responses. • View cookies and headers. • Supports plug-ins. • Fully scriptable using .NET. • Debug JavaScript and HTTP requests. • Save captured information for later analysis.
  • 32. Summary • Web development is getting more complicated. • JavaScript and AJAX are being used to create web applications that run inside a browser. • These applications tend to push browser limits. • Developers need tools to be able to diagnose problems. • There are many great tools available. • I hope I gave you enough information to get you started.
  • 33. Q&A