SlideShare a Scribd company logo
Advanced Testing & Debugging
Getting the Most from the Developer Console
Josh Kaplan, Salesforce.com, Sr. Product Manager
@Josh SFDC

Tony Tonev, Salesforce.com, Software Engineer
Safe harbor
       Safe harbor statement under the Private Securities Litigation Reform Act of 1995:

       This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties
       materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results
       expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be
       deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other
       financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any
       statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.

       The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new
       functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our
       operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of
       intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we
       operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new
       releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization
       and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com,
       inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others
       containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site.

       Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently
       available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based
       upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-
       looking statements.




Join the conversation: #forcewebinar
Speakers

                                         Josh Kaplan           Tony Tonev
                                       Sr. Product Manager,   Software Engineer
                                           @JoshSFDC




Join the conversation: #forcewebinar
Follow Developer Force for the latest news

                         @forcedotcom / #forcewebinar

                         Developer Force – Force.com Community


                         +Developer Force – Force.com Community


                         Developer Force

                         Developer Force group
Join the conversation: #forcewebinar
Have questions?

         §  We have an expert support team at the ready to answer your questions
             during the webinar.
         §  Ask your questions via the GoToWebinar Questions Pane.
         §  The speaker(s) will choose top questions to answer live at the end of the
             webinar.
         §  Please post your questions as we go along!
         §  Only post your question once; we’ll get to it as we go down the list.




Join the conversation: #forcewebinar
Agenda

         §  Testing Apex
                •  Why test?
                •  When test?
                •  How test?
         §  Code Coverage
         §  Advanced Debugging
                •  Log Inspector
                •  Checkpoints
                       –  Set checkpoints
                       –  View memory contents
                       –  Inject logic

Join the conversation: #forcewebinar
Assumptions

   This webinar assumes the following:
         §  You know…
                •  …what Apex code is
                •  …how to launch the Developer Console

         §  You have…
                •  …used the Developer Console before
                •  …done debugging before



   But don’t worry, you can catch up via these resources:
   http://wiki.developerforce.com/page/Webinar:_Intro_to_Apex_Code_(2012-July)


Join the conversation: #forcewebinar
Why test?




Join the conversation: #forcewebinar
Testing Protects You From Others




Join the conversation: #forcewebinar
Testing Protects You From Us




Join the conversation: #forcewebinar
When should I test?

    Write tests throughout development
           §  Before development
           §  After development
           §  In their own @isTest classes
    You should test frequently!
           §  During development
           §  Before deployment
           §  During deployment
           §  During release preview window

Join the conversation: #forcewebinar
How can I run tests on my code?

    Salesforce provides several avenues for test execution
           §  Developer Console
           §  “Setup” User Interface
           §  Automatically during deployment
           §  Through the Tooling API *COMING SOON!*




Join the conversation: #forcewebinar
Developer Console




Join the conversation: #forcewebinar
Testing in “Setup” User Interface




Join the conversation: #forcewebinar
Asynchronous Test Execution

    Salesforce runs your tests in the background so they can be
    processed as resources allow.
           §  Asyncronous testing runs tests in no particular order
           §  It allows you to see status of tests as they complete
           §  The process is integrated into developer console




Join the conversation: #forcewebinar
Code Coverage

    We store the results of your testing to calculate code coverage,
    and show you these stored results in the developer console.
           §  Aggregate coverage for each class and trigger
           §  Coverage by each test method on each class and trigger


           §  CAUTION!
             These results are stale as soon as you change the test or the class




Join the conversation: #forcewebinar
Let’s See The Demo Already!




Join the conversation: #forcewebinar
Use Case: UberJet




Join the conversation: #forcewebinar
Debugging Code




Join the conversation: #forcewebinar
Debugging with the Log Inspector

           §  Execution Log
                 •  The entire transaction, line by line and more

           §  Source / Variables
                 •  Current code location and variable values

           §  Stack
                 •  How you got where you are
                 •  How long each step took
           §  Execution Overview
                 •  Limits
                 •  Performance per action, per method


Join the conversation: #forcewebinar
When the log is not enough…checkpoints!

    A checkpoint is like a breakpoint, but cloud-approved
           §  Heap
                 •  Provide a view into the memory at the checkpoint
           §  SOQL query
                 •  Run a SOQL query at the checkpoint

           §  Apex Code
                 •  Inject a miniature apex snippet at the checkpoint




Join the conversation: #forcewebinar
Recap

         §  Testing Is Important, Testing Is Easy
                •  Test always
                •  Use the Developer Console to see results and code coverage statistics
         §  Debugging Is Hard, Debugging Can Be Easier
                •  The Log Inspector provides many views into the haystack
                •  Use Checkpoints to see the state of the world at a critical point




Join the conversation: #forcewebinar
Resources

         §  Developer Console topic page:
             http://wiki.developerforce.com/page/Developer_Console
         §  Next Steps
                •  Write More Tests!
                •  Use Developer Console To Run Your Tests
                •  Use Developer Console To Debug Your Code




Join the conversation: #forcewebinar
Ad

Recommended

PDF
iOS Unit Testing Like a Boss
Salesforce Developers
 
PPTX
Continuous Integration In The Cloud Final (1)
Alexis Williams
 
PDF
jsForce in Action
Salesforce Developers
 
PDF
Team Development on Force.com with Github and Ant
Salesforce Developers
 
PDF
A Story of Continuous Integration
Salesforce Engineering
 
PDF
Salesforce API Series: Release Management with the Metadata API webinar
Salesforce Developers
 
PPT
Test Automation With Cucumber JVM, Selenium, and Mocha
Salesforce Developers
 
PDF
Fun with Jenkins & Salesforce
Abhinav Gupta
 
PDF
Apex Testing Best Practices
Salesforce Developers
 
PDF
Javascript-heavy Salesforce Applications
Salesforce Developers
 
PDF
Virtual Dreamin Salesforce DevOps Top 10
Richard Clark
 
PPTX
The definitive guide to salesforce sandbox flosum
Flosum
 
PDF
Patterns of a "Good" Test Automation Framework, Locators & Data
Agile Testing Alliance
 
PDF
Promoting Agility with Running Tested Features - Lightening Talk
Camille Bell
 
PPTX
Visual Studio ALM 2013 - Edition Comparison
Steve Lange
 
PDF
Integration Testing in AEM
connectwebex
 
PDF
Continuous Integration and Testing with Branch Orgs
Salesforce Developers
 
PPTX
An easy way to automate complex UI
Ivan Pashko
 
PPTX
Team Development & Continuous Integration on the Salesforce Platform
Carlos Ramirez Martinez-Eiroa
 
PDF
Testing lightning components feb 15th 2018
Richard Clark
 
PPTX
Story Testing Approach for Enterprise Applications using Selenium Framework
Oleksiy Rezchykov
 
PDF
Automating the Impossible: End to End Team Development for ISVs (October 14, ...
Salesforce Partners
 
PPTX
Test Automation
Tomas Riha
 
PDF
Client-Side Performance Testing
Anand Bagmar
 
PDF
EVOLVE'15 | Enhance | Rene Ugarte | AEM Quality Assurance
Evolve The Adobe Digital Marketing Community
 
PDF
Continuous Integration - Software development lifecycle for Force.com projects
Aldo Fernandez
 
PDF
London SF Developers: Custom Lightning Component Error Handling
Richard Clark
 
PPTX
How to Perform Test Automation With Gauge & Selenium Framework
Sarah Elson
 
PDF
Inside the Force.com Query Optimizer Webinar
Salesforce Developers
 
PDF
Understanding Your Consumers: Building Better campaigns
Experian
 

More Related Content

What's hot (20)

PDF
Apex Testing Best Practices
Salesforce Developers
 
PDF
Javascript-heavy Salesforce Applications
Salesforce Developers
 
PDF
Virtual Dreamin Salesforce DevOps Top 10
Richard Clark
 
PPTX
The definitive guide to salesforce sandbox flosum
Flosum
 
PDF
Patterns of a "Good" Test Automation Framework, Locators & Data
Agile Testing Alliance
 
PDF
Promoting Agility with Running Tested Features - Lightening Talk
Camille Bell
 
PPTX
Visual Studio ALM 2013 - Edition Comparison
Steve Lange
 
PDF
Integration Testing in AEM
connectwebex
 
PDF
Continuous Integration and Testing with Branch Orgs
Salesforce Developers
 
PPTX
An easy way to automate complex UI
Ivan Pashko
 
PPTX
Team Development & Continuous Integration on the Salesforce Platform
Carlos Ramirez Martinez-Eiroa
 
PDF
Testing lightning components feb 15th 2018
Richard Clark
 
PPTX
Story Testing Approach for Enterprise Applications using Selenium Framework
Oleksiy Rezchykov
 
PDF
Automating the Impossible: End to End Team Development for ISVs (October 14, ...
Salesforce Partners
 
PPTX
Test Automation
Tomas Riha
 
PDF
Client-Side Performance Testing
Anand Bagmar
 
PDF
EVOLVE'15 | Enhance | Rene Ugarte | AEM Quality Assurance
Evolve The Adobe Digital Marketing Community
 
PDF
Continuous Integration - Software development lifecycle for Force.com projects
Aldo Fernandez
 
PDF
London SF Developers: Custom Lightning Component Error Handling
Richard Clark
 
PPTX
How to Perform Test Automation With Gauge & Selenium Framework
Sarah Elson
 
Apex Testing Best Practices
Salesforce Developers
 
Javascript-heavy Salesforce Applications
Salesforce Developers
 
Virtual Dreamin Salesforce DevOps Top 10
Richard Clark
 
The definitive guide to salesforce sandbox flosum
Flosum
 
Patterns of a "Good" Test Automation Framework, Locators & Data
Agile Testing Alliance
 
Promoting Agility with Running Tested Features - Lightening Talk
Camille Bell
 
Visual Studio ALM 2013 - Edition Comparison
Steve Lange
 
Integration Testing in AEM
connectwebex
 
Continuous Integration and Testing with Branch Orgs
Salesforce Developers
 
An easy way to automate complex UI
Ivan Pashko
 
Team Development & Continuous Integration on the Salesforce Platform
Carlos Ramirez Martinez-Eiroa
 
Testing lightning components feb 15th 2018
Richard Clark
 
Story Testing Approach for Enterprise Applications using Selenium Framework
Oleksiy Rezchykov
 
Automating the Impossible: End to End Team Development for ISVs (October 14, ...
Salesforce Partners
 
Test Automation
Tomas Riha
 
Client-Side Performance Testing
Anand Bagmar
 
EVOLVE'15 | Enhance | Rene Ugarte | AEM Quality Assurance
Evolve The Adobe Digital Marketing Community
 
Continuous Integration - Software development lifecycle for Force.com projects
Aldo Fernandez
 
London SF Developers: Custom Lightning Component Error Handling
Richard Clark
 
How to Perform Test Automation With Gauge & Selenium Framework
Sarah Elson
 

Viewers also liked (8)

PDF
Inside the Force.com Query Optimizer Webinar
Salesforce Developers
 
PDF
Understanding Your Consumers: Building Better campaigns
Experian
 
PPTX
Postman
mathieupassenaud
 
PPTX
Postman Collection Format v2.0 (pre-draft)
Postman
 
PDF
Salesforce API Series: Fast Parallel Data Loading with the Bulk API Webinar
Salesforce Developers
 
PPTX
Made With Creative Commons
Paul_Stacey
 
PPTX
Creative Commons Certificates
Paul_Stacey
 
PDF
En 20 minutos ... Chrome Developer Tools
Sección de Metodologías, Normalización y Calidad del Software
 
Inside the Force.com Query Optimizer Webinar
Salesforce Developers
 
Understanding Your Consumers: Building Better campaigns
Experian
 
Postman Collection Format v2.0 (pre-draft)
Postman
 
Salesforce API Series: Fast Parallel Data Loading with the Bulk API Webinar
Salesforce Developers
 
Made With Creative Commons
Paul_Stacey
 
Creative Commons Certificates
Paul_Stacey
 
Ad

Similar to Advanced Testing and Debugging using the Developer Console webinar (20)

PDF
Winter 13 Release Developer Preview Webinar
Salesforce Developers
 
PDF
Boost Your Career: Get Cloud-Trained and Certified
Salesforce Developers
 
PDF
AppExchange for Developers: Monetize your App in the Cloud Webinar
Salesforce Developers
 
PDF
10 principles of apex testing
Kevin Poorman
 
PPTX
Spring ’15 Release Preview - Platform Feature Highlights
Salesforce Developers
 
PDF
Webinar: From Sandbox to Production: Demystifying Force.com Release Managemen...
Salesforce Developers
 
PPTX
10 Principles of Apex Testing
Salesforce Developers
 
PDF
Force.com Friday: Intro to Force.com
Salesforce Developers
 
PDF
Summer '13 Developer Preview Webinar
Salesforce Developers
 
PDF
Winter 14 Release Developer Preview
Salesforce Developers
 
PPTX
The Open-source Eclipse Plugin for Force.com Development, Summer ‘14
Salesforce Developers
 
PPTX
Salesforce DX for Accidential Admins
Martin Humpolec
 
PPTX
Mastering Force.com: Advanced Visualforce
Salesforce Developers
 
PPTX
Dive Deep into Apex: Advanced Apex!
Salesforce Developers
 
PPTX
JavaScript Integration with Visualforce
Salesforce Developers
 
PPTX
Advanced Apex Webinar
pbattisson
 
PPTX
Finding Security Issues Fast!
Salesforce Engineering
 
PPTX
Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)
Salesforce Developers
 
PPTX
Force.com Friday : Intro to Apex
Salesforce Developers
 
PPTX
Intro to Apex - Salesforce Force Friday Webinar
Abhinav Gupta
 
Winter 13 Release Developer Preview Webinar
Salesforce Developers
 
Boost Your Career: Get Cloud-Trained and Certified
Salesforce Developers
 
AppExchange for Developers: Monetize your App in the Cloud Webinar
Salesforce Developers
 
10 principles of apex testing
Kevin Poorman
 
Spring ’15 Release Preview - Platform Feature Highlights
Salesforce Developers
 
Webinar: From Sandbox to Production: Demystifying Force.com Release Managemen...
Salesforce Developers
 
10 Principles of Apex Testing
Salesforce Developers
 
Force.com Friday: Intro to Force.com
Salesforce Developers
 
Summer '13 Developer Preview Webinar
Salesforce Developers
 
Winter 14 Release Developer Preview
Salesforce Developers
 
The Open-source Eclipse Plugin for Force.com Development, Summer ‘14
Salesforce Developers
 
Salesforce DX for Accidential Admins
Martin Humpolec
 
Mastering Force.com: Advanced Visualforce
Salesforce Developers
 
Dive Deep into Apex: Advanced Apex!
Salesforce Developers
 
JavaScript Integration with Visualforce
Salesforce Developers
 
Advanced Apex Webinar
pbattisson
 
Finding Security Issues Fast!
Salesforce Engineering
 
Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)
Salesforce Developers
 
Force.com Friday : Intro to Apex
Salesforce Developers
 
Intro to Apex - Salesforce Force Friday Webinar
Abhinav Gupta
 
Ad

More from Salesforce Developers (20)

PDF
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Salesforce Developers
 
PDF
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Salesforce Developers
 
PDF
Local development with Open Source Base Components
Salesforce Developers
 
PPTX
TrailheaDX India : Developer Highlights
Salesforce Developers
 
PDF
Why developers shouldn’t miss TrailheaDX India
Salesforce Developers
 
PPTX
CodeLive: Build Lightning Web Components faster with Local Development
Salesforce Developers
 
PPTX
CodeLive: Converting Aura Components to Lightning Web Components
Salesforce Developers
 
PPTX
Enterprise-grade UI with open source Lightning Web Components
Salesforce Developers
 
PPTX
TrailheaDX and Summer '19: Developer Highlights
Salesforce Developers
 
PDF
Live coding with LWC
Salesforce Developers
 
PDF
Lightning web components - Episode 4 : Security and Testing
Salesforce Developers
 
PDF
LWC Episode 3- Component Communication and Aura Interoperability
Salesforce Developers
 
PDF
Lightning web components episode 2- work with salesforce data
Salesforce Developers
 
PDF
Lightning web components - Episode 1 - An Introduction
Salesforce Developers
 
PDF
Migrating CPQ to Advanced Calculator and JSQCP
Salesforce Developers
 
PDF
Scale with Large Data Volumes and Big Objects in Salesforce
Salesforce Developers
 
PDF
Replicate Salesforce Data in Real Time with Change Data Capture
Salesforce Developers
 
PDF
Modern Development with Salesforce DX
Salesforce Developers
 
PDF
Get Into Lightning Flow Development
Salesforce Developers
 
PDF
Integrate CMS Content Into Lightning Communities with CMS Connect
Salesforce Developers
 
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Salesforce Developers
 
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Salesforce Developers
 
Local development with Open Source Base Components
Salesforce Developers
 
TrailheaDX India : Developer Highlights
Salesforce Developers
 
Why developers shouldn’t miss TrailheaDX India
Salesforce Developers
 
CodeLive: Build Lightning Web Components faster with Local Development
Salesforce Developers
 
CodeLive: Converting Aura Components to Lightning Web Components
Salesforce Developers
 
Enterprise-grade UI with open source Lightning Web Components
Salesforce Developers
 
TrailheaDX and Summer '19: Developer Highlights
Salesforce Developers
 
Live coding with LWC
Salesforce Developers
 
Lightning web components - Episode 4 : Security and Testing
Salesforce Developers
 
LWC Episode 3- Component Communication and Aura Interoperability
Salesforce Developers
 
Lightning web components episode 2- work with salesforce data
Salesforce Developers
 
Lightning web components - Episode 1 - An Introduction
Salesforce Developers
 
Migrating CPQ to Advanced Calculator and JSQCP
Salesforce Developers
 
Scale with Large Data Volumes and Big Objects in Salesforce
Salesforce Developers
 
Replicate Salesforce Data in Real Time with Change Data Capture
Salesforce Developers
 
Modern Development with Salesforce DX
Salesforce Developers
 
Get Into Lightning Flow Development
Salesforce Developers
 
Integrate CMS Content Into Lightning Communities with CMS Connect
Salesforce Developers
 

Advanced Testing and Debugging using the Developer Console webinar

  • 1. Advanced Testing & Debugging Getting the Most from the Developer Console Josh Kaplan, Salesforce.com, Sr. Product Manager @Josh SFDC Tony Tonev, Salesforce.com, Software Engineer
  • 2. Safe harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward- looking statements. Join the conversation: #forcewebinar
  • 3. Speakers Josh Kaplan Tony Tonev Sr. Product Manager, Software Engineer @JoshSFDC Join the conversation: #forcewebinar
  • 4. Follow Developer Force for the latest news @forcedotcom / #forcewebinar Developer Force – Force.com Community +Developer Force – Force.com Community Developer Force Developer Force group Join the conversation: #forcewebinar
  • 5. Have questions? §  We have an expert support team at the ready to answer your questions during the webinar. §  Ask your questions via the GoToWebinar Questions Pane. §  The speaker(s) will choose top questions to answer live at the end of the webinar. §  Please post your questions as we go along! §  Only post your question once; we’ll get to it as we go down the list. Join the conversation: #forcewebinar
  • 6. Agenda §  Testing Apex •  Why test? •  When test? •  How test? §  Code Coverage §  Advanced Debugging •  Log Inspector •  Checkpoints –  Set checkpoints –  View memory contents –  Inject logic Join the conversation: #forcewebinar
  • 7. Assumptions This webinar assumes the following: §  You know… •  …what Apex code is •  …how to launch the Developer Console §  You have… •  …used the Developer Console before •  …done debugging before But don’t worry, you can catch up via these resources: http://wiki.developerforce.com/page/Webinar:_Intro_to_Apex_Code_(2012-July) Join the conversation: #forcewebinar
  • 8. Why test? Join the conversation: #forcewebinar
  • 9. Testing Protects You From Others Join the conversation: #forcewebinar
  • 10. Testing Protects You From Us Join the conversation: #forcewebinar
  • 11. When should I test? Write tests throughout development §  Before development §  After development §  In their own @isTest classes You should test frequently! §  During development §  Before deployment §  During deployment §  During release preview window Join the conversation: #forcewebinar
  • 12. How can I run tests on my code? Salesforce provides several avenues for test execution §  Developer Console §  “Setup” User Interface §  Automatically during deployment §  Through the Tooling API *COMING SOON!* Join the conversation: #forcewebinar
  • 13. Developer Console Join the conversation: #forcewebinar
  • 14. Testing in “Setup” User Interface Join the conversation: #forcewebinar
  • 15. Asynchronous Test Execution Salesforce runs your tests in the background so they can be processed as resources allow. §  Asyncronous testing runs tests in no particular order §  It allows you to see status of tests as they complete §  The process is integrated into developer console Join the conversation: #forcewebinar
  • 16. Code Coverage We store the results of your testing to calculate code coverage, and show you these stored results in the developer console. §  Aggregate coverage for each class and trigger §  Coverage by each test method on each class and trigger §  CAUTION! These results are stale as soon as you change the test or the class Join the conversation: #forcewebinar
  • 17. Let’s See The Demo Already! Join the conversation: #forcewebinar
  • 18. Use Case: UberJet Join the conversation: #forcewebinar
  • 19. Debugging Code Join the conversation: #forcewebinar
  • 20. Debugging with the Log Inspector §  Execution Log •  The entire transaction, line by line and more §  Source / Variables •  Current code location and variable values §  Stack •  How you got where you are •  How long each step took §  Execution Overview •  Limits •  Performance per action, per method Join the conversation: #forcewebinar
  • 21. When the log is not enough…checkpoints! A checkpoint is like a breakpoint, but cloud-approved §  Heap •  Provide a view into the memory at the checkpoint §  SOQL query •  Run a SOQL query at the checkpoint §  Apex Code •  Inject a miniature apex snippet at the checkpoint Join the conversation: #forcewebinar
  • 22. Recap §  Testing Is Important, Testing Is Easy •  Test always •  Use the Developer Console to see results and code coverage statistics §  Debugging Is Hard, Debugging Can Be Easier •  The Log Inspector provides many views into the haystack •  Use Checkpoints to see the state of the world at a critical point Join the conversation: #forcewebinar
  • 23. Resources §  Developer Console topic page: http://wiki.developerforce.com/page/Developer_Console §  Next Steps •  Write More Tests! •  Use Developer Console To Run Your Tests •  Use Developer Console To Debug Your Code Join the conversation: #forcewebinar