JavaScript errors caused by SIGNALR's browser link in Visual Studio 2013 a

Source: Internet
Author: User

It is well known that there is a browser link feature in Visual Studio 2013 that is implemented by the SIGNALR mechanism, meaning that developers can use multiple browsers simultaneously to debug, and when the browser link button in the IDE is pressed, Changes to the page in development are synchronized to all connected browsers. The Browser link button is a button similar to "Refresh" on the right side of the browser Debug button:

Recently in the development of a new version of the apworks.org (because of the vendor's problem caused the site completely paralyzed, I have not had time to repair, simply self-build a, by the way also verify the availability of the Apworks framework), found in the use of Syntaxhighlighter plug-in page, previously no problem page now The following error has occurred:

Research for a long time, has been thought to be jquery or syntaxhighlighter version of the cause, repeated testing for a long period did not solve the problem. Finally, in the script where the error occurred, the following comment is available:

Suddenly found SIGNALR keyword, immediately feel is due to the visual Studio 2013 browser link function, and then intend to close the function to try. In the drop-down menu on the right side of the Browser link button, find the Enable Browser link option to remove the hook to the left, as follows:

Run the program again and find that the error message no longer appears. In fact, the Browser link feature is that Visual Studio 2013, after launching the browser, injects a piece of code in an existing HTML document that uses SINGALR assistance to debug, which can be seen through developer tools:

I hope this article will be helpful to friends who encounter similar problems. When you develop a Web application using Visual Studio 2013 and have a magical JavaScript error, you can try the methods described in this article

JavaScript errors caused by SIGNALR's browser link in Visual Studio 2013 a

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.