Sitemap

Amicuk Programming Answers

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

-0001-11-30   Views:0

Advertisement

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 funct

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.

The replay answer
Advertisement
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

Go to See the other 5 answers

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

Category:DefaultRelease time:-0001-11-30Views:130

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 funct[More]

How to debug javascript?

Category:DefaultRelease time:-0001-11-30Views:130

I've written some javascript to enable/disable items based on some kind of condition, but how can I debug this when I run the form? TerryHello, One of the easiest way's to debug javascript is to run your page in Firefox and open the Javascript Consol[More]

Debug javascript embedded in a dynamic page

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

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

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

Does Firefox have developer tools for debugging javascript code?

Category:DefaultRelease time:2015-10-11Views:130

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[More]

I can't debug javascript code in JDeveloper 11

Category:DefaultRelease time:-0001-11-30Views:130

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 windo[More]

Is it possible to use Firefox to debug javascript files when running a web application using visual studio 2010

Category:DefaultRelease time:-0001-11-30Views:130

I am trying to debug a ASP.Net web application within visual studio 2010 using Firefox. I am able to set breakpoints in my C# code and they work but if I set a breakpoint in a javascript file then these do not work when using Firefox. Is there any wa[More]

Debugging Javascript in Dreamweaver CC

Category:DefaultRelease time:-0001-11-30Views:130

Hi, This will definitely sound like a newbee question but here it goes: Say I start a new site. I have only one page so far: a Javascript file. I name it wawascwipt.js. Nothing else. No HTML5, no CSS3, no nothing. I want to be able to debug or see th[More]

Javascript written in Dreamweaver behaves different when inserted in Muse

Category:DefaultRelease time:-0001-11-30Views:130

I have a simple javascript list that is written in Dreamweaver and works as expected but when I copy & paste that exact javascript into the -Object-insert html section in Muse the outcome is different. Is there a place I can go to research on what I[More]

How to Debug code written in Include RMCSUZ10?

Category:DefaultRelease time:-0001-11-30Views:130

In our Sales extractor 2LIS_11_VAITM we need to get information from custom Partner Functions whichwere added by the R/3 team. To do this we have used the SAP provided include:RMCSUZ10 I have changed the Structure: MCPARTNER to include new fields PKU[More]

Best Way to debug Javascript

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I have a random bug in Javascript which locks the loaded page sometimes when i executed the pages outside Dreamweaver. What is the best way to denug? Thanks.Found that microsoft provides a script debugger..  Thanks..Read other 2 answers[More]

Hot
It has a cracked screen also but that is not the issue. I am willing to live with the screenUnfortunately, ANY signs of 'neglect or damage' automatically become the cause of any issues you're having. As in it doesn't matter if your screen was flicker [More]
Hello, the pinch/zoom is not working when using safari? I tried it in iphoto and it worked there. i am using mac os x lion, all other gestures appear to bRight, if you don't have the buttonless trackpad you can't use all the gestures in Lion. With Ma [More]
Hi experts, I'm using Essbase with Obiee 11g. I have entity dimension like this: Gen1, Entity Gen2, Entity Gen3, Entity... Each Gen is a hierarchy. I have a prompt in my dashboard that is a number: 1, 2, 3... with presentation variable = num When pro [More]
Hi There, I have installed ATG 10.1.1 on Windows 8 with Jdk 1.6 on Weblogic application server. I am trying to study the inbuilt application like Motorprise which is already provided with the ATG Application. However I am having some problem while lo [More]
Hey, this is my first "post" here on Apple discussions. Since i bought my Macbook pro in October 2011, my macbook has been given for servicing many times. We've always used the Authorised Service centre here in Singapore (QCD Technologies), and [More]
I am running Windows 8 Enterprise RTM  64-bit on an Intel i7-3770 3rd gen CPU, Z77 chipset. I've found that most PDF printers I have been using on Windows 7 now hang on 8, including the Acrobat X printer (latest version). I have found one free altern [More]
Hi Experts: I use RSRT1 to run query by ABAP Web , how can I change or set the display language, thanksHi Jeff, Below links may helps you to solve the issue ..... http://help.sap.com/saphelp_nw04/helpdata/en/49/9dd53f779c4e21e10000000a1550b0/content. [More]
Its very urgent, plz tell me the equivalent code for dbms_output.put_line on DB2 thank u, Abhilasha.And on Sybase ? You can perhaps ask this one into the good forum. Nicolas.Hallo Nicolas, I can imagine the reaction on DB2 forum "dbms_output ? put_li [More]
Hi, How could we insert the PO text in LSMW when uploading Material Master? I understand that the PO text cannot be recorded from LSMW-SHDB part. Is there a way that I could encode ('hardcode') the PO text part using LSMW? Thanks in advance. Points w [More]
Ok, I have a tree full of BinaryTrees. I am 99% sure that my insert function works for inserting the BT's into the heap. I am getting a null pointer exception when I try to print the heap. Here is come of my code. //Inserting the data into the heap. [More]