473,386 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

VS.NET Debugger for JavaScript

Tom
Does anyone know of a way to debug JavaScript for C# .NET
applications?

Is there a tool or add-on that will allow me to step
through Javascript line by line in debug mode?

Thanks

Tom

Nov 15 '05 #1
3 3913
Tom wrote:
Does anyone know of a way to debug JavaScript for C# .NET
applications?

Is there a tool or add-on that will allow me to step
through Javascript line by line in debug mode?


See
http://msdn.microsoft.com/library/en...uggingJScriptW
ithVS.asp

--
Arild Fines

http://ankhsvn.tigris.org
A Visual Studio .NET Addin for the Subversion version control system.
Nov 15 '05 #2
Tom
Thanks for the tip Arild Fines.

But when I tried adding the <%@ page Language=jscript
debug=true %> to my Home.aspx page I got ane error.

There can be only one 'page' directive and I can't combine
C# and Jscript directives within the single page directive.

Here is my page directive
<%@ Page language="c#" Codebehind="Home.aspx.cs"
AutoEventWireup="false" Inherits="BOD.Templates.Home" %>

And the JavaScript files are embedded in the page as
include files?

Thanks

Tom
-----Original Message-----
Tom wrote:
Does anyone know of a way to debug JavaScript for C# .NET applications?

Is there a tool or add-on that will allow me to step
through Javascript line by line in debug mode?

See
http://msdn.microsoft.com/library/en-

us/jscript7/html/jsconDebuggingJScriptWithVS.asp

--
Arild Fines

http://ankhsvn.tigris.org
A Visual Studio .NET Addin for the Subversion version control system.

.

Nov 15 '05 #3
Tom wrote:
Thanks for the tip Arild Fines.

But when I tried adding the <%@ page Language=jscript
debug=true %> to my Home.aspx page I got ane error.

There can be only one 'page' directive and I can't combine
C# and Jscript directives within the single page directive.

Here is my page directive
<%@ Page language="c#" Codebehind="Home.aspx.cs"
AutoEventWireup="false" Inherits="BOD.Templates.Home" %>

And the JavaScript files are embedded in the page as
include files?


I must have misunderstood your original question. You are talking about
_clientside_ Javascript, running in the browser?

--
Arild Fines

http://ankhsvn.tigris.org
A Visual Studio .NET Addin for the Subversion version control system.
Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bruce W.1 | last post by:
Can anyone recommend a Javascript debugger? I see where debuggers are made by Netscape, Microsoft and Macromedia (built-in to Dreamweaver). I'm new to javascript so any comments are appreciated....
9
by: alonzo | last post by:
I am working on a piece of javaScript code and using MIE 6.0. I have and error and I would like to use a debugger to locate the error. Is there a debugger for MIE? How do I turn the debugger on...
2
by: Robert Skidmore | last post by:
Debugger.js 1.0 This is my Javascript debugger. What it does: After you displaying the debug window (see tip 1) you can move your mouse over any element on the page and the window will...
2
by: Archer | last post by:
I wanna to run ms script debugger to debug my web including javascript code. but when I click 'Yes' in the IE bug-found message box there is no reaction on it.the script debugger seems unused.What...
25
by: Jeff | last post by:
Use the MS Script Editor included free with MS Office 2002 and above, for debugging Internet Explorer (IE). This subject is of great interest to many JS developers, as there is no obvious, low...
3
by: mikeorb | last post by:
I'm debugging some JavaScript. In Firefox I can use dump(msg) to print a message on their JS console (see http://kb.mozillazine.org/Viewing_dump()_output). Likewise, Opera has the...
3
by: zhong.zx | last post by:
Hi, I have used venkeman js debugger in firefox to debug the code first. Until everything goes ok, I use IE to check compatiblity, but the IE error info really make no sense :( really hate...
4
by: aramsey | last post by:
I have a javascript program that works fine under Firefox and on IE when running XP, but is having a problem with IE running under Windows 2000 Pro. On my personal XP development machine I have...
11
by: active | last post by:
Q317094 mentions the debugger statement. I tried: <script language="JavaScript" type="text/JavaScript"> function resizeImg(oID) {
1
by: art | last post by:
Hi, We have an application where we select some customer data from some drop down menus and the customer record is displayed. Each drop down has an 'onchange' property associated with it. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.