suprcodr / ScriptError

A Visual Studio extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript Error Detector

Build status

Download this extension from the VS Marketplace or get the CI build.


Detects any unhandled JavaScript errors from the running browser and shows them directly in the Visual Studio Error List.

See the change log for changes and road map.

Detecting errors

By default, the detecotr runs when any ASP.NET generated page is loaded in the browser. That can be controlled from the Browser Link context menu on the Standard toolbar.

Context menu

Error List

Errors show up in the Error List inside Visual Studio after running the script error checker.

Error List

Known limitations

1. Chrome Developer Tools

Google Chrome doesn't fire error events when the Developer Tools (F12) are open and therefore no errors will show up in the Error List in Visual Studio.

Fix: Close the Chrome Developer Tools and reload the page

2. Errors on page load

The extension cannot detect errors that occur before Browser Link has made the connection to Visual Studio. It doesn't take long to make the connection, but it might be long enough that the error has already occured.

Fix: None

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools extension for Visual Studio which enables some features used by this project.

License

Apache 2.0

About

A Visual Studio extension

License:Other


Languages

Language:C# 97.5%Language:JavaScript 2.5%