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

Similar Messages

  • 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

  • Can't build tp_smapi package under custom kernel, built ok with stock

    Hi,
    I followed this guide and built a custom kernel http://wiki.archlinux.org/index.php/Cus … n_with_ABS   (with the PKGBUILD file found in this page).
    Basically I changed the LOCALVERSION while config kernel module, and changed processor type to Pentium M, exclude some drivers.
    Now I can't build tp_smapi package with yaourt -S, gives me error:
    -> Extracting tp_smapi-0.40.tgz with bsdtar
    ==> Entering fakeroot environment...
    ==> Starting build()...
    patching file Makefile
    /usr/bin/make -C /lib/modules/2.6.32.8-custom/build M=/tmp/yaourt-tmp-user/aur-tp_smapi/tp_smapi/src/tp_smapi-0.40 O=/lib/modules/2.6.32.8-custom/build modules
    make[1]: Entering directory `/usr/src/linux-2.6.32.8-custom'
    /usr/src/linux-2.6.32.8-custom/Makefile:529: /usr/src/linux-2.6.32.8-custom/arch/x86/Makefile: No such file or directory
    make[2]: *** No rule to make target `/usr/src/linux-2.6.32.8-custom/arch/x86/Makefile'.  Stop.
    make[1]: *** [sub-make] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.32.8-custom'
    make: *** [modules] Error 2
    make: Entering directory `/usr/src/linux-2.6.32.8-custom'
    Makefile:529: /usr/src/linux-2.6.32.8-custom/arch/x86/Makefile: No such file or directory
    make: *** No rule to make target `/usr/src/linux-2.6.32.8-custom/arch/x86/Makefile'.  Stop.
    make: Leaving directory `/usr/src/linux-2.6.32.8-custom'
    ==> Tidying install...
      -> Purging other files...
    However it builds fine if run the stock Arch kernel.
    This package depends on kernel26-headers, it pulls this down and installed, but itself is failed.
    I believe the error is due to it requires the kernel26-headers as the other AUR packages don't.
    tp_smapi's PKGBUILD is here
    http://dpaste.com/162443/
    Any suggestions/help?
    Last edited by skygunner (2010-02-21 08:16:04)

    Hi,
    I wanted to build a kernel26-ice with tp_smapi included as I would love to have more than one kernel on my system. However, I do not find any information on patching the kernel with such patch. Can anyone guide me to the right direction?
    EDIT:
    Excuse me for any inconvenience, I found, that kernel26-zen may be what I am looking for as it uses tp_smapi as a patch.
    Last edited by Liuuutas (2010-03-28 14:58:54)

  • Debugging code written in assembly with Xcode

    I have a program written in C calling a function written in assembly. When I run the debugger, I can step through the C code just fine, but then when it reaches the function, it won't step through the assembly code. It'll just go on to the next statement. In the assembly viewer I see:
    call 0x1eda <isgreater>
    and then the rest of the main function after that. How do I view the function isgreater and step through it?
    My professor uses the Eclipse IDE and it can do it just fine. I'd rather use the Xcode IDE as Eclipse is very buggy.
    Thanks!
    Kyle.

    Hi Kyle,
    not sure if you've solved this already, but if you set this:
    Run > Debugger Display > Disassembly Only
    then it works... it doesn't work if you have 'Source and Disassembly' set for some strange reason.
    -chris

  • How can I use javascript in a Text Area with HTML editor??

    My question is... how can I use javascript in Text Area with HTML editor??
    I can use javascript functions that change the content of Text Areas but i can´t if i try in text area with html editor....
    I need to limit number of characters in a text area with html editor and i can´t.
    could anybody help me please?

    I have been experiencing similar problems with the HTML Editor and have managed to find an answer that should start to answer some of my questions. The Apex HTML Editor Standard is actually an HTML editor called FCKeditor. The FCKeditor has a Javascript API that can be found at http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API. Unfortuately this doesn't seem to give the whole answer and I found more at http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:49607.
    I needed to get the text entered within my html editor standard (e.g. P1_MYTEXT) and use it within my javascript function. I did this by using the following script
    <script language="JavaScript" type="text/javascript">
    function showtext(){
    var oEditor = FCKeditorAPI.GetInstance('P1_MYTEXT');
    var editortext = escape(oEditor.GetXHTML(oEditor.FormatOutput));
    alert(editortext);
    </script>
    Hope this helps.
    Matthew

  • 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                                                                                                                                                                                                                                                                           

  • How can I debug a DLL created with MS Visual Studio C++ using CVI?

    I have developed a DLL using MS Visual Studio C++, which is called by an other application written in CVI.
    My goal is to debug the DLL written with C++ when is called from CVI.
    So far I have some msg popups, but I would like to have more debugging capabilities.
    Thanks, Adalbert

    Hello Adi11,
    As documented in the CVI Help under "Debugging DLLs": "In the LabWindows/CVI development environment, you can debug only DLLs you create in LabWindows/CVI with the Create Debuggable Dynamic Link Library command. Other development environments cannot debug DLLs you create in LabWindows/CVI."
    This information was also mentioned on the following discussion forum.
    Thanks.
    Wendy L
    LabWindows/CVI Developer Newsletter - ni.com/cvinews

  • HT6154 HI , I am still under cotract with my iphone 5 and i can't hear anything even though i have my phone set to high volume

    i am using iphone 5 and still under contract with ATT services. the phone has suddenly some technical issue. when i call some one or some one calls me, if i i turn on th emusic anything that hass to do with listening to the device, it doesnot work
    i hear very very low voice eventhough it is set to high volume. will ATT will provide me free support for the phone?

    Only ATT can answer that.

  • How can I enable remote debug in weblogic to use with Rational RSA IDE?

    How can I enable the remote debugging technique so that I can work with my IDE.
    I use RSA by IBM as the IDE
    What should be the changes in the setdomainenv or startweblogic?
    I use 10.3
    Please help.. ur help is appreciable...

    Hi,
    I did not make any console adjustments for debugging on my WebLogic 10.3.2.0 - however I am running in development mode on an "adminServer" (an option during the install)
    In the console there is a debug setup page - that seems to have no effect for me (I can always debug) - so either it is a combination of development mode and/or the startWeblogic script from the Eclipse plugin.
    However, these debug settings are likely for debugging into the server - you only want to debug your own app code right?
    On the console page goto
    http://localhost:7001/console/console.portal?_nfpb=true&_pageLabel=ServerDebugPage
    servers | AdminServer | configuration-debug | expand weblogic
    I see...
    "Use this page to define debug settings for this server.
    Debug settings for this Server
    EnableDisableClear Showing 1 to 2 of 2 Previous Next
    Debug Scopes and Attributes State
    default Disabled
    weblogic Disabled
    EnableDisableClear Showing 1 to 2 of 2 Previous Next
    Try expanding the whole tree and selecting the root to enable everything.
    You will see the following
    10-Dec-2009 11:53:46 o'clock AM EST> <Warning> <Management> <BEA-141239> <The non-dynamic attribute DebugAbbreviation on weblogic.management.configuration.ServerDebugMBeanImpl@47a32e1b([base_domain]/Servers[AdminServer]/ServerDebug[AdminServer]) has been changed. This may require redeploying or rebooting configured entities>
    <10-Dec-2009 11:53:46 o'clock AM EST> <Warning> <Management> <BEA-141238> <A non-dynamic change has been made which affects the server AdminServer. This server must be rebooted in order to consume this change.>
    <10-Dec-2009 11:53:46 o'clock AM EST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=ServerDebugPage.>
    When I debug WebLogic 10.3.2.0 from Eclipse 3.5 EE - I see the following in my server startup log which includes the "-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453" you mentioned.
    Starting WLS with line:
    c:\opt\wls10320\JROCKI~1.5-3\bin\java -jrockit -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms512m -Xmx512m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\opt\wls10320\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Dplatform.home=C:\opt\wls10320\WLSERV~1.3 -Dwls.home=C:\opt\wls10320\WLSERV~1.3\server -Dweblogic.home=C:\opt\wls10320\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=c:\opt\wls10320\patch_wls1032\profiles\default\sysext_manifest_classpath weblogic.Server
    Listening for transport dt_socket at address: 8453
    The server process listening on debug portl 8453 ooks like this
    Oracle WebLogic Server 11gR1 PatchSet 1 at localhost [Oracle WebLogic Launch Configuration]     
         BEA JRockit(R)[localhost:8453]     
              Thread [Main Thread] (Running)     
              Daemon Thread [Timer-0] (Running)     
              Daemon Thread [Timer-1] (Running)     
              Daemon Thread [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] (Running)     
              Daemon Thread [weblogic.time.TimeEventGenerator] (Running)     
              Daemon Thread [JMAPI event thread] (Running)     
              Daemon Thread [weblogic.timers.TimerThread] (Running)     
              Daemon Thread [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] (Running)     
              Daemon Thread [Thread-7] (Running)     
              Daemon Thread [ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'] (Running)     
              Daemon Thread [ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'] (Running)     
    I hit a breakpoint and see
    Daemon Thread [[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] (Suspended (breakpoint at line 56 in ApplicationService))     
         ApplicationService_5ptwty_Impl(ApplicationService).insertObjects(List<Cell>) line: 56     
         NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]     
         NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39     
         DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25     
         Method.invoke(Object, Object...) line: 597     
         AopUtils.invokeJoinpointUsingReflection(Object, Method, Object[]) line: 310     
         ReflectiveMethodInvocation.invokeJoinpoint() line: 182     
         ReflectiveMethodInvocation.proceed() line: 149     
         DelegatingIntroductionInterceptor.doProceed(MethodInvocation) line: 131     
         DelegatingIntroductionInterceptor.invoke(MethodInvocation) line: 119     
         ReflectiveMethodInvocation.proceed() line: 171     
         MethodInvocationVisitorImpl.visit() line: 37     
         EnvironmentInterceptorCallbackImpl.callback(MethodInvocationVisitor) line: 55     
         EnvironmentInterceptor.invoke(MethodInvocation) line: 50     
         ReflectiveMethodInvocation.proceed() line: 171     
         ExposeInvocationInterceptor.invoke(MethodInvocation) line: 89     
         ReflectiveMethodInvocation.proceed() line: 171     
         DelegatingIntroductionInterceptor.doProceed(MethodInvocation) line: 131     
         DelegatingIntroductionInterceptor.invoke(MethodInvocation) line: 119     
         ReflectiveMethodInvocation.proceed() line: 171     
         JdkDynamicAopProxy.invoke(Object, Method, Object[]) line: 204     
         $Proxy68.insertObjects(List) line: not available     
         ApplicationService_5ptwty_ApplicationServiceLocalImpl.insertObjects(List<Cell>) line: 306     
         FrontController.generateGlider(PrintWriter) line: 240     
    thank you
    /michael
    http://www.eclipselink.org

  • I can't install Photoshop CS5 under mac because of the format of my HDD Journaled with Capitol and minor letters. Is there a way to get it installed?

    Hello,
    I can't install Photoshop CS5 under mac because of the format of my HDD Journaled with Capitol and minor letters.
    Is there a way to get it installed?
    Thank you
    Andreas

    this is the only screen that appear after clicking on the install.app

  • I want to monetary youtube videos with photoshop tutorials - where can I find the written authority to do so?

    Hi everybody.
    I would like to upload some tutorials videos about Photoshop and Dreamweaver to youtube but youtube is asking for the written authority to do so (What kind of content can I monetize? - YouTube Help). They say:
    "Whether you can show software user interfaces in a video submitted for monetization depends on the commercial use rights granted to you by the license of the software. In some cases, you may need a contract with the publisher or proof that you have paid a licensing fee."
    Where can I get the written document to proof that I can. I read the whole License agreement and could find nothing about thatr matter. Than for 1 hour I was searching a Adobe Mail Adderess to ask my question, but I only found here the forum. So I ask my Question to you now. Where can I find that I'm allowed to upload tutorial videos and monetary them.
    If you could help me this would be perfect.
    Greetings Miguel

    Hi everybody.
    I would like to upload some tutorials videos about Photoshop and Dreamweaver to youtube but youtube is asking for the written authority to do so (What kind of content can I monetize? - YouTube Help). They say:
    "Whether you can show software user interfaces in a video submitted for monetization depends on the commercial use rights granted to you by the license of the software. In some cases, you may need a contract with the publisher or proof that you have paid a licensing fee."
    Where can I get the written document to proof that I can. I read the whole License agreement and could find nothing about thatr matter. Than for 1 hour I was searching a Adobe Mail Adderess to ask my question, but I only found here the forum. So I ask my Question to you now. Where can I find that I'm allowed to upload tutorial videos and monetary them.
    If you could help me this would be perfect.
    Greetings Miguel

  • I've got two iTunes accounts with apps under each - how can I reconcile them both under one account and one email address?

    I've got two iTunes accounts with apps under each - how can I reconcile them both under one account and one email address?

    You cannot.
    Sorry.

  • How can I make my iPod touch 2G appear under "devices with removable storage"?

    My ipod always appears under "portable devices" under "my computer". I use Windows 7. I want to know why it does not appear under "devices with removable storage". I manually manage its contents. Please give any suggestions that may help. Thanks!

    - Because via My Coputer yu can only access the the photos (DCIM folder) taken by or saved to the iPod. The iPod touch (and iPad and iPhone) do not have a disk mode like other iPods)
    - You need a third-party program like SharePod to access music w/o iTunes

  • I have ipad 2. Safari stopped working. Screen appears with light gray cover. Some websites show errors when debug is on. But how actually can I debug or fix it? Thank you.

    I have ipad 2. Safari stopped working. Screen appears with light gray cover and is frozen. Some websites show errors when debug is on.
    But how actually can I debug or fix it? Thank you.

    Here are a couple suggestions:
    1.  Go into Settings > Safari and Clear Cookies Clear Cache
    2.  Fully close Safari:  from your home screen, double tap your home button and the most recently used Apps will show up.  Hold your finger on the Safari App until all Apps start jiggling.  You'll see a minus sign on the upper left side of Safari.  Touch the minus and Safari will fully close.  Touch your home button again to stop apps from jiggline, then touch your home button again to return to your home page.
    3.  Reboot your iPad:  Press and hold BOTH the power and home buttons at the SAME time for at least 10 seconds (ignore the red slider) until the Apple Logo appears, then let go of both buttons and your iPad will restart, but no data or settings will be lost.
    After iPad comes back up, try Safari again, and you should be good to go.

  • HT5622 my wife and I have separate apple ID acts so that we could register our iPhones and iPads under our own names.  Can I have my iMac synch iCloud with both apple ID's so that both our calendars end up on our iMac?

    my wife and I have separate apple ID acts so that we could register our iPhones and iPads under our own names.  Can I have my iMac synch iCloud with both apple ID's so that both our calendars end up on our iMac?

    If have separate iCloud accounts and want to keep your all your iCloud data separate, you can create separate user accounts for each of you, then sign into your individual iCloud account within your user account.
    If you want to just add both iCloud calendars on your Mac, you can sign into one iCloud account in System Preferences>iCloud, then add the second account in System Preferences>Internet Accounts>iCloud and only check Calendars with this second account.

Maybe you are looking for