18:27:06:536 blocking send {"id":0,"method":"Debugger.enable"} 18:27:06:581 response {"id":0,"result":{}} 18:27:06:583 blocking send {"id":1,"method":"Page.enable"} 18:27:06:604 response {"id":1,"result":{}} 18:27:06:606 blocking send {"id":2,"method":"Network.enable"} 18:27:06:625 response {"id":2,"result":{}} 18:27:06:627 blocking send {"id":3,"method":"Console.enable"} 18:27:06:640 response {"id":3,"result":{}} 18:27:06:643 blocking send {"id":4,"method":"CSS.enable"} 18:27:06:646 response {"id":4,"result":{}} 18:27:06:829 blocking send {"id":5,"method":"Debugger.setBreakpointByUrl","params":{"lineNumber":43,"columnNumber":0,"url":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/DEMO1\/DebuggerDemo\/debugmeapp-ETM.html"}} 18:27:06:833 response {"id":5,"result":{"locations":[],"breakpointId":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/DEMO1\/DebuggerDemo\/debugmeapp-ETM.html:43:0"}} 18:27:06:835 blocking send {"id":6,"method":"Debugger.setBreakpointByUrl","params":{"lineNumber":36,"columnNumber":0,"url":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/DEMO1\/DebuggerDemo\/debugmeapp-ETM.html"}} 18:27:06:841 response {"id":6,"result":{"locations":[],"breakpointId":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/DEMO1\/DebuggerDemo\/debugmeapp-ETM.html:36:0"}} 18:27:06:843 blocking send {"id":7,"method":"Debugger.setBreakpointByUrl","params":{"lineNumber":32,"columnNumber":0,"url":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/DEMO1\/DebuggerDemo\/RemoteJS.html"}} 18:27:06:851 response {"id":7,"result":{"locations":[],"breakpointId":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/DEMO1\/DebuggerDemo\/RemoteJS.html:32:0"}} 18:27:06:854 blocking send {"id":8,"method":"Debugger.setBreakpointByUrl","params":{"lineNumber":391,"columnNumber":0,"url":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/sampleApp\/sampleApp\/web\/debugger.html"}} 18:27:06:858 response {"id":8,"result":{"locations":[],"breakpointId":"file:\/\/\/home\/martin\/NETBEANS\/WEB_JS\/sampleApp\/sampleApp\/web\/debugger.html:391:0"}} 18:27:06:867 blocking send {"id":9,"method":"DOM.getDocument"} 18:27:06:871 response {"id":9,"result":{"root":{"childNodeCount":1,"nodeId":1,"localName":"","documentURL":"file:\/\/\/tmp\/blank9140711396441850908.html","nodeValue":"","nodeName":"#document","xmlVersion":"","children":[{"childNodeCount":2,"nodeId":2,"localName":"html","nodeValue":"","nodeName":"HTML","children":[{"childNodeCount":0,"nodeId":3,"localName":"head","nodeValue":"","nodeName":"HEAD","attributes":[],"nodeType":1},{"childNodeCount":0,"nodeId":4,"localName":"body","nodeValue":"","nodeName":"BODY","attributes":[],"nodeType":1}],"attributes":[":netbeans_temporary","true"],"nodeType":1}],"nodeType":9}}} 18:27:06:874 send {"id":10,"method":"DOM.requestChildNodes","params":{"nodeId":4}} 18:27:06:880 event {"method":"DOM.setChildNodes","params":{"parentId":4,"nodes":[]}} 18:27:06:883 ignoring response {"id":10,"result":{}} 18:27:06:888 blocking send {"id":11,"method":"DOMDebugger.setXHRBreakpoint","params":{"url":"data.txt"}} 18:27:06:891 response {"id":11,"result":{}} 18:27:06:950 send {"id":12,"method":"DOM.requestChildNodes","params":{"nodeId":3}} 18:27:06:953 event {"method":"DOM.setChildNodes","params":{"parentId":3,"nodes":[]}} 18:27:06:954 ignoring response {"id":12,"result":{}} 18:27:06:955 blocking send {"id":13,"method":"Runtime.evaluate","params":{"expression":"NetBeans.setSelectionMode(false)"}} 18:27:06:981 event {"method":"Debugger.scriptParsed","params":{"startLine":0,"endLine":754,"startColumn":0,"scriptId":"24","url":"","endColumn":0}} 18:27:06:985 event {"method":"Debugger.scriptParsed","params":{"startLine":0,"endLine":0,"startColumn":0,"scriptId":"25","url":"","endColumn":32}} 18:27:06:990 response {"id":13,"result":{"result":{"objectId":"{\"injectedScriptId\":1,\"id\":1}","description":"ReferenceError: NetBeans is not defined","className":"ReferenceError","type":"object"},"wasThrown":true}} 18:27:06:992 blocking send {"id":14,"method":"Runtime.evaluate","params":{"expression":"NetBeans.initNextSelection();"}} 18:27:06:995 event {"method":"Debugger.scriptParsed","params":{"startLine":0,"endLine":0,"startColumn":0,"scriptId":"26","url":"","endColumn":29}} 18:27:06:997 response {"id":14,"result":{"result":{"objectId":"{\"injectedScriptId\":1,\"id\":2}","description":"ReferenceError: NetBeans is not defined","className":"ReferenceError","type":"object"},"wasThrown":true}} 18:27:06:997 blocking send {"id":15,"method":"Runtime.evaluate","params":{"expression":"NetBeans.finishNextSelection();"}} 18:27:07:000 event {"method":"Debugger.scriptParsed","params":{"startLine":0,"endLine":0,"startColumn":0,"scriptId":"27","url":"","endColumn":31}} 18:27:07:003 response {"id":15,"result":{"result":{"objectId":"{\"injectedScriptId\":1,\"id\":3}","description":"ReferenceError: NetBeans is not defined","className":"ReferenceError","type":"object"},"wasThrown":true}} 18:27:07:003 blocking send {"id":16,"method":"Runtime.evaluate","params":{"expression":"NetBeans.initNextHighlight();"}} 18:27:07:006 event {"method":"Debugger.scriptParsed","params":{"startLine":0,"endLine":0,"startColumn":0,"scriptId":"28","url":"","endColumn":29}} 18:27:07:007 response {"id":16,"result":{"result":{"objectId":"{\"injectedScriptId\":1,\"id\":4}","description":"ReferenceError: NetBeans is not defined","className":"ReferenceError","type":"object"},"wasThrown":true}} 18:27:07:007 blocking send {"id":17,"method":"Runtime.evaluate","params":{"expression":"NetBeans.finishNextHighlight();"}} 18:27:07:010 event {"method":"Debugger.scriptParsed","params":{"startLine":0,"endLine":0,"startColumn":0,"scriptId":"29","url":"","endColumn":31}} 18:27:07:011 response {"id":17,"result":{"result":{"objectId":"{\"injectedScriptId\":1,\"id\":5}","description":"ReferenceError: NetBeans is not defined","className":"ReferenceError","type":"object"},"wasThrown":true}} 18:27:07:109 event {"method":"CSS.mediaQueryResultChanged"} 18:27:07:110 event {"method":"DOM.documentUpdated"} 18:27:07:111 blocking send {"id":18,"method":"DOM.getDocument"} 18:27:07:112 event {"method":"Console.messagesCleared"} 18:27:07:114 event {"method":"Debugger.globalObjectCleared"} 18:27:07:130 event {"method":"Profiler.resetProfiles"} 18:27:07:133 event {"method":"Network.requestWillBeSent","params":{"timestamp":1.349108827131004E9,"frameId":"31.2","loaderId":"31.1","requestId":"31.1","initiator":{"type":"other"},"request":{"headers":{"User-Agent":"Mozilla\/5.0 (X11; Linux i686) AppleWebKit\/537.1 (KHTML, like Gecko) Chrome\/21.0.1180.89 Safari\/537.1","Accept":"text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8"},"method":"GET","url":"http:\/\/localhost:8383\/HTML5Application6\/index.html"},"documentURL":"http:\/\/localhost:8383\/HTML5Application6\/index.html"}} 18:27:07:138 response {"id":18,"result":{"root":{"childNodeCount":1,"nodeId":1,"localName":"","documentURL":"","nodeValue":"","nodeName":"#document","xmlVersion":"","children":[{"childNodeCount":2,"nodeId":2,"localName":"html","nodeValue":"","nodeName":"HTML","children":[{"childNodeCount":0,"nodeId":3,"localName":"head","nodeValue":"","nodeName":"HEAD","attributes":[],"nodeType":1},{"childNodeCount":0,"nodeId":4,"localName":"body","nodeValue":"","nodeName":"BODY","attributes":[],"nodeType":1}],"attributes":[],"nodeType":1}],"nodeType":9}}} 18:27:07:138 send {"id":19,"method":"DOM.requestChildNodes","params":{"nodeId":4}} 18:27:07:147 send {"id":20,"method":"DOM.requestChildNodes","params":{"nodeId":3}} 18:27:07:147 send {"id":21,"method":"DOM.requestChildNodes","params":{"nodeId":4}} 18:27:07:148 send {"id":22,"method":"DOM.requestChildNodes","params":{"nodeId":4}} 18:27:07:148 send {"id":23,"method":"DOM.requestChildNodes","params":{"nodeId":4}} 18:27:07:148 event {"method":"DOM.setChildNodes","params":{"parentId":4,"nodes":[]}} 18:27:07:151 ignoring response {"id":19,"result":{}} 18:27:07:156 blocking send {"id":24,"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