18:29:00:113 blocking send {"id":78,"method":"Debugger.enable"} 18:29:00:143 response {"id":78,"result":{}} 18:29:00:148 blocking send {"id":79,"method":"Page.enable"} 18:29:00:154 response {"id":79,"result":{}} 18:29:00:154 blocking send {"id":80,"method":"Network.enable"} 18:29:00:155 response {"id":80,"result":{}} 18:29:00:155 blocking send {"id":81,"method":"Console.enable"} 18:29:00:155 response {"id":81,"result":{}} 18:29:00:155 blocking send {"id":82,"method":"CSS.enable"} 18:29:00:156 response {"id":82,"result":{}} 18:29:00:157 event {"method":"Network.responseReceived","params":{"response":{"headers":{"":"HTTP\/1.1 200 OK","Content-Length":"453","Content-Type":"text\/html"},"connectionReused":false,"status":200,"connectionId":0,"statusText":"","mimeType":"text\/html","url":"http:\/\/localhost:8383\/HTML5Application6\/index.html","fromDiskCache":false},"timestamp":1.349108940157025E9,"frameId":"0.1","loaderId":"0.2","requestId":"0.3","type":"Document"}} 18:29:00:168 event {"method":"Console.messagesCleared"} 18:29:00:168 event {"method":"Profiler.resetProfiles"} 18:29:00:169 event {"method":"Page.frameNavigated","params":{"frame":{"id":"0.1","loaderId":"0.2","securityOrigin":"http:\/\/localhost:8383","mimeType":"text\/html","url":"http:\/\/localhost:8383\/HTML5Application6\/index.html"}}} 18:29:00:169 event {"method":"Debugger.globalObjectCleared"} 18:29:00:169 event {"method":"Network.requestWillBeSent","params":{"timestamp":1.349108940169226E9,"frameId":"0.1","loaderId":"0.2","initiator":{"lineNumber":10,"type":"parser","url":"http:\/\/localhost:8383\/HTML5Application6\/index.html"},"requestId":"0.4","request":{"headers":{"Referer":"http:\/\/localhost:8383\/HTML5Application6\/index.html","User-Agent":"Mozilla\/5.0 (Linux i686) AppleWebKit\/535.14 (KHTML, like Gecko) JavaFX\/2.2 Safari\/535.14","Accept":"*\/*"},"method":"GET","url":"http:\/\/localhost:8383\/HTML5Application6\/js\/libs\/jquery-1.8.0\/jquery.js"},"documentURL":"http:\/\/localhost:8383\/HTML5Application6\/index.html","stackTrace":[]}} 18:29:00:170 event {"method":"Network.requestWillBeSent","params":{"timestamp":1.349108940169764E9,"frameId":"0.1","loaderId":"0.2","initiator":{"lineNumber":10,"type":"parser","url":"http:\/\/localhost:8383\/HTML5Application6\/index.html"},"requestId":"0.5","request":{"headers":{"Referer":"http:\/\/localhost:8383\/HTML5Application6\/index.html","User-Agent":"Mozilla\/5.0 (Linux i686) AppleWebKit\/535.14 (KHTML, like Gecko) JavaFX\/2.2 Safari\/535.14","Accept":"*\/*"},"method":"GET","url":"http:\/\/localhost:8383\/HTML5Application6\/test.js"},"documentURL":"http:\/\/localhost:8383\/HTML5Application6\/index.html","stackTrace":[]}} 18:29:00:170 event {"method":"Network.dataReceived","params":{"timestamp":1.349108940170357E9,"requestId":"0.3","encodedDataLength":0,"dataLength":453}} 18:29:00:171 event {"method":"Network.loadingFinished","params":{"timestamp":1.349108940170893E9,"requestId":"0.3"}} 18:29:00:193 blocking send {"id":83,"method":"Debugger.setBreakpointByUrl","params":{"lineNumber":43,"columnNumber":0,"url":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/DEMO1\/DebuggerDemo\/debugmeapp-ETM.html"}} 18:29:00:251 response {"id":83,"result":{"locations":[],"breakpointId":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/DEMO1\/DebuggerDemo\/debugmeapp-ETM.html:43:0"}} 18:29:00:252 event {"method":"Network.responseReceived","params":{"response":{"headers":{"":"HTTP\/1.1 200 OK","Content-Length":"259837","Content-Type":"text\/javascript"},"connectionReused":false,"status":200,"connectionId":0,"statusText":"","mimeType":"text\/javascript","url":"http:\/\/localhost:8383\/HTML5Application6\/js\/libs\/jquery-1.8.0\/jquery.js","fromDiskCache":false},"timestamp":1.34910894025156E9,"frameId":"0.1","loaderId":"0.2","requestId":"0.4","type":"Script"}} 18:29:00:252 event {"method":"Network.dataReceived","params":{"timestamp":1.349108940251807E9,"requestId":"0.4","encodedDataLength":0,"dataLength":40960}} 18:29:00:252 blocking send {"id":84,"method":"Debugger.setBreakpointByUrl","params":{"lineNumber":36,"columnNumber":0,"url":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/DEMO1\/DebuggerDemo\/debugmeapp-ETM.html"}} 18:29:00:252 event {"method":"Network.responseReceived","params":{"response":{"headers":{"":"HTTP\/1.1 200 OK","Content-Length":"91","Content-Type":"text\/javascript"},"connectionReused":false,"status":200,"connectionId":0,"statusText":"","mimeType":"text\/javascript","url":"http:\/\/localhost:8383\/HTML5Application6\/test.js","fromDiskCache":false},"timestamp":1.349108940251987E9,"frameId":"0.1","loaderId":"0.2","requestId":"0.5","type":"Script"}} 18:29:00:252 event {"method":"Network.dataReceived","params":{"timestamp":1.34910894025211E9,"requestId":"0.5","encodedDataLength":0,"dataLength":91}} 18:29:00:253 event {"method":"Network.loadingFinished","params":{"timestamp":1.349108940252841E9,"requestId":"0.5"}} 18:29:00:268 response {"id":84,"result":{"locations":[],"breakpointId":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/DEMO1\/DebuggerDemo\/debugmeapp-ETM.html:36:0"}} 18:29:00:268 blocking send {"id":85,"method":"Debugger.setBreakpointByUrl","params":{"lineNumber":32,"columnNumber":0,"url":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/DEMO1\/DebuggerDemo\/RemoteJS.html"}} 18:29:00:269 response {"id":85,"result":{"locations":[],"breakpointId":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/DEMO1\/DebuggerDemo\/RemoteJS.html:32:0"}} 18:29:00:270 blocking send {"id":86,"method":"Debugger.setBreakpointByUrl","params":{"lineNumber":391,"columnNumber":0,"url":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/sampleApp\/sampleApp\/web\/debugger.html"}} 18:29:00:309 response {"id":86,"result":{"locations":[],"breakpointId":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/sampleApp\/sampleApp\/web\/debugger.html:391:0"}} 18:29:00:309 blocking send {"id":87,"method":"DOM.getDocument"} 18:29:00:310 response {"id":87,"result":{"root":{"childNodeCount":3,"localName":"","nodeId":1,"documentURL":"http:\/\/localhost:8383\/HTML5Application6\/index.html","nodeValue":"","nodeName":"#document","xmlVersion":"","children":[{"localName":"","nodeId":2,"nodeValue":"\nTo change this template, choose Tools | Templates\nand open the template in the editor.\n","nodeName":"","nodeType":8},{"localName":"","nodeId":3,"internalSubset":"","publicId":"","nodeValue":"","nodeName":"html","systemId":"","nodeType":10},{"childNodeCount":1,"localName":"html","nodeId":4,"nodeValue":"","nodeName":"HTML","children":[{"childNodeCount":3,"localName":"head","nodeId":5,"nodeValue":"","nodeName":"HEAD","attributes":[],"nodeType":1}],"attributes":[],"nodeType":1}],"nodeType":9}}} 18:29:00:311 blocking send {"id":88,"method":"DOMDebugger.setXHRBreakpoint","params":{"url":"data.txt"}} 18:29:00:312 response {"id":88,"result":{}} 18:29:00:339 send {"id":89,"method":"DOM.requestChildNodes","params":{"nodeId":5}} 18:29:00:340 event {"method":"DOM.setChildNodes","params":{"parentId":5,"nodes":[{"childNodeCount":0,"localName":"title","nodeId":6,"nodeValue":"","nodeName":"TITLE","attributes":[],"nodeType":1},{"childNodeCount":0,"localName":"meta","nodeId":7,"nodeValue":"","nodeName":"META","attributes":["http-equiv","Content-Type","content","text\/html; charset=UTF-8"],"nodeType":1},{"childNodeCount":0,"localName":"script","nodeId":8,"nodeValue":"","nodeName":"SCRIPT","attributes":["src","js\/libs\/jquery-1.8.0\/jquery.js"],"nodeType":1}]}} 18:29:00:340 blocking send {"id":90,"method":"Runtime.evaluate","params":{"expression":"\/\/ Check if the page is initialized already\nif (!(typeof(NetBeans) === 'object'\n && typeof(NetBeans.GLASSPANE_ID) === 'string'\n && document.getElementById(NetBeans.GLASSPANE_ID) !== null)) {\n\nNetBeans = new Object();\n\n\/\/ Name of attribute used to mark document elements created by NetBeans\nNetBeans.ATTR_ARTIFICIAL = ':netbeans_generated';\n\n\/\/ Name of attribute used to mark (temporarily) selected elements\nNetBeans.ATTR_SELECTED = ':netbeans_selected';\n\n\/\/ Name of attribute used to mark (temporarily) highlighted elements\nNetBeans.ATTR_HIGHLIGHTED = ':netbeans_highlighted';\n\n\/\/ ID of canvas element that serves as a glass-pane\nNetBeans.GLASSPANE_ID = 'netbeans_glasspane';\n\n\/\/ Selected elements\nNetBeans.selection = [];\n\n\/\/ Next selection (under construction)\nNetBeans.nextSelection = [];\n\n\/\/ Highlighted elements\nNetBeans.highlight = [];\n\n\/\/ Next highlight (under construction)\nNetBeans.nextHighlight = [];\n\n\/\/ Initializes\/clears the next selection\nNetBeans.initNextSelection = function() {\n this.nextSelection = [];\n};\n\n\/\/ Initializes\/clears the next highlight\nNetBeans.initNextHighlight = function() {\n this.nextHighlight = [];\n this.lastHighlighted = null;\n};\n\n\/\/ Adds an element into the next selection\nNetBeans.addElementToNextSelection = function(element) {\n if (this.nextSelection.indexOf(element) === -1) {\n this.nextSelection.push(element);\n }\n};\n\n\/\/ Adds an element into the next highlight\nNetBeans.addElementToNextHighlight = function(element) {\n if (this.nextHighlight.indexOf(element) === -1) {\n this.nextHighlight.push(element);\n this.lastHighlighted = element;\n }\n};\n\n\/\/ Finishes the next selection, i.e., switches the next selection to current selection\nNetBeans.finishNextSelection = function() {\n this.selection = this.nextSelection;\n this.repaintGlassPane();\n};\n\n\/\/ Finishes the next highlight, i.e., switches the next highlight to current highlight\nNetBeans.finishNextHighlight = function() {\n this.highlight = this.nextHighlight;\n this.repaintGlassPane();\n};\n\n\/\/ The last element the mouse was hovering over\nNetBeans.lastHighlighted = null;\n\n\/\/ Inserts a glass-pane into the inspected page\nNetBeans.insertGlassPane = function() {\n var self = this;\n var zIndex = 50000;\n \n \/\/ Canvas\n var canvas = document.createElement('canvas');\n canvas.id = this.GLASSPANE_ID;\n canvas.setAttribute(this.ATTR_ARTIFICIAL, true);\n canvas.style.position = 'fixed';\n canvas.style.top = 0;\n canvas.style.left = 0;\n canvas.style.zIndex = zIndex;\n canvas.style.pointerEvents = 'none';\n var getElementForEvent = function(event) {\n canvas.style.visibility = 'hidden';\n var element = document.elementFromPoint(event.clientX, event.clientY);\n \/\/ Do not select helper elements introduced by page inspection\n while (element.getAttribute(self.ATTR_ARTIFICIAL)) { \n element = element.parentNode;\n }\n canvas.style.visibility = 'visible';\n return element;\n };\n\n \/\/ Selection handler\n canvas.addEventListener('click', function(event) {\n var element = getElementForEvent(event);\n var ctrl = event.ctrlKey;\n var meta = event.metaKey;\n var value;\n if (ctrl || meta) {\n var index = NetBeans.selection.indexOf(element);\n if (index === -1) {\n value = 'add';\n } else {\n value = 'remove';\n }\n } else {\n value = 'set';\n }\n \/\/ HACK: notify NetBeans\n element.setAttribute(self.ATTR_SELECTED, value);\n element.removeAttribute(self.ATTR_SELECTED);\n });\n\n \/\/ Mouse-over highlight\n canvas.addEventListener('mousemove', function(event) {\n var element = getElementForEvent(event);\n if (self.lastHighlighted !== element) {\n self.lastHighlighted = element;\n \/\/ HACK: notify NetBeans\n element.setAttribute(self.ATTR_HIGHLIGHTED, 'set');\n element.removeAttribute(self.ATTR_HIGHLIGHTED);\n }\n });\n\n \/\/ Clear highlight when the mouse leaves the window\n canvas.addEventListener('mouseout', function(e) {\n if (e.toElement === null) {\n self.lastHighlighted = null;\n \/\/ HACK notify NetBeans\n canvas.setAttribute(self.ATTR_HIGHLIGHTED, 'clear');\n canvas.removeAttribute(self.ATTR_HIGHLIGHTED);\n }\n });\n\n document.body.appendChild(canvas);\n\n window.addEventListener('scroll', this.repaintGlassPane);\n window.addEventListener('resize', this.repaintGlassPane);\n var MutationObserver = window.MutationObserver || window.WebKitMutationObserver;\n if (MutationObserver) {\n var observer = new MutationObserver(function(mutations) {\n var importantChange = false;\n for (var i=0; i