This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Probably not debugger issue. But I'd like to help with evaluation. I'm able to set breakpoint into javascript file, but when I debug PhoneGap application on iPad, I don't see green line, when debugger stops on breakpoint. See attached output from webkit protocol: 18:15:28:175 blocking send {"id":226,"method":"Debugger.setBreakpointByUrl","params":{"lineNumber":201,"columnNumber":0,"url":"file:\/\/\/var\/mobile\/Applications\/05056CEE-00F8-438F-A918-D8858D219479\/PhoneGapSample.app\/www\/js\/main.js"}} 18:15:28:184 response {"id":226,"result":{"locations":[{"lineNumber":201,"scriptId":"58833168","columnNumber":0}],"breakpointId":"file:\/\/\/var\/mobile\/Applications\/05056CEE-00F8-438F-A918-D8858D219479\/PhoneGapSample.app\/www\/js\/main.js:201:0"}} 18:15:32:666 event {"method":"DOM.attributeModified","params":{"nodeId":234,"name":"class","value":"ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-corner-bottom"}} 18:15:32:668 event {"method":"DOM.attributeModified","params":{"nodeId":234,"name":"class","value":"ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-corner-bottom ui-btn-hover-c"}} 18:15:32:669 event {"method":"DOM.attributeModified","params":{"nodeId":234,"name":"class","value":"ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-corner-bottom ui-btn-hover-c ui-btn-down-c"}} 18:15:32:820 event {"method":"DOM.attributeModified","params":{"nodeId":234,"name":"class","value":"ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-corner-bottom ui-btn-hover-c"}} 18:15:32:821 event {"method":"DOM.attributeModified","params":{"nodeId":234,"name":"class","value":"ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-corner-bottom ui-btn-hover-c ui-btn-up-c"}} 18:15:32:822 event {"method":"DOM.attributeModified","params":{"nodeId":234,"name":"class","value":"ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-corner-bottom ui-btn-hover-c ui-btn-up-c ui-btn-active"}} 18:15:32:823 event {"method":"DOM.attributeModified","params":{"nodeId":234,"name":"class","value":"ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-corner-bottom ui-btn-up-c ui-btn-active"}} 18:15:32:876 event {"method":"DOM.characterDataModified","params":{"nodeId":10,"characterData":"About"}} 18:15:32:880 event {"method":"DOM.attributeModified","params":{"nodeId":19,"name":"class","value":"ui-page ui-body-c"}} 18:15:32:881 event {"method":"DOM.attributeModified","params":{"nodeId":40,"name":"class","value":"ui-page ui-body-c ui-page-active"}} 18:15:32:917 event {"method":"DOM.attributeModified","params":{"nodeId":81,"name":"class","value":"ui-footer ui-bar-b ui-footer-fixed fade ui-fixed-inline ui-fixed-overlay"}} 18:15:32:918 event {"method":"DOM.attributeModified","params":{"nodeId":81,"name":"class","value":"ui-footer ui-bar-b ui-footer-fixed fade ui-fixed-overlay"}} 18:15:32:987 event {"method":"DOM.attributeModified","params":{"nodeId":234,"name":"class","value":"ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-corner-bottom ui-btn-up-c"}} 18:15:33:001 event {"method":"Debugger.paused","params":{"reason":"other","callFrames":[{"location":{"lineNumber":201,"scriptId":"58833168","columnNumber":0},"scopeChain":[{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":71}","className":"Window","type":"object"},"type":"local"},{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":72}","className":"Window","type":"object"},"type":"closure"},{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":73}","className":"Window","type":"object"},"type":"global"}],"functionName":"about","this":{"description":"MyApplication","objectId":"{\"injectedScriptId\":1,\"id\":74}","className":"Object","type":"object"},"callFrameId":"{\"ordinal\":0,\"injectedScriptId\":1}"},{"location":{"lineNumber":145,"scriptId":"58833168","columnNumber":0},"scopeChain":[{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":75}","className":"Window","type":"object"},"type":"local"},{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":76}","className":"Window","type":"object"},"type":"closure"},{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":77}","className":"Window","type":"object"},"type":"global"}],"functionName":"route","this":{"description":"MyApplication","objectId":"{\"injectedScriptId\":1,\"id\":78}","className":"Object","type":"object"},"callFrameId":"{\"ordinal\":1,\"injectedScriptId\":1}"},{"location":{"lineNumber":415,"scriptId":"58833168","columnNumber":0},"scopeChain":[{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":79}","className":"Window","type":"object"},"type":"local"},{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":80}","className":"Window","type":"object"},"type":"closure"},{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":81}","className":"Window","type":"object"},"type":"global"}],"functionName":"","this":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":82}","className":"Window","type":"object"},"callFrameId":"{\"ordinal\":2,\"injectedScriptId\":1}"},{"location":{"lineNumber":2,"scriptId":"2735632","columnNumber":0},"scopeChain":[{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":83}","className":"Window","type":"object"},"type":"local"},{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":84}","className":"Window","type":"object"},"type":"closure"},{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":85}","className":"Window","type":"object"},"type":"global"}],"functionName":"dispatch","this":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":86}","className":"Window","type":"object"},"callFrameId":"{\"ordinal\":3,\"injectedScriptId\":1}"},{"location":{"lineNumber":2,"scriptId":"2735632","columnNumber":0},"scopeChain":[{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":87}","className":"Window","type":"object"},"type":"local"},{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":88}","className":"Window","type":"object"},"type":"closure"},{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":89}","className":"Window","type":"object"},"type":"closure"},{"object":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":90}","className":"Window","type":"object"},"type":"global"}],"functionName":"i","this":{"description":"Window","objectId":"{\"injectedScriptId\":1,\"id\":91}","className":"Window","type":"object"},"callFrameId":"{\"ordinal\":4,\"injectedScriptId\":1}"}]}} 18:15:33:085 event {"method":"DOM.inlineStyleInvalidated","params":{"nodeIds":[54,46,48,65,72,67,81,71,74,66,19,76,55,61,82,69,50,60,63,47,51,68,80,52,57,86,83,70,49,64,77,40,59,78,53,56,85,84,58,75,73,87,62]}} Please try to evaluate. Thanks
Debuger.paused event come at 18:15:33:001
The problem is in MiscEditorUtils, which get a remote file name with file:// protocol.
Should be fixed by changeset: 251897:d292f5485ea5 http://hg.netbeans.org/web-main/rev/d292f5485ea5
Integrated into 'main-golden', will be available in build *201305021042* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d292f5485ea5 User: mentlicher@netbeans.org Log: #229173: Check ServerURLMapping for all absolute URIs that do not exist locally.