I can't debug javascript code in JDeveloper 11

Hi all!
I'm trying to debug a javascript code in JDeveloper 11. I created a simple html page with a simple javascrit. The page and the call to javascript are ok. When I start the debug I receive some messages,please see below. I can see through window task manager that firefox is started, but it doesn't appear and therefore it is impossible to debug, The messages I receive in JDeveloper console are:
"C:\Arquivos de programas\Mozilla Firefox\firefox.exe" file:/C:/JDeveloper/mywork/js/js/public_html/test.html -oraclejsdebugport=2006
Waiting for debugger to attach on port 2006...
Debugger connected to local process.
Error: emItemsElement has no properties in file: file:///C:/Arquivos%20de%20programas/Mozilla%20Firefox/components/nsExtensionManager.js at line: 2621 and position: 0Debugger unable to connect to local process.

Hi Roger,
It was a bug that got fixed recently. Please download the latest version and try. If you are still able to reproduce please let me know the build (Help -->> About).
Another workaround
unselect "Stop on Exception" it can be found from.
Project Properties >> Run/Debug/Profile >> Select JavaScript run configurations >> Edit >> select JavaScript >> unselect "Stop on Exception"
-Vikram

Similar Messages

  • Debug of javascript code in JDeveloper 11

    Hi all!
    I'm trying to debug a javascript code in JDeveloper 11. I created a simple html page with a simple javascrit. The page and the call to javascript are ok. When I start the debug I receive some messages,please see below. I can see through window task manager that firefox is started, but it doesn't appear and therefore it is impossible to debug, The messages I receive in JDeveloper console are:
    "C:\Arquivos de programas\Mozilla Firefox\firefox.exe" file:/C:/JDeveloper/mywork/js/js/public_html/test.html -oraclejsdebugport=2006
    Waiting for debugger to attach on port 2006...
    Debugger connected to local process.
    Error: emItemsElement has no properties in file: file:///C:/Arquivos%20de%20programas/Mozilla%20Firefox/components/nsExtensionManager.js at line: 2621 and position: 0Debugger unable to connect to local process.

    Hi Roger,
    You may wish to try this over on the JDev 11 preview forum: JDeveloper and OC4J 11g Technology Preview
    John

  • Can't debug JavaScript written under RequireJS with built-in Debugger

    Hi! I'm new to Firefox and I'm developing a website using this browser.
    The JavaScript code written in our pages conform to the RequireJS standards. When I want to debug the code, I find that the new built-in debugger of Firefox can't enter the functions correctly.
    For example, if I put a break point inside a function that is defined in a "define" function, the debugger only stops at the last line of the "define" function, and shows the information of all the global variables.
    I really like the look and feel of the debugger, but it seems not working correctly.
    See the picture of the first reply.

    You can try out the debugger in the latest Firefox Nightly release to see if it already works better in that version as the devtools are still being developed.
    *http://nightly.mozilla.org/
    *http://www.mozilla.org/en-US/firefox/channel/
    You can install multiple Firefox versions via a custom install in different installation folders and keep the current release version installed to be able to fallback to the release version in cases when the Nightly or Aurora build aren't working properly.
    Do a custom install of each version in a different program folder and use the Profile Manager to create a new profile for this version, so make sure not to start Firefox after the installation has finished.
    * https://support.mozilla.com/kb/Custom+installation+of+Firefox+on+Windows
    * http://releases.mozilla.org/pub/mozilla.org/firefox/releases/
    Create a desktop shortcut with -P "profile" appended to the target to launch each Firefox version with its own profile.<br />
    Note that the Aurora (28.0a2) and Nightly (29.0a1) build are updated daily and can be unstable being alpha releases.
    See these mozillaZine KB articles for information:
    * http://kb.mozillazine.org/Testing_pre-release_versions
    * http://kb.mozillazine.org/Profile_Manager#Creating_a_new_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile

  • Can I debug c++ code

    I have some bug in my C++ code. I useing MS Visual studio .net to compile it. How I can enable "Step into" that I can see what happening in my c++ object space when I call that native method from Java?

    The easiest way to debug this code USED TO BE to open the Dll project in Visual Studio, then go to the project options and make some some settings. The specific settings involved were the invoking program (Make that java.exe.), and the parameters to the program (Make those the parameters that will make jvm.exe execute your java program.).
    This is the way I did it using VC 6.0. It probably still works in the new version.

  • Acrobat crashed - can't enter Javascript code anymore!

    I just had Acrobat (8.1.2) crash on me while I was working on the Javascript code I had in the file. When I opened the file after the crash, the javascript code was empty - everything had been obliterated in the code module. And even when I enter new code and close the editor, when I try to open it again, it's empty again.
    I have Acrobat set to use an external app (I am using TextWrangler on a mac), so I don't know if that has any bearing on what happened, but the file now seems to be corrupted as any code I enter whether in an external app, or in the Acrobat javascript editor does not get saved. I tested the file on another computer, with the same results. Other files work properly on my computer.
    Is there any way to recover the code from the file? I had spent several hours on several parts of the code, and am not looking forward to having to recreate my work.

    Read "KT6-LSR and installing Windows on SATA" post (At this moment is the last in this page). There you'll find many posts about Raid problems.  8)

  • Debuging Javascript code in LC is not smooth. Is there a better way?

    I'm new to LC and I am finding the debugging process very cumbersome. I save my form, open it in Acrobat and enable debugging window  there. I know there is a way to the have debugging window in PDF preview but  that would not make much of difference. I actually prefer to have it in  Acrobat because when it crashes I wouldn't loose my LC.
    Is this the best way of debuging Javascript?
    It would be nice to have access to variable dump. I am creating temproary text fields and pop up  messages.

    I cant believe Adobe releases such a large project like LiveCycle with no "officially supported" debuger.
    from the horse's mouth:
    http://blogs.adobe.com/formfeed/2010/03/using_the_acrobat_javascript_d.html
    "...there are some serious limits:
    Using the debugger with XFA forms is not officially supported
    We cannot debug script objects
    Storing  break points doesn’t seem to work.  This makes it hard to debug an  initialization script (unless you force your form to do an xfa.form.remerge()) "
    "When will XFA have proper JavaScript debugging support?  This is a hard  question to answer.  But it gets asked a lot.  Believe me when I say  that  we’ve taken a run at this problem many times in the past.  But the  fact remains that there are some substantial technical barriers that  are holding us back. "
    Please correct me if I am wrong.

  • Does Firefox have developer tools for debugging javascript code?

    I am learning to write javascript in web pages. I have written some code that does not work as expected. I would like to set break points and check variables as the code executes. Are there add-ons or built-in tools that provide this functionality in Firefox? Thanks for your help.

    It is not so much a matter of ODT supporting object types as it is whether ODP.NET does since ODP.NET is the underlying data access layer for ODT. Unfortunately ODP.NET does not support object types.
    Possibly leading to some confusion about this is that the "PL/SQL User's Guide and Reference" is included in the ODT documentation that integrates into Visual Studio .NET combined help collection. Chapter 5 in the User's Guide is about "Using PL/SQL Collections and Records". However, PL/SQL Associative Arrays (which are described in this chapter along with VARRAYs and nested tables) are the only supported collection you can use at this time.
    - Mark

  • Can we debug the code line per line in AS?

    Hi
    I am wondering if there is a way to debbug the action script code step by step?
    So I can understand what it is doing exactly.
    Is this possible to do?
    Please show me how, if yes?
    If not, is there another way that allows me to debbug my code?
    Thx in advance
    mimi

    click debug/debug movie.  you can add stops to your actionscript be clicking to the left of the actionscript line number.

  • How  can  I use Javascript code to affect the display of textField?

    Hi All,
    I created a web application using JSF.
    And Placed two controls: one Text Field and one Label.
    On the Javascript onclick event of Label, I wrote the following javascript:
    document.getElementById("form1:textField1").value="test123";
    I run the web application, and click on the label, However, the text of the Text Field does not change.
    But the following code shows text of the Text Field has been changed. it works.
    alert(ocument.getElementById("form1:textField1").value);
    So, why the display of the Text Field does not change? How to update the display of the Text Field?
    Any suggestion will be helpful!
    Thank you.

    here is a full and correct example, enjoy
    1. <html>
    2. <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    3. <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    4. <f:view>
    5. <head>
    6. <title>
    7. <h:outputText value="#{msgs.windowTitle}"/>
    8. </title>
    9. </head>
    10. <body>
    11. <h:form id="registerForm">
    12. <table>
    13. <tr>
    14. <td>
    15. <h:outputText value="#{msgs.namePrompt}"/>
    16. </td>
    17. <td>
    18. <h:inputText/>
    19. </td>
    20. </tr>
    21. <tr>
    22. <td>
    23. <h:outputText value="#{msgs.passwordPrompt}"/>
    24. </td>
    25. <td>
    26. <h:inputSecret id="password"/>
    27. </td>
    28. </tr>
    29. <tr>
    30. <td>
    31. <h:outputText value="#{msgs.confirmPasswordPrompt}"/>
    32. </td>
    33. <td>
    34. <h:inputSecret id="passwordConfirm"/>
    35. </td>
    36. </tr>
    37. </table>
    38. <h:commandButton type="button" value="Submit Form"
    39. onclick="checkPassword(this.form)"/>
    40. </h:form>
    41. </body>
    42. <script type="text/javascript">
    43. <!--
    44. function checkPassword(form) {
    45. var password = form["registerForm:password"].value;
    46. var passwordConfirm = form["registerForm:passwordConfirm"].value;
    47.
    48. if(password == passwordConfirm)
    49. form.submit();
    50. else
    51. alert("Password and password confirm fields don't match");
    52. }
    53. -->
    54. </script>
    55. </f:view>
    56. </html>

  • Can't save javascript code on WAD

    Hi experts,
    I used javascript object on WAD, but seems after I changed the java script code, it doesn't affected on server. because after the change, the source code shown the original code but not changed. does it caused by server cache or other something? Any input should be really appreciated.
    Thanks,
    Delve

    Hi Delve,
    At the end of the query/template execution URL add the query string "CACHE=" to see the new java script effects.
    Imran...

  • Debug javascript embedded in a dynamic page

    It is great that Jdev11g supports javascript debug. As demonstrated in "JavaScript Development in Oracle JDeveloper", the html page is a static page. Can Jdev11g debug javascript generated dynamically, for example, from JSP or XSLT?

    Your wish is my command. Support for debugging JavaScript embedded in a JSPX file will be included in the production release.
    --RiC                                                                                                                                                                                                                                                                           

  • Apex 4 - Javascript Code Editor??

    Hi,
    On the Apex 4 new features page , under additional new features (link below), one of the new features says "New Javascript code editor for use in the SQL and migration workshops".
    http://www.oracle.com/technology/products/database/application_express/html/4.0_new_features.html
    Can anybody tell me how you access this as I cant find it?
    Thanks.

    Hi,
    I think the way this feature is worded is possibly misleading you.
    Are you expecting a code editor in which you can edit your JavaScript code? Because if that is the case (which I think is a fair expectation given the current wording), then I'm afraid this is not what this feature is about. This actually relates to a new PL/SQL code editor available in these modules, which now includes syntax highlighting for your PL/SQL blocks. The word 'JavaScript' in the current description relates to the technology behind the editor, rather than the purpose of the editor, but that is misleading.
    I think it should be reworded to, 'New richer PL/SQL code editor available in SQL and Migration Workshops, including syntax highlighting' or similar. I will contact the relevant person in the team and get this updated.
    Apologies for the confusion.
    Regards,
    Anthony.

  • The javascript code which is working on safari is not working on firefox. When I debugged it from HTTPFOX it gave NS_ERROR_DOCUMENT_NOT_CACHED error

    I have a javascript code which is working fine with safari but not working at all in firefox. The code is
    <pre><nowiki><html><head></head>
    <body>
    <button type="button" onClick="handleButtonClick();">undo</button>
    <button type="button">redo</button>
    <select><option value="V1">V1</option>
    <option value="V2">V2</option>
    <option value="V3">V3</option>
    <option value="V4">V4</option>
    <option value="V5">V5</option></select>
    <script type="text/javascript">
    function handleButtonClick(){var xmlHttp, handleRequestStateChange;
    handleRequestStateChange = function() {if (xmlHttp.readyState==4 && xmlHttp.status==200) { var substring=xmlHttp.responseText; alert(substring); } }
    xmlHttp = new XMLHttpRequest();
    xmlHttp.open("GET", "http://csce.unl.edu:8080/test/index.jsp?id=c6c684d9cc99476a7e7e853d77540ceb", true);
    xmlHttp.onreadystatechange = handleRequestStateChange; xmlHttp.send(null);}
    </script>
    </body>
    another I am getting this also in url text/html (NS_ERROR_DOM_BAD_URI)
    </html>
    </nowiki></pre>
    Whats going wrong I can't figure out. Kindly suggest... I am struggling with this for last few days..

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • How can we  use java variable in javascript code on JSP page?

    How can we use java variable in javascript code on JSP page?
    Pls help

    Think about it:
    JSP/Java is executed on the Server and produces HTML+JavaScript.
    Then that HTML+JavaScript is transfered to the client. The client now interpretes the HTML+JavaScript.
    Obviously there's no way to access a Java variable directly from JavaScript.
    What you can do, however, is write out some JavaScript that creates a JavaScript variable containing the value of your Java variable.

  • I have to make inaccessible the Javascript code embedded in a form pdf. How can I do?

    I have to make inaccessible the Javascript code embedded in a form pdf. How can I do?

    You can secure the file and prevent access to the code, but it's very easy
    to overcome that. Alternatively you can use a code obfuscator to make the
    code less legible.
    On Feb 11, 2015 3:51 PM, "marcogolinelli88" <[email protected]>

Maybe you are looking for

  • Checking the contents of update function module log table

    Dear experts, I created several CALL FUNCTION ... IN UPDATE TASK lines and is curious about the contents of the update function module log table. How can I see its contents? Thanks in advance. Regards, Haris

  • Arbitrary Number Generated before Sales Order Document number is Generated

    I want to know which is the arbitrary number generated before the sales Order Document number is created. In which table the arbitrary number is stored? The Exit which triggers the arbitrary number in the transaction VA01?

  • Want to run .fmx on opensuse as a client

    my server and database on windows 7 and client are on Opensuse 10.3, how i run my .fmx file on client side please help me.......... Regards Aamir

  • Apps don't update from iTunes!

    Since two months ago, i don't able update my Apps (for my iPhone 3G) from my mac! iMac Intel C2D with 10.5.6 and iTunes 8.0.2 I downloaded 60s apps (free and paid), if i try "Check updates" from Application in iTunes a pop-up show me that there aren'

  • Do we lose everything if we set up a new apple id

    Our family has a total of 4 ipods, one iMac, one iPad and two more iPads coming soon. We all share the same Apple account for music and app purchases The apple ID summary at iTunes says we have already used the 5 allowed computers. If I set up anothe