Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

34
Catching bugs with Opera Dragonfly AN OVERVIEW OF OPERA'S DEVELOPER TOOLS Patrick H. Lauke / RIT++ / Moscow / 3 April 2012

Transcript of Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

Page 1: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

Catching bugs with Opera DragonflyAN OVERVIEW OF OPERA'S DEVELOPER TOOLS

Patrick H. Lauke / RIT++ / Moscow / 3 April 2012

Page 2: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

www.opera.com/developer/tools

Page 3: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

www.opera.com/dragonfly

Page 4: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

Opera Dragonfly● “HTML5 web application”● uses application cache (needs one-time load)● rapid release cycle with 3 release channels

Page 5: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

my.opera.com/dragonfly/blog

Page 6: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 7: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

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

What's going on?● throwing alerts● breakpoints – watches, stack, inspection● console API

Page 9: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 10: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 11: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

remote debugging

Page 12: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

Remote debugging● in Opera Dragonfly forever● true remote debugging (look ma', no cables)

Page 13: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 14: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 15: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 16: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 17: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 18: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 19: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 20: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 21: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

www.opera.com/developer/tools/mobile

Page 22: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 23: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 24: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 25: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 26: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 27: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

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

upcoming features...

Page 29: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

my.opera.com/dragonfly/blog/style-profiler-preview

Page 30: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 31: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012
Page 32: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

my.opera.com/dragonfly/blog

Page 33: Catching bugs with Opera Dragonfly - RIT++ 03.04.2012

https://bitbucket.org/scope/dragonfly-stp-1/