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

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 way to do this?

Of course you can. I use the VS2010 built-in Javascript debug tool a lot, not only for IE, but also for firefox.
I encountered the "break point not working" issue several times, according to my experience, following is the solution to this problem, give them a shot:
1. There maybe errors in your javascript code, have a close look at your code, try to find the errors or eliminate this possibility.
2. Sometimes you have to refresh the page once after the page is loaded the first time. This solves the problem most of the time.

Similar Messages

  • I use Firefox 6.0.2. When I shut the browser and try to reopen it I get a message saying that Firefox is still running and that I should reboot. This happens constantly. Why does this happen and is there a way around it?

    I use Firefox 6.0.2. When I shut the browser and try to reopen it I get a message saying that Firefox is still running and that I should reboot. This happens constantly. Why does this happen and is there a way around it?

    There are a few possible causes for that error, for details see [[Firefox is already running but is not responding]].

  • Hi, I developed a web application using HTML5-Offline Application Cache mechanism. Inspite of deleting the cache as mentioned in the above steps, Firefox still maintains a copy of the page in it's cache. Also, a serious bug is, even though we delete all

    == Issue
    ==
    I have a problem with my bookmarks, cookies, history or settings
    == Description
    ==
    Hi,
    I developed a web application using HTML5-Offline Application Cache mechanism. Inspite of deleting the cache as mentioned in the above steps, Firefox still maintains a copy of the page in it's cache. Also, a serious bug is, even though we delete all temp files used by Firefox, and open the previously cached page, it displays it correctly, but upon refreshing/reloading it again shows the previous version of the page maintained in the cache.
    == Troubleshooting information
    ==
    HTML5: Application Caching
    .style1 {
    font-family: Consolas;
    font-size: small;
    text-align: left;
    margin-left: 80px;
    function onCacheChecking(e)
    printOutput("CHECKINGContents of the manifest are being checked.", 0);
    function onCacheCached(e) {
    printOutput("CACHEDAll the resources mentioned in the manifest have been downloaded", 0);
    function onCacheNoUpdate(e)
    printOutput("NOUPDATEManifest file has not been changed. No updates took place.", 0);
    function onCacheUpdateReady(e)
    printOutput("UPDATEREADYChanges have been made to manifest file, and were downloaded.", 0);
    function onCacheError(e) {
    printOutput("ERRORAn error occured while trying to process manifest file.", 0);
    function onCacheObselete(e)
    printOutput("OBSOLETEEither the manifest file has been deleted or renamed at the source", 0);
    function onCacheDownloading(e) {
    printOutput("DOWNLOADINGDownloading resources into local cache.", 0);
    function onCacheProgress(e) {
    printOutput("PROGRESSDownload in process.", 0);
    function printOutput(statusMessages, howToTell)
    * Outputs information about an event with its description
    * @param statusMessages The message string to be displayed that describes the event
    * @param howToTell Specifies if the output is to be written onto document(0) or alert(1) or both(2)
    try {
    if (howToTell == 2) {
    document.getElementById("stat").innerHTML += statusMessages;
    window.alert(statusMessages);
    else if (howToTell == 0) {
    document.getElementById("stat").innerHTML += statusMessages;
    else if (howToTell == 1) {
    window.alert(statusMessages);
    catch (IOExceptionOutput) {
    window.alert(IOExceptionOutput);
    function initiateCaching()
    var ONLY_DOC = 0;
    var ONLY_ALERT = 1;
    var BOTH_DOC_ALERT = 2;
    try
    if (window.applicationCache)
    var appcache = window.applicationCache;
    printOutput("BROWSER COMPATIBILITYSUCCESS!! AppCache works on this browser.", 0);
    appcache.addEventListener('checking', onCacheChecking, false);
    appcache.addEventListener('cached', onCacheCached, false);
    appcache.addEventListener('noupdate', onCacheNoUpdate, false);
    appcache.addEventListener('downloading', onCacheDownloading, false);
    appcache.addEventListener('progress', onCacheProgress, false);
    appcache.addEventListener('updateready', onCacheUpdateReady, false);
    appcache.addEventListener('error', onCacheError, false);
    appcache.addEventListener('obsolete', onCacheObselete, false);
    else
    document.getElementById("stat").innerHTML = "Failure! I cant work.";
    catch (UnknownError)
    window.alert('Internet Explorer does not support Application Caching yet.\nPlease run me on Safari or Firefox browsers\n\n');
    stat.innerHTML = "Failure! I cant work.";
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729; .NET4.0E)
    == Plugins installed
    ==
    *-Shockwave Flash 10.0 r45
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *Google Update
    *4.0.50524.0
    *Office Live Update v1.4
    *NPWLPG
    *Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *Npdsplay dll
    *DRM Store Netscape Plugin
    *DRM Netscape Network Object
    Thanks & Regards,
    Kandarpa Chandrasekhar Omkar
    Software Engineer
    Wipro Technologies
    Bangalore.
    [email protected]
    [email protected]

    We have had this issue many, many times before including on the latest 3.6 rev. It appears that when the applicationCache has an update triggered by a new manifest file, the browser may still use only its local network cache to check for updates to the files in the manifest, instead of forcing an HTTP request and revalidating both the browser cache and the applicationCache versions of the cached file (seems there is more than one). I have to assume this is a browser bug, as one should not have to frig with server Cache-Control headers and such to get this to work as expected (and even then it still doesn't sometimes).
    The only thing that seems to fix the problem is setting network.http.use-cache to false (default is true) in about:config . This helps my case because we only ever run offline (applicationCache driven) apps in the affected browser (our managed mobile apps platform), but it will otherwise slow down your browser experience considerably.

  • HT1338 II need to use Java 6 to run a web application because it isnt compatible with java 7 update 7.  is this possible? need to use Java 6 to run a web application because it isnt compatible with java 7 update 7.  is this possible?

    II need to use Java 6 to run a web application because it isnt compatible with java 7 update 7.  is this possible?

    MadMAC0 posted at https://discussions.apple.com/message/20107182?ac_cid=tw123456#20107182 that:
    Apple has posted (10/22/12) the approved solution for restoring the Java 6 plug-in:
    Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality.

  • Why won't my youtube loading bar load all the way?when I'm using firefox? It loads perfectly when I'm using Chrome.

    Why won't my youtube loading bar load all the way when I'm using firefox? It loads perfectly when I'm using Chrome or IE.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • My screen repeatedly greys out & hangs. I use Firefox 3.6.15. When I close down the error message says "Firefox is not responding."

    My screen repeatedly greys out & hangs. I use Firefox 3.6.15. When I close down the error message says "Firefox is not responding.”

    See this: <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • Hi, I like using Firefox more than I do IE, but I've been using IE lately because of all the pop-up pages I'm getting. Do you have any idea how I can stop thes

    Hi,
    I like using Firefox more than I do IE, but I've been using IE lately because of all the pop-up pages I'm getting. Do you have any idea how I can stop these pop-up tabs from happening?
    Thanks

    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.<br>
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • I have used Firefox on this Apple (10.6) but now tend to use Safari. It is still in Applications but wont open.Ive tried down loading it again into computer but it wont accept it.

    I have an Apple running 10.6.
    Normal browser is Safari but want to use Firefox for something that it apparently runs better on.
    Firefox was used when I 1st got the computer & is still in Applications folder
    App's folder says its 10.2 MB
    Last modification date 25/08/2009
    I have tried to down load new version but pop-up window says;
    ''''''tutorial-note-07a.zip
    The operation couldn't be completed.(SafariErrorDomain error 0."''''

    I tried logging into my old account with add ons disabled... I still received this same message....
    Sorry, something went wrong.
    We’re working on getting this fixed as soon as we can.
    Note.. I also did a new password with the account and I know that is operating because it led me to this error message again... FB does not post this Sorry message as a common error message.. But I know from looking at forums that others have gotten this in the past.. I have no idea what is the problem.

  • When I automate my application using selenium on firefox, Firefox gives a pop-up of "application/octet-stream".

    I am automating a web application using Selenium. When I run my Selenium scripts through Selenium RC on firefox, Firefox does not invoke the application's URL and throws a pop-up:
    You have chosen to open
    which is a: application/octet-stream
    from: http://application url...
    what should firefox do with this file?
    Open
    Save.
    If I open the same URL manually, by entering the url in browser's url bar, it gets opened properly.
    Please suggest, if any setting needs to be changed in my browser.
    I am using:
    Win XP and FF 3.6.12

    http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox
    Comcast online email is considered '''web mail''' so you need to scroll down that support page to the web mail section.

  • Question about creating association between Sharepoint BDC entities using Visual Studio 2010

    I am following this tutorial:
    http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/08/02/walkthrough-of-creating-association-between-sharepoint-bdc-entities-using-visual-studio-2010.aspx
    I am getting the following error:
     There is an error in the TypeDescriptors of Parameters on Method with Name 'CustomerToOrder' on Entity (External Content Type) with Name 'Customer' in Namespace 'BdcAssociationSample.BdcModel1'. The TypeDescriptors incompletely define where the Foreign
    Identifiers of Entity 'Order' in Namespace 'BdcAssociationSample.BdcModel1' are to be read. That Entity expects exactly '1' Identifiers, but only '0' TypeDescriptors with the correct Association were found from which to read them.
    I have viewed the following:
    http://lightningtools.com/business_connectivity_services/the-typedescriptors-incompletely-define-where-the-identifiers-of-entity-x-are-to-be-readbcs-error/
    after reading that article, I am still not sure what setting I am missing.  Does anyone have the full working source code from the msdn article linked above?

    Hi,
    According to your post, my understanding is that you got the symbols not loaded error.
    First try rebuilding your project by right mouse click the project > Rebuild If that doesn't work, try a clean of the project (right mouse click on the project > clean)
    If that didn't work check this:
    Right mouse click your project
    select [Properties]
    select the [Build] tab
    make sure [Define DEBUG constant] and [Define TRACE constant] are checked
    Click the [Advanced] button at the bottom of the Build tabpage
    Make sure that [Debug Info:] is set to [full]
    Click [OK] and rebuild the project ;
    Hope that works for you! (step 6 generates the .pdb files, these are the debugging symbols)
    What’s more, you can clean & re-compile the code, then install the respective dlls one more time to GAC (just remove them before adding to GAC again), do an IISReset to check whether it works.
    More reference:
    http://stackoverflow.com/questions/2155930/fixing-the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-fo
    http://stackoverflow.com/questions/2301216/the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-for-this-d
    http://geekswithblogs.net/dbutscher/archive/2007/06/26/113472.aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • How to integrate mysql database using prerequisites in visual studio 2010

    how to integrate mysql database exe file using prerequisites in visual studio 2010  and it should be installed when my exe file starts installing.is it possible to integrate mysql database exe?
    S S Manne

    As your question appears to be about application deployment, and not about .NET Framework setup (this forum's topic), please ask here:
    https://social.msdn.microsoft.com/Forums/en-US/winformssetup/threads
    Thank you for your understanding.

  • Use function from external Javascript file

    Hi All,
    Is it possible to use function from other javascript file. If possible then please post some example.
    Shonky

    As Harbs mentioned, you can use doScript().
    Maybe you can do something like this:
    First I created simple function in separate file and exported it JSXBIN
    function myAlert(myString){
        alert(myString);
    Then, I copied contents of that JSXBIN and put it into variable
    var securedFUNCTION = app.doScript("@JSXBIN@ES@[email protected]AffABC40BhAB0AzHjNjZiBjMjFjSjUDAC0EzAEByB");
    or
    var securedFUNC = eval("@JSXBIN@ES@[email protected]AffABC40BhAB0AzHjNjZiBjMjFjSjUDAC0EzAEByB");
    And simply called function
    myAlert('My test String');
    Also, you can use include external script with #include to call JSXBIN, but you need to wrap contents of JSXBIN file into doScript or eval().
    tomaxxi
    http://indisnip.wordpress.com/

  • Can you "debug" a form when running on the App. Server?

    We recently got a project to do defect fixing of a Oracle Forms 10g application.
    They have given us each developer a VM with an app. server, source code etc.
    Problem is, we cannot run the form using the Form Builder.
    They want us to always make changes to the form, deploy in the app. server and run the form using the Application Menu.
    Problem is, how can we do line-by-line debugging in a situation like this?
    Normally, we would press the "Run form debug" button to run the form in Forms developer in debug mode.
    What is the solution?
    Should we ask the owners to give us permission to run the form from Developer?
    Or, is there way to do debugging a form when running from app. server?

    user12240205 wrote:
    So Craig, why is it prompting me with a File Open dialog box when it tries to run a DB procedure?
    What does the Forms debugger supposed to do? Run it and bring back result?
    Because Forms doesn't know how to load the object so it is prompting you to open it.  However, since the Forms debugger can't read the source of the database program unit (procedure, package, function) - you can't debug it from Forms.  At least, I've never been able to do it and I've tried making Forms open a source file for a database program unit.  It basically boils down to the fact that Oracle Forms can only debug objects that are within the scope of the Forms runtime/builder and database program units are not contained within the Forms objects (eg; Forms binary, PL/SQL Library or Menu Module binary).  I recommend you "Step-Over" any call to a database program unit when you encounter them in the Forms debugger.  The database program unit will take longer than normal to run, but it will eventually finish and take you to the next line of code to be executed.
    Craig...

  • Building Offline Mobile Web Applications Using BC4J: A Tutorial

    i try "building Offline Mobile Web Applications Using BC4J: A Tutorial":according with
    http://download-uk.oracle.com/docs/cd/B14156_01/doc/B13788/html/nvbc4jtu.htm
    I've problem on step:13.3 Packaging the JSP Application,in the next step on :6
    Under the Snapshots section, click "Import...". You can now connect to the Oracle Database by providing the following values in the "Connect to Database" dialog.
    Table 13-8 lists values that you must specify in the Connect to Database dialog.
    i enter jdbc:oracle:thin:@192.168.100.10:1521:mag,
    where mag is sid.And Ok,writing Error:similar...
    make sure jdbc driver...in the classpath.
    Thanks.

    You could turn on debugging for your EJB's. Add the following tag to your OC4J start options:
    -Dejb.debug=true.
    Please also check the following logs:
    - $OH\application-deployments\<appName>\OC4J_Namedefault_island_1\application.log
    - the opmn logs for your OC4J instance
    Furthermore you can add some Sys.out statements to your code to see where the problem lies.
    Hope this helps.
    Deepak

  • Adding Columns to the matrix in SAP B1 user form using Visual studio 2010

    Hi,
    Using Visual studio 2010, I have created a SAP B1 user form( b1f ) with one matrix.Matrix is having 5 columns. Its working properly. Later, I want to add few more columns. Then I added columns to the matrix as I have created columns initially. But, it does not saves.
    i.e, Whenever I run, In B1 I could see only old columns. Newly created columns are not showing.So, I closed the .net project and opened again. Created columns are not showing in visual studio b1f itself. So, I created again and saved. But, its not saving.I tried it many times.
    What I am missing?
    Any help is appreciated.
    Thanks in advance,
    Parvatha Solai.N

    Hi Parvatha,
    Are you using B1 Studio? Anyway try to clean the solution first then rebuild it. This would re-copy files to the output directory, that contain your changes.
    Best regards,
    Pedro Magueija

Maybe you are looking for

  • How can you find out who an iCloud email address is registered to?

    I have been being harassed by someone with an iCloud email address and I was wondering if there is any way to find out who it could be registered to, or at least an IP address? Thank you in advance.

  • PS elements 11 panels have disappeared

    I am using PS elements 11 with MacBook Pro OS X 10.9.4. My panels have disappeared. The layers box in the windows tab is ticked. I have tried resetting panels and have uninstalled and reinstalled elements but there's no change. What can I do to get t

  • MacPro 2013 - Windows - ext. Dell Displays

    Hi i plan to buy a MacPro and also a new Macbook Retina 15" but i have some questions bevore i will buy the Mac`s , maybe you can help me ! I have to use also Windows and with my Mac Air`s and Mac Book 17" i face a lot of problems with external Displ

  • How to validate date against calendar values?

    Hi all,             I need logic for validating date fields to make sure they are valid calendar values.Suppose for example take the date 31/02/2006.It is valid date format but not calendar value because february never have 31 days.So i have to valid

  • Looping a stored procedure

    Can someone explain to me how I loop a stored procedure ? I have a stored proc that deletes users. it works fine. set serveroutput on begin BTNEP.DEL_USERPROC (p_employee_id=>'11111'); end; I have a list of over 1,000 employee_id's that need to be de