Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Debugging Javascript inside JDeveloper 11.1.1.3

806830Oct 20 2010 — edited Oct 22 2010
I'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?
This post has been answered by Frank Nimphius-Oracle on Oct 21 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2010
Added on Oct 20 2010
3 comments
1,491 views