Reputation: 18068
I am new to ASP.NET and I created MVC 4 ASP .NET project. It runs in a browser but I get those errors below and I don't get why is it so.
Błąd czasu wykonywania kodu JavaScript
means Runtime Error Java Script
.
'iexplore.exe' (Script): Loaded 'Script Code (Windows Internet Explorer)'.
Exception was thrown at line 5302, column 6 in http://localhost:6468/Scripts/jquery-1.8.2.js
0x800a139e - Błąd czasu wykonywania kodu JavaScript: SyntaxError
Exception was thrown at line 37, column 60610 in http://localhost:3176/d36ef192c476437f94f058c98480760b/browserLink
0x800a139e - Błąd czasu wykonywania kodu JavaScript: SyntaxError
Exception was thrown at line 37, column 60451 in http://localhost:3176/d36ef192c476437f94f058c98480760b/browserLink
0x800a139e - Błąd czasu wykonywania kodu JavaScript: SyntaxError
Exception was thrown at line 37, column 60451 in http://localhost:3176/d36ef192c476437f94f058c98480760b/browserLink
0x800a139e - Błąd czasu wykonywania kodu JavaScript: SyntaxError
Exception was thrown at line 37, column 60451 in http://localhost:3176/d36ef192c476437f94f058c98480760b/browserLink
0x800a139e - Błąd czasu wykonywania kodu JavaScript: SyntaxError
Exception was thrown at line 37, column 60451 in http://localhost:3176/d36ef192c476437f94f058c98480760b/browserLink
0x800a139e - Błąd czasu wykonywania kodu JavaScript: SyntaxError
The thread 0x1324 has exited with code 259 (0x103).
The thread 0x11f8 has exited with code 259 (0x103).
The thread 0x954 has exited with code 259 (0x103).
_Layout.cshtml file:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div id="header">
<h1>ASP.NET MVC MUSIC STORE</h1>
<ul id="navlist">
<li class="first"><a href="/" id="current">home</a></li>
<li><a href="/Store/">Store</a></li>
</ul>
</div>
@RenderBody()
@Scripts.Render("~/bundles/jquery")
@RenderSection("scripts", required: false)
</body>
</html>
http://localhost:3176/d36ef192c476437f94f058c98480760b/browserLink
:
line 37 col 60541:
{return w.apply(f,x.call(m.querySelectorAll(n),0)),f}catch(p){}finally{k||d.removeAttribute("id")}}
Upvotes: 0
Views: 1607
Reputation: 2666
Answered a similar question over here. Reposting here.
Those are handled exceptions, correct? If so, you can safely ignore all of the JavaScript Syntax "Errors" in your Output window. The jQuery team finds it acceptable to use handled Exceptions for logic flow. Yes, this decision makes debugging your application through VS more difficult. It clouds up the Output window.
For more information check this jQuery ticket 14123.
Upvotes: 1