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
I have a very odd problem that I'm desperate to get to the bottom of. I have an iPhone (2.1), a WiFi network, a MacBook Air (MBA) and a Mac Pro (MP). I have recently installed several programs that open a channnel of communication between the iPhone [More]
Hi All, I am facing one problem,while modifying the PO using ME22n.After modifying the PO when I save it ,Express Document "update was terminated" error comes. Can anybody please guide me on this, why it is happening .It's very urgent. Thanks in [More]
Hey Everyone I've recently run into a strange problem. While downloading the iTunes Extra for two movies (TED Unrated + Batman Begins), I'm getting the error -19 message. The extras download fully, I can see in the Status window that iTunes starts pr [More]
Hello everyone. I have a project, almost 16 mb large. It;s quite large and the users have to wait a bit to get the tutorial. I tried this. I split the porject into different projects like 1. menu, 2. description, 3. practice. and then I link the proj [More]
I'm pretty sure this is a bug and would appreciate if others can verify this.  In Logic Pro X, I've inserted a few markers.  When I choose "SMPTE Lock" there is no visual indication that the marker is locked at all, except for the fact that I ca [More]
Hello, I am trying this code although I get compile errors as stated. import java.util.Scanner; * Write a program that reads 10 numbers from the keyboard into * an array and then prints the list of numbers * Modify the above program so that it prints [More]
team... when we import programme file coming from p6 to p6v7 its rounded all figure to whole number. can this be fix by some settings? Edited by: user9134677 on Jun 12, 2010 12:42 AMI have almost the same case, I want my cost to have a decimal places [More]
Hey everyone, Sorry for another newbie question, coming from Labview has spoiled me  Is there a way to use the Array Operations functions on float numbers?  If not, can anyone recommend a Boost like library that is C based that will handle floats? Th [More]
When I try to burn disks from itunes, i get the error code 2131. I have an Advent 5303 and the optical drives: TSSTcorpCDDVDWTS-L632HATADevice Can anybody help please???As far as I know only Dell and Toshiba have released firmware updates to fix this [More]
Interval Since Last Panic Report:  1726823 sec Panics Since Last Report:          2 Anonymous UUID:                    321602DF-10BF-49BD-8829-7A31BBEBDA16 Thu Oct 16 15:59:39 2014 panic(cpu 0 caller 0x28fc2e): "TLB invalidation IPI timeout: " & [More]