Sproken
B1Inglés·20 tarjetas

Debuggear en inglés

Describir el bug, reproducirlo, diagnosticarlo y corregirlo.

El vocabulario del debugging es fijo: repro (reproducir el problema), stack trace (la pila de llamadas), race condition (problema de concurrencia). Y la pregunta que siempre te van a hacer: « can you reproduce it? ». Buena noticia: en español tech ya decimos « bug », « log » y « deploy », pero cuidado con las preposiciones.

A concentrated professional working at a computer in a modern office setting.
Foto: cottonbro studio en Pexels
  1. 1

    There's a bug in production.

    Hay un bug en producción.

  2. 2

    Can you reproduce it?

    ¿Lo puedes reproducir?

  3. 3

    It only happens on a page reload.

    Solo pasa cuando se recarga la página.

  4. 4

    I can't reproduce it locally.

    No lo puedo reproducir en local.

  5. 5

    What are your repro steps for that one?

    ¿Cuáles son tus pasos para reproducir ese?

  6. 6

    Do you have the full stack trace from the log?

    ¿Tienes el stack trace completo del log?

  7. 7

    I'll paste it in the ticket right now.

    Ahora mismo lo pego en el ticket.

  8. 8

    The errors started after yesterday's deploy.

    Los errores empezaron después del deploy de ayer.

  9. 9

    Let's look at what shipped in that deploy.

    Veamos qué salió en ese deploy.

  10. 10

    I think it's a race condition.

    Creo que es una race condition.

  11. 11

    It happens about one in twenty times.

    Pasa más o menos una de cada veinte veces.

  12. 12

    That explains why it's flaky.

    Eso explica por qué es intermitente.

  13. 13

    I'll add some logging around it.

    Voy a agregar logs alrededor.

  14. 14

    Found it, it's a null.

    Lo encontré, es un null.

  15. 15

    We're not checking for it before we use it.

    No estamos verificando que exista antes de usarlo.

  16. 16

    I'll add a guard and a test.

    Voy a agregar una validación y un test.

  17. 17

    Should we push a hotfix?

    ¿Subimos un hotfix?

  18. 18

    Or should we roll it back?

    ¿O hacemos rollback?

  19. 19

    Rolling back is faster and safer.

    Hacer rollback es más rápido y más seguro.

  20. 20

    I'll keep an eye on the logs for an hour.

    Voy a vigilar los logs durante una hora.