473,543 Members | 2,001 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

debug javascript

Hi,

I put the javascript code into a .js file. When it has error, the
debugger in IE 6 will not should the code. I have some software such
as vs.net and IntelliJ IDEA 3. Do you know I can use them to dubug a
..js file? Please also tell me where to get information on how to
debug .js file using them.

Thanks.

Chris
Jul 20 '05 #1
4 3747
Lee
chirs said:

Hi,

I put the javascript code into a .js file. When it has error, the
debugger in IE 6 will not should the code. I have some software such
as vs.net and IntelliJ IDEA 3. Do you know I can use them to dubug a
.js file? Please also tell me where to get information on how to
debug .js file using them.


Wouldn't it be simplest to take the code out of the .js file
until it's debugged?

Jul 20 '05 #2
Lee <RE************ **@cox.net> wrote in message news:<bq******* **@drn.newsguy. com>...

Wouldn't it be simplest to take the code out of the .js file
until it's debugged?


Your idea is OK. But I also want to find a better debugger.
Jul 20 '05 #3
Hi,

I put the javascript code into a .js file. When it has error, the
debugger in IE 6 will not should the code. I have some software such
as vs.net and IntelliJ IDEA 3. Do you know I can use them to dubug a
..js file? Please also tell me where to get information on how to
debug .js file using them.

Thanks.

Chris

ym*@kicon.com (chirs) wrote in message news:<4c******* *************** ****@posting.go ogle.com>...
Lee <RE************ **@cox.net> wrote in message news:<bq******* **@drn.newsguy. com>...

Wouldn't it be simplest to take the code out of the .js file
until it's debugged?


Your idea is OK. But I also want to find a better debugger.

Jul 20 '05 #4
chirs wrote on 27 Nov 2003:
I put the javascript code into a .js file. When it has error,
the debugger in IE 6 will not should the code. I have some
software such as vs.net and IntelliJ IDEA 3. Do you know I can
use them to dubug a .js file? Please also tell me where to get
information on how to debug .js file using them.


<snip>

Internet Explorer should indicate the row and column that it thinks
is in error which you can then go to (good editors should allow you
to enable line numbers). If not, you could place the code on a
server, post the address here, and we could take a look at it. You'll
have to give some clue as to what doesn't work, why, what should
happen if it was working, and where the broken code might be (e.g. a
function name).

Mike

--
Michael Winter
M.******@blueyo nder.co.uk.invalid (remove ".invalid" to reply)
Jul 20 '05 #5

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

Similar topics

1
2072
by: Robert | last post by:
Simple way of writing debug print statements in your JavaScript code. You need to have enabled popups in your browser. I liked the ability to write to the java console in Netscape 4.x. This, ability is missing in IE and the latest versions of Netscape. Maybe someone knows a better way and can improve on this code, the following JavaScript...
2
1937
by: apngss | last post by:
Is there any way to debug javascript in a web application? When I develop JSP pages, and it has the javascript code in it. The problem is the debugger in Java IDE (WSAD in my case) can only debug Java code but not Javascript code. What should I do to debug javascript code? please advise. thanks!!
1
2228
by: yma | last post by:
Hi, I have an asp.net app that I uses javascript in the html file. Can you show me how to debug javascript in vb.net. I use vb.net in vs.net. Here is a sample html file. If I cannot use vb.net to debug it, please let me know, too. <HTML><head> <script type="text/javascript"> function verify(v){
1
4411
by: Jonas | last post by:
Hi, I've recently found out that I'm supposed to set the debug attribute of the compilation element in web.config to false in production environments. But when I do so in my ASP.NET application, I get strange errors. Apparently, a javascript file that I specify in the vb-code doesn't get called, I and when I check the source sent to the...
4
313
by: TARUN | last post by:
Hello all I am new to web technology, so plz excuse me for posting such a silly question . I have a code in C#.NET , ASP.NET, Javascript . I am a begginer of Javascript i don't understand the usage of script in web application development. Can i set the debug enviroment for Javascript code. All the script are written in aspx page.
2
3164
by: Dinh Bao Tuyen | last post by:
Hi everyone, I can't debug javascript in VS 2005. In my VS2005, I can't find Script Explorer in menu. Can u help me???
6
1686
by: toffee | last post by:
Hi all, I get an script error warning from IE and am not sure how to debug. I've got 3 external js file which i linked in my <head> The error warning msg is: "Problems with this webpage might prevent it from being displayed properly or functioning properly. Line: 18 Char: 16
15
1816
by: teppic.xxviii | last post by:
Ok, so this is a little script that I've been working on and off for the past year or so, and finally I think it might be ready to be put to the ultimate test: other people! http://rdgreen.eu/js/debug.js It's basically a javascript file that can be used to help with the client-side debugging process. I use it like this: create a...
2
1323
by: mmxmsmmzm | last post by:
Would everyone begin to post JavaScript editors that include watch and debug windows! These tools are probably very new... but posting responses to this post will aid in gathering a number of tools that make JavaScript easier to develop and debug... The amazing amount of javascript included in web software packages today is mind blowing....
2
9011
by: joelkeepup | last post by:
Hi, I made a change this morning and now im getting an error that says either "a is undefined or null" or "e is undefined or null" the microsoft ajax line is below, I have no idea how to figure this problem out. Any suggestions? thanks Joel
0
7412
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7355
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7594
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7356
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7697
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5892
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5285
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4900
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
979
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.