Top Banner
Scratch Depuración de errores
21

Depuracion errores scratch

Apr 15, 2017

Download

Education

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Depuracion errores scratch

Scratch Depuración de errores

Page 2: Depuracion errores scratch

•  Depurar

•  Prevenir errores

•  Encontrar errores

•  Errores típicos

 

SUMARIO

Page 3: Depuracion errores scratch

Inspeccionar código que no funciona es una de las tareas más arduas de un programador

Depurar errores

Page 4: Depuracion errores scratch

•  Código ordenado y modular

•  Dejar comentarios en los programas

•  Nombres significativos

•  Desarrollo iterativo e incremental

PREVENIR ERRORES

Page 5: Depuracion errores scratch

•  Código ordenado y modularizado

PREVENIR ERRORES

Page 6: Depuracion errores scratch

•  Dejar comentarios en los programas

PREVENIR ERRORES

Page 7: Depuracion errores scratch

•  Usar nombres significativos

PREVENIR ERRORES

Page 8: Depuracion errores scratch

•  Ser iterativo e incremental

PREVENIR ERRORES

Programar OBJETIVO PROBAR AÑADIR CÓDIGO

Page 9: Depuracion errores scratch

•  Seguir el proceso de la computadora

•  Mostrar valores

•  Inicializar fases avanzadas mediante teclado

•  Aislar los errores

ENCONTRAR ERRORES

Page 10: Depuracion errores scratch

•  Mostrar valores

ENCONTRAR ERRORES

Page 11: Depuracion errores scratch

•  Inicializar fases avanzadas mediante teclado

ENCONTRAR ERRORES

Page 12: Depuracion errores scratch

•  Cosas que ocurren tan rápido que no las

vemos

•  Orden de los comandos

•  Sincronización de procesos

•  Incompatibilidad

•  Órdenes contrarias

•  No inicializar

ERRORES TÍPICOS

Page 13: Depuracion errores scratch

•  Cosas que ocurren tan rápido que no las vemos

ERRORES TÍPICOS

Page 14: Depuracion errores scratch

•  Orden de los comandos

ERRORES TÍPICOS

Page 15: Depuracion errores scratch

Uno de los errores es que los objetos no se

sincronicen adecuadamente

La forma de sincronizar influye en la estructura

del código

•  Tiempo: solo proyectos sencillos

•  Mensajes: código muy segmentado

•  Variables: código más compacto

SINCRONIZACIÓN

Page 16: Depuracion errores scratch

•  Sincronización de procesos

ERRORES TÍPICOS

Page 17: Depuracion errores scratch

•  Ordenes contrarias

ERRORES TÍPICOS

Page 18: Depuracion errores scratch

•  Incompatibilidad

ERRORES TÍPICOS

Page 19: Depuracion errores scratch

•  No inicializar

ERRORES TÍPICOS

Page 20: Depuracion errores scratch

     Se  ha  usado  como  referencia  el  ar1culo  Deguggins  Scripts  h6p://wiki.scratch.mit.edu/wiki/Debugging_Scripts      

   

 

REFERENCIA

Page 21: Depuracion errores scratch

     Este  guía  se  distribuye  bajo  licencia  Reconocimiento-­‐  ComparErIgual  CreaEve  commons  4.0    

   

(cc)  2016  José  Pujol  Pérez  Some  rights  reserved.  This  work  licensed  under  CreaEve  Commons  A6ribuEon-­‐ShareAlike  License.  To  view  a  copy  of  full  license,  see                  

h6p://creaEvecommons.org/licenses/by-­‐sa/3.0/  or  write  to  CreaEve  Commons,  559  Nathan  Abbo6  Way,  Stanford,  California  94305,  USA.    

Some  of  the  figures  have  been  taken  from  the  Internet  Source,  and  author  and  licence  if  known,  is  specified.    

For  those  images,  fair  use  applies.    

 

licencia