switchon@lavalamp.biz
+27(0) 83 419 4851 / +27(0) 21 036 1165
Application & software development
Get A Quote

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact
    get started with bitbucket piplines: a simple php composer pipeline
    Get Started With Bitbucket Pipelines: A simple PHP Composer Pipeline
    Oct 16, 2020
    comparing woocommerce vs squrespace vs shopify vs wix
    Comparing WooCommerce vs Squarespace vs Shopify vs Wix in 2020
    Nov 2, 2020

    Debugging Best Practices

    Categories
    • Software Development
    • Web Development
    Tags
    • best practices
    • bugs
    • debug
    • debugging
    • debugging best practices
    • develop
    • errors
    • google
    • logs
    • software development
    • source control
    • stack overflow
    • web development
    debugging best pracctices
    debugging best pracctices

    Bugs and Errors are common in Software Development. It happens to the best of us. Using the below points will be helpful when you're debugging your code.


    Go through your code


    Before you look at any logs or monitoring tools, go through the code that's causing the error. If you read through the code, you'll understand it and often times see what it is you're doing wrong.


    Look at the error logs


    Use all available logs and monitoring tools. The more information you have, the better you'll be able to understand the problem and resolve it. Modern Browsers, such as Google Chrome, also provide tools for developers to make use of.


    Don't develop Tunnel Vision


    You don't want to be sitting for hours, looking at the same line of code and blanking out. Take a step back, take a break, and tackle the issue with a fresh mind.


    Ask for help


    A second pair of eyes is always helpful, especially if you've developed tunnel vision. Someone else might be more experienced with the issue, or they can present other ideas you've not thought of. Even just thinking about the problem out loud could be helpful.


    Use Source Control


    Going through your latest git commits might will show you what's changed. This is especially helpful with multiple people working on the same project, and it might show you what's causing the issue. You can then Rollback the change or create a Hot Fix for it.


    Google is your friend


    If all else fails, search for your problem using Google or Stackoverflow. Your problem might not be new, and someone else might have already posted a solution to it.

    Contact us


      Related posts:

      laravel livewireLaravel Livewire errors in app insightsUnhandled Promises Sent Through To App Insights In Node JS easily view your laravel logs using laravel log viewerEasily View Your Laravel Logs Using Laravel Log Viewer benefits of developer journal5 Benefits Of Having A Developer Journal
      Share
      25
      Taylor Plaatjies
      Taylor Plaatjies

      Leave a Reply Cancel reply

      Your email address will not be published. Required fields are marked *

      Lava Lamp Lab


      Like technology, a lava lamp constantly changes form, producing new conditions with every passing moment



      lava lamp lab facebook   lava lamp lab twitter   lava lamp lab linkedin   lava lamp lab instgram

      Services


      Application & software development

      Outsourced software development

      Project based resourcing

      Digital marketing & consulting

      Graphic design & consulting

      UI / UX design & consulting

      Contact Us


      +27(0) 83 419 4851

      +27(0) 21 036 1165


      switchon@lavalamp.biz


      Unit 4 Monaco Square,
      14 Church Street,
      Durbanville,
      Cape Town, 7550

      NBConsult Group


      nbconsult
      nbconnect msp
      nbclearning
      river broadband
      designer needed
      © 2022 Lava Lamp Lab (Pty) Ltd | All Rights Reserved | Privacy Policy
      Contact us now

        Application & software development

          Outsourced software development

            Project based resourcing

              Digital marketing & consulting

                Graphic design & consulting

                  UI/UX design & consulting

                    Lease an expert

                      Recruitment services

                        We are using cookies to give you the best experience on our website.

                        You can find out more about which cookies we are using or switch them off in settings.

                        Lava Lamp Lab
                        Powered by  GDPR Cookie Compliance
                        Privacy Overview

                        This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

                        Strictly Necessary Cookies

                        Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

                        If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

                        3rd Party Cookies

                        This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.

                        Keeping this cookie enabled helps us to improve our website.

                        Please enable Strictly Necessary Cookies first so that we can save your preferences!

                        Cookie Policy

                        More information about our Cookie Policy