SlideShare uma empresa Scribd logo
1 de 12
- S.Pradeep Kumar
How it is Useful for Web
Developer ?
Inspect Html
Inspect Html
● View HTML live (Advance Version of View
Source)
● View Selected Source
● View XPATH,Selector,InnerHtml of Selected
Element
● Edit Html Element
● Add/Delete/Edit attributes of Html Element
● Break on Script that Changes Html Element
Note:Javascript Debugger should be Enabled
Tweak CSS
● Box Model View: To Evaluate
Height,Width,Padding,Border and Margin
● Shows all selectors impacting the element in
order of Specificity
● Allows to Edit style properties defined in the
selectors
(Note:properties part of css parser of the
browser specification are shown,Hacks are not
shown)
● Live Edit,Changes are shown on fly
Debug Javascript
● Javascript Console feature to inspect javascript
objects at run time.
● Useful Console API's
logging – Console.log
,Console.info,Console.warn,
debugging – Console.debug(),Console.dir(),
profiling –
console.time(),Console.timeEnd(),Console.profi
le,Console.profileEnd,Console.m
● Debugging features presented in IDE are well
integrated here
1)Add Break point,To Stop script execution at
specific point in the script to take control.
2)Follow the Stack Trace of the methods
3)Add Expressions at break point,To Break on
Expressions
4)View all Break points
Break Points
● Standard BreakPoint – Script Panel ()
● Error Break Point – Console Panel (Enable
Break on Errors)
● Html Break Point – Html Panel (Enable Break
on Mutate)
● Dom Break Point – DOM Panel (View Element
in Dom Panel add Break Point)
● AjaxBreak Point – Net Panel
Net panel
● To view the Http Traffic Done on the web page
View all Ajax requests
View all Html/Css/JS/Images/Video files
downloaded
View the Request/Response Headers
FireBug Extended
● FireQuery
● Reference:
http://getfirebug.com/wiki/index.php/Firebug_Ex
tensions#Firediff
References
● Http://getfirebug.com
● http://getfirebug.com/wiki/index.php/Main_Page
● http://getfirebug.com/doc/breakpoints/demo.html
● http://doxygen.db48x.net/mozilla-full/html/d7/d35/in
Debugging with Firebug

Mais conteúdo relacionado

Semelhante a Debugging with Firebug

GWT.create 2013: Themeing GWT Applications with the Appearance Pattern
GWT.create 2013: Themeing GWT Applications with the Appearance PatternGWT.create 2013: Themeing GWT Applications with the Appearance Pattern
GWT.create 2013: Themeing GWT Applications with the Appearance Pattern
niloc132
 
MVC & SQL_In_1_Hour
MVC & SQL_In_1_HourMVC & SQL_In_1_Hour
MVC & SQL_In_1_Hour
Dilip Patel
 

Semelhante a Debugging with Firebug (20)

Introduction to Web Development.pptx
Introduction to Web Development.pptxIntroduction to Web Development.pptx
Introduction to Web Development.pptx
 
Introduction to Web Development.pptx
Introduction to Web Development.pptxIntroduction to Web Development.pptx
Introduction to Web Development.pptx
 
Introduction to Web Development.pptx
Introduction to Web Development.pptxIntroduction to Web Development.pptx
Introduction to Web Development.pptx
 
Day seven
Day sevenDay seven
Day seven
 
F12 debugging in Ms edge
F12 debugging in Ms edgeF12 debugging in Ms edge
F12 debugging in Ms edge
 
Ajax toolkit-framework
Ajax toolkit-frameworkAjax toolkit-framework
Ajax toolkit-framework
 
GWT.create 2013: Themeing GWT Applications with the Appearance Pattern
GWT.create 2013: Themeing GWT Applications with the Appearance PatternGWT.create 2013: Themeing GWT Applications with the Appearance Pattern
GWT.create 2013: Themeing GWT Applications with the Appearance Pattern
 
ASP.NET MVC 3
ASP.NET MVC 3ASP.NET MVC 3
ASP.NET MVC 3
 
Performance (browser)
Performance (browser)Performance (browser)
Performance (browser)
 
Parallelminds.web partdemo
Parallelminds.web partdemoParallelminds.web partdemo
Parallelminds.web partdemo
 
Jsf2 html5-jazoon
Jsf2 html5-jazoonJsf2 html5-jazoon
Jsf2 html5-jazoon
 
Webdev bootcamp
Webdev bootcampWebdev bootcamp
Webdev bootcamp
 
Overview of PHP and MYSQL
Overview of PHP and MYSQLOverview of PHP and MYSQL
Overview of PHP and MYSQL
 
MVC 6 - Tag Helpers and View Components
MVC 6 - Tag Helpers and View ComponentsMVC 6 - Tag Helpers and View Components
MVC 6 - Tag Helpers and View Components
 
Html5 ppt
Html5 pptHtml5 ppt
Html5 ppt
 
ASP.NET 03 - Working With Web Server Controls
ASP.NET 03 - Working With Web Server ControlsASP.NET 03 - Working With Web Server Controls
ASP.NET 03 - Working With Web Server Controls
 
Html
HtmlHtml
Html
 
HTML 5 Basics Part Three
HTML 5 Basics Part ThreeHTML 5 Basics Part Three
HTML 5 Basics Part Three
 
Dsc Charusat Learning React Part 1
Dsc Charusat Learning React Part 1 Dsc Charusat Learning React Part 1
Dsc Charusat Learning React Part 1
 
MVC & SQL_In_1_Hour
MVC & SQL_In_1_HourMVC & SQL_In_1_Hour
MVC & SQL_In_1_Hour
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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...
 
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
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

Debugging with Firebug

  • 2. How it is Useful for Web Developer ?
  • 4. Inspect Html ● View HTML live (Advance Version of View Source) ● View Selected Source ● View XPATH,Selector,InnerHtml of Selected Element ● Edit Html Element ● Add/Delete/Edit attributes of Html Element ● Break on Script that Changes Html Element Note:Javascript Debugger should be Enabled
  • 5. Tweak CSS ● Box Model View: To Evaluate Height,Width,Padding,Border and Margin ● Shows all selectors impacting the element in order of Specificity ● Allows to Edit style properties defined in the selectors (Note:properties part of css parser of the browser specification are shown,Hacks are not shown) ● Live Edit,Changes are shown on fly
  • 6. Debug Javascript ● Javascript Console feature to inspect javascript objects at run time. ● Useful Console API's logging – Console.log ,Console.info,Console.warn, debugging – Console.debug(),Console.dir(), profiling – console.time(),Console.timeEnd(),Console.profi le,Console.profileEnd,Console.m
  • 7. ● Debugging features presented in IDE are well integrated here 1)Add Break point,To Stop script execution at specific point in the script to take control. 2)Follow the Stack Trace of the methods 3)Add Expressions at break point,To Break on Expressions 4)View all Break points
  • 8. Break Points ● Standard BreakPoint – Script Panel () ● Error Break Point – Console Panel (Enable Break on Errors) ● Html Break Point – Html Panel (Enable Break on Mutate) ● Dom Break Point – DOM Panel (View Element in Dom Panel add Break Point) ● AjaxBreak Point – Net Panel
  • 9. Net panel ● To view the Http Traffic Done on the web page View all Ajax requests View all Html/Css/JS/Images/Video files downloaded View the Request/Response Headers
  • 10. FireBug Extended ● FireQuery ● Reference: http://getfirebug.com/wiki/index.php/Firebug_Ex tensions#Firediff
  • 11. References ● Http://getfirebug.com ● http://getfirebug.com/wiki/index.php/Main_Page ● http://getfirebug.com/doc/breakpoints/demo.html ● http://doxygen.db48x.net/mozilla-full/html/d7/d35/in