Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
-
Upload
patrick-lauke -
Category
Technology
-
view
971 -
download
0
Transcript of Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
![Page 1: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/1.jpg)
Catching bugs with Opera DragonflyAN OVERVIEW OF OPERA'S DEVELOPER TOOLS
Patrick H. Lauke / RIT++ / Moscow / 3 April 2012
![Page 4: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/4.jpg)
Opera Dragonfly● “HTML5 web application”● uses application cache (needs one-time load)● rapid release cycle with 3 release channels
![Page 6: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/6.jpg)
![Page 7: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/7.jpg)
JavaScript debugging● syntax errors are “simple” – throw errors ● more insidious: logic errors● difficult to see what's going on inside script
![Page 8: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/8.jpg)
What's going on?● throwing alerts● breakpoints – watches, stack, inspection● console API
![Page 9: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/9.jpg)
![Page 10: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/10.jpg)
![Page 11: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/11.jpg)
remote debugging
![Page 12: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/12.jpg)
Remote debugging● in Opera Dragonfly forever● true remote debugging (look ma', no cables)
![Page 13: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/13.jpg)
![Page 14: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/14.jpg)
![Page 15: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/15.jpg)
![Page 16: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/16.jpg)
![Page 17: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/17.jpg)
![Page 18: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/18.jpg)
![Page 19: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/19.jpg)
![Page 20: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/20.jpg)
![Page 22: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/22.jpg)
![Page 23: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/23.jpg)
![Page 24: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/24.jpg)
![Page 25: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/25.jpg)
![Page 26: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/26.jpg)
![Page 27: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/27.jpg)
Why emulate?● real touch events● viewport● reacts correctly to media queries (device-pixel-ratio, device-width, … )
![Page 28: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/28.jpg)
upcoming features...
![Page 29: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/29.jpg)
my.opera.com/dragonfly/blog/style-profiler-preview
![Page 30: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/30.jpg)
![Page 31: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012](https://reader035.fdocuments.us/reader035/viewer/2022062307/5555cab7d8b42aaf158b49b8/html5/thumbnails/31.jpg)