Correcting Code with Cloud Debugger

1.25 hours
  • 5 Learning Objectives

About this Hands-on Lab

Debugging code isn’t just needed some of the time. It is, almost always, a necessity. Google Cloud Debugger is an excellent tool for working with code deployed to GCP, whether as an App Engine website or a GKE application. In this hands-on lab, you’ll debug your team’s latest release by using the various options available to you in the Cloud Debugger tool chest.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Deploy an App Engine Application

Retrieve the working files, deploy, and test the application.

Examine Relevant Stack Trace

Set up Cloud Debugger to be used and take a snapshot of the pertinent code placement.

Examine Relevant Data in Logs

Set up a logpoint noting the current characters output.

Use Additional Debugger Strategies

Execute a conditional snapshot and one that displays character array values in an expression.

Fix and Test Application

Adjust code as necessary, redeploy, and test the app.

Additional Resources

Your team is preparing its latest online sensation, Reversi! Unfortunately, some beta users are reporting a problem. You need to investigate, take steps with Cloud Debugger to figure out the problem, implement a solution, and then redeploy and test the app.

  1. Enable the API.
  2. Deploy the app and discover the issue.
  3. Take a Cloud Debugger snapshot.
  4. Set a Cloud Debugger logpoint.
  5. Take a conditional snapshot.
  6. Take a snapshot with expressions.
  7. Debug the code.
  8. Redeploy the app.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!