PDA

View Full Version : Debug fiddle



bambam
27 Oct 2015, 7:53 AM
Hi!

Open new fiddle: https://fiddle.sencha.com/#home

Add 'debugger' before alert in launch().
(Don't forget to turn on dev tools or any other debugger)

Run fiddle.

Expected result: we have break on 'debugger' line (usually it's dynamic javascript that shown as VM tab in source panel in Dev tools)

Actual result: we have break on launch() (if we look at callstack) but in source panel break is on <style> block in (index) page and there is no visible javascript code of the launch function...

Tested in latest Chrome, Chrome Canary, latest Firefox with firebug and IE11.

Why does it happen?

mitchellsimoens
27 Oct 2015, 8:39 AM
Further discussion was on https://www.sencha.com/forum/showthread.php?293867-Sencha-Fiddle-Developer-Tools