Debugging Javascript inside JDeveloper 11.1.1.3
806830Oct 20 2010 — edited Oct 22 2010I'm trying to intercept Javascript method calls from ADF Client Listeners using the Javascript debugging options. I've setup JDeveloper as described in the Oracle JDeveloper 11G Handbook. I'm using Mozilla 3.0.18 for the browser on a Windows XP machine. When I debug the application, Firefox comes up. The page loads, but the application fails to pause at breakpoints that I know are being crossed over. I'm getting the following error messages in the Javasript Debugger tab in the IDE.
"C:\Program Files\Mozilla Firefox\firefox.exe" "file:/C:/Documents and Settings/jbasiago/Application Data/JDeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/WebAppRunner.html" -oraclejsdebugport=3379
Debugger connected to local process.
Error: Components.classes['@mozilla.org/privatebrowsing;1'] is undefined in file: chrome://foo/content/overlay.js at line: 161 and position: 0
Error: gPrefService is null in file: chrome://browser/content/browser.js at line: 3724 and position: 0
Error: Components.classes['@mozilla.org/privatebrowsing;1'] is undefined in file: chrome://foo/content/overlay.js at line: 312 and position: 0
Error: Components.classes['@mozilla.org/privatebrowsing;1'] is undefined in file: chrome://foo/content/overlay.js at line: 312 and position: 0
When I set a new breakpoint in Javascript, I get this message in the IntegratedWebLogicServer debugging tab in the IDE.
Unable to set breakpoint (C:\Projects\ADF-Flex-Poc\ADF-Rack\ViewController\public_html\FlexIntegration.js
Any ideas?