Non-Fiction, AI Operator, Debugging

AI Debugging Session Course

Feed stack traces and logs to AI for root cause an

by Dumas Ciera

  • English
  • 149 pages
  • 2026
  • SamEnrico

Feed stack traces and logs to AI for root cause analysis, fix suggestions, and reproduction steps that cut hours of manual breakpoint hunting.

Formats

About this book

Feed stack traces and logs to AI for root cause analysis, fix suggestions, and reproduction steps that cut hours of manual breakpoint hunting.

Free sample

Chapter 1: The 2AM Tax--–- The phone rang at 1:47 AM on the Friday after Thanksgiving. I was asleep, but the on-call number has a way of bypassing every “do not disturb” setting ever invented. On the other end was a site reliability engineer named Derek, whose voice carried the particular kind of panic that only comes from watching a revenue graph turn into a cliff.“The rides are failing,” he said. “About thirty percent of them. We can’t figure out why.”I was the staff engineer responsible the critical path that matched drivers to riders.

I’d been at the company for three years, and I’d built large chunks of that system myself. I knew its quirks, its workarounds, its thirteen different ways to fail. But I’d never seen anything like what I was about to walk into.By the time I dragged myself to my laptop and VPNed in, the numbers had gotten worse. Forty-two percent of ride attempts were ending in error. The company was losing roughly forty thousand dollars every ten minutes.

Black Friday meant surge pricing, which meant each failed ride hurt twice as much—lost revenue plus a refund and a coupon to apologize. The on-call Slack channel was scrolling faster than I could read, filled with the particular kind of chaos that happens when twenty smart people all have different theories and zero data.Derek had already pulled the stack traces. They pointed to a null pointer exception in a function called calculate_route_eta. The line of code in question was innocuous: return route.segments.last().estimated_duration_seconds. The stack trace claimed that route.segments was null.

But that was impossible. Route segments were populated at the beginning of the function. They couldn’t be null unless something had corrupted the object in memory.I spent the next two hours doing what every senior engineer has done a thousand times: I set breakpoints. I stepped through the code line by line. I printed variable values to the console.

I added logging statements, redeployed, waited for the crash to happen again, and examined the output. The bug refused to…

This is the end of the free sample. Get the eBook to keep going. Buy now

Read a sample →

Contents

  1. Chapter 1
  2. Chapter 2
  3. Chapter 3
  4. Chapter 4
  5. Chapter 5
  6. Chapter 6
  7. Chapter 7
  8. Chapter 8
  9. Chapter 9
  10. Chapter 10
  11. Chapter 11
  12. Chapter 12

Details

Author
Dumas Ciera
Publisher
SamEnrico
Language
English
Genre
Non-Fiction, AI Operator, Debugging
Released
2026-05-29
Pages (approx.)
149
Available as
eBook, Audiobook

Read better in the ZLOADR app

Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.

More by Dumas Ciera

See all