Sprint 6 Final Project Skills - Debugging & Testing
Using Console, Source-Level, Network, Application tabs, API Errors
Table of Contents
7. Debugging & Testing
Console Debugging
We trace memory using the console.
Code Runner Challenge
Demonstrating Console Debugging hooks.
Lines: 1
Characters: 0
Output
Click "Run" in code control panel to see output ...
Application Debugging
We securely examine local storage and cookies natively.
Code Runner Challenge
Demonstrating Application Debugging / LocalStorage.
Lines: 1
Characters: 0
Output
Click "Run" in code control panel to see output ...
API Error Handling
We deploy try/catch wrappers targeting fetches to prevent game crashes.
Code Runner Challenge
Demonstrating API Error Handling.
Lines: 1
Characters: 0
Output
Click "Run" in code control panel to see output ...
Hit Box Visualization & Network Debugging & Testing
We manually instruct our GameLevel configuration to trace hitboxes by turning gameEnv.showHitboxes = true;. We use Network DevTools tab to check live routes for our game. (No execution required).
Code Runner Challenge
Tracing settings for tools.
Lines: 1
Characters: 0
Output
Click "Run" in code control panel to see output ...