Startec

Startec

What My Cousin Vinny can teach us about debugging

Mai 16, às 18:02

·

4 min de leitura

·

0 leituras

If you haven’t seen My Cousin Vinny yet, go watch it real quick, we’ll wait. Great movie, right? Marisa Tomei absolutely deserved her Academy Award. In case you didn’t watch a whole movie in between the first...
What My Cousin Vinny can teach us about debugging

Cover image for What My Cousin Vinny can teach us about debugging

If you haven’t seen My Cousin Vinny yet, go watch it real quick, we’ll wait.

Great movie, right? Marisa Tomei absolutely deserved her Academy Award.

In case you didn’t watch a whole movie in between the first and second line of this post, the central plot of the movie involves two people on trial for a crime they didn’t commit. There are multiple witnesses who all claim to have seen them and they call up one of their cousins (Vinny) to defend them (this summary doesn’t come close to doing it justice though).

What does that have to do with debugging customer issues? Well, there’s actually a few things:

Witnesses are unreliable

If you’ve ever been in Customer Success, or just been on the receiving end of an unusual ticket that you need to fix, you know that your customer’s account of what’s happening is just one piece of the puzzle.

And while I would recommend…

Still from My Cousin Vinny

Pictured here: not an ideal customer success strategy

…yelling at them until they admit that grits take 20 minutes to cook (or whatever your products version of that is), you should clarify exactly what the user is seeing. That way you won’t waste a ton of time chasing down the wrong issue.

A simple comment like “I can’t edit my settings” could mean anything from “Your APIs are down” to “The validation error isn’t displaying correctly” to “Someone changed my permissions and I am not allowed to edit settings anymore.” One of those isn’t even a bug!

Your questions might be BS

It’s really easy when you know your product inside and out to make assumptions about what a bug can be. The unfortunate truth is that those assumptions can blind you to real issues.

Still from My Cousin Vinny

Pictured here: your users as you ask a BS question

This can be made worse if you go into a debugging situation assuming the customer doesn’t know as much as they do.

This might feel somewhat contradictory to the first point, but I don’t think it is. Your customers can be mistaken or use different language than you would use, but they still are seeing behavior that they weren’t expecting. If you ask your questions assuming you already know the answer, you might end up missing the real customer issue or a scarier underlying bug.

If only I knew what he knows

Still from My Cousin Vinny

While having a conversation with a customer about what they are seeing is a good first step, you may need to rely on other sources to help you fix it. You can think of the entire process as collecting evidence and the conversation/bug report is just one piece of that.

There are tools like Sentry which can provide stack traces or you can set up an ELK stack for managing your logs/traces. At PropelAuth, we introduced user impersonation so you log into your product as your customer and see what they see.

The amount of evidence you need to gather will vary depending on the situation. However, having a few tools in your toolbelt ahead of time will simplify any process that involves debugging customer issues.

Closing arguments

Debugging may seem like a simple process, but it actually can be incredibly noisy. The next time you are struggling with a bug that you just can’t reproduce, try rechecking your assumptions. Does the user’s report of what happened make sense or do you need to clarify something? Is there more information you can gather that will help you get to the bottom of it?

If you aren’t careful, you might be accidentally convicted of murder (or… you know, whatever your product’s equivalent of that is).


Continue lendo

DEV

Is It Burnout or Job Dissatisfaction?
Once suspended, devteam will not be able to comment or publish posts until their suspension is removed. Once unsuspended, devteam will be able to comment and publish posts again. Once...

Hoje, às 07:00

Hacker News

Experiences Won't Make You Happier Than Possessions
You will be happier if you spend your money on experiences rather than possessions… or so says the modern truism, supposedly proven by psychological science. Researchers call it the “experience...

Hoje, às 06:57

DEV

Left Shift Bitwise Operator in C Programming (Short Trick)
Read next Leveraging Cache to improve Web Performance Jakub Andrzejewski - May 8 How to develop an online code compiler using Java and Docker. Zakaria Maaraki - Apr...

Hoje, às 06:49

DEV

How to implement subscription model using LemonSqueezy in Next.js (13.4 stable app router)
Table of contents Introduction Getting Started Setup Next.js app User Registration Setup LemonSqueezy account How subscription works Implementing Subscription Creating a checkout Synchronization with...

Hoje, às 06:00

DEV

How to FIND the QUESTIONS that will be in an interview
Trying to figure out what exact areas to study/practice to prep for an upcoming tech interview can be stressful! In order to maximize your chances of success and ensure a strong performance during the...

Hoje, às 04:08

DEV

Injecting AWS secrets to HarperDB container with Python
In this post we'll see how we can inject the username and password secrets stored in AWS as environmental variables to the HarperDB container in a few ways. First, we would cover some AWS Secrets manager and...

Hoje, às 02:28

AI | Techcrunch

Explaining Blockchain Capital's Big Bet on an Eyeball-Scanning Orb
This week, Worldcoin, an outfit that aims to serve as proof of personhood in a world where it’s harder by the day to distinguish a human from a bot, raised $115 million in Series C funding. Led by the 10-year-old venture firm Blockchain Capital, whose bets have included Coinbase, Kraken and OpenSea, the investment brings […]

Hoje, às 01:47

TabNews

Como eu aprendi html e css · LucasgSaint
COMEÇO No começo eu ficava muito confolso de como eu vou aprende programação, Eu começa a estuda e do nada perdia o foco, Princilpalmente com tiktok, ai depois eu ficava frustado, Eu tinh...

Hoje, às 00:50

Discovery

YouTube TV oferece transmissões ilimitadas do NFL Sunday Ticket para assinantes
O YouTube TV está se preparando para lançar o NFL Sunday Ticket e oferecerá transmissões ilimitadas aos assinantes que comprarem o pacote. Inicialmente, a plataforma havia limitado as transmissões...

Mai 26, às 22:00

HackerNoon

Founding Developer of WordPress: I Just Paid for Twitter Blue - Here's Why | HackerNoon
Start WritingNotificationssee moreFounding Developer of WordPress: I Just Paid for Twitter Blue - Here's Why [email protected] 26th 2023 New Story by @techtweeter Too Long; Didn't Read3. I believe in...

Mai 26, às 21:45