473,548 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

javascript debugger for MIE 6.0

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 for MIE? Where can I
locate the debugger for MEI 6.0? I am using WIN 98 operating system.
Jul 20 '05 #1
9 2139
On Wed, 18 Feb 2004 02:06:38 GMT, alonzo <le****@aol.com > wrote:
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 for MIE? Where can I
locate the debugger for MEI 6.0? I am using WIN 98 operating system.


Script debugging with IE (any version) is quite difficult to do. It tends
not to indicate where the error occurred properly, and the messages it
gives are vague.

To access script debugging, open "Internet Settings" from the Control
Panel, click the "Advanced" tab and make sure that the option "Disable
script debugging" under "Browsing" is unchecked. When an error occurs, a
yellow warning icon will appear in the bottom left part of the status bar.
Double click this to display a pop-up, then click the "Details" button for
the information.

If you have the option, use Opera, Netscape or Mozilla (all free) to debug
your pages. You're more likely to catch errors (they are more
standards-compliant), and they show much more detailed information. For
Opera, the JavaScript debugging console is under "Window" > "Special" >
"JavaScript console". With Netscape and Mozilla, the console is under
"Tools" > "Web Development" > "JavaScript Console". Netscape and Mozilla
also provide other tools for page debugging.

Mike

--
Michael Winter
M.******@blueyo nder.co.invalid (replace ".invalid" with ".uk" to reply)
Jul 20 '05 #2
> 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 for MIE? Where can I
locate the debugger for MEI 6.0? I am using WIN 98 operating system.


Microsoft's Visual Studio contains a very good JavaScript debugger. I
use it every day. There is a free version available at
msdn.microsoft. com, but it is crippled. You might be able to find and
old, cheap copy of Visual J++ 6 or Interdev 6.
Jul 20 '05 #3
In article <OM************ *****@fe1.texas .rr.com>, le****@aol.com
enlightened us with...
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 for MIE? Where can I
locate the debugger for MEI 6.0? I am using WIN 98 operating system.


There is a debugger for download at microsoft. You need to set IE to
display errors and to offer the debug option after you install it.

Big link:
http://www.microsoft.com/downloads/d...E606E71F-BA7F-
471E-A57D-F2216D81EC3D&di splaylang=en

--
--
~kaeli~
A plateau is a high form of flattery.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #4
In article <op************ **@news-text.blueyonder .co.uk>,
M.******@blueyo nder.co.invalid enlightened us with...

Script debugging with IE (any version) is quite difficult to do.


No it's not. You just need their debugger for anything useful.

http://www.microsoft.com/downloads/d...E606E71F-BA7F-
471E-A57D-F2216D81EC3D&di splaylang=en

--
--
~kaeli~
A plateau is a high form of flattery.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #5
On Wed, 18 Feb 2004 08:37:47 -0600, kaeli <ti******@NOSPA M.comcast.net>
wrote:
In article <op************ **@news-text.blueyonder .co.uk>,
M.******@blueyo nder.co.invalid enlightened us with...
Script debugging with IE (any version) is quite difficult to do.


No it's not. You just need their debugger for anything useful.


Hopefully, they'll integrate it into the next release of IE. It would
certainly make a lot of sense: I expect that *relatively* few people know
it's available.

Mike

--
Michael Winter
M.******@blueyo nder.co.invalid (replace ".invalid" with ".uk" to reply)
Jul 20 '05 #6
I am sorry to post a message here not related to the first topic.

I wonder what other method I can use to replace javascript as the
client side scripting. I am not using ASP.NET for the server side, and
try to use javascript for the client side. Is it a good combo and are
they working well with each other? sometimes i am confused if i should
use the server or the client to program a task.

Any opinions are appreciated.
Michael Winter <M.******@bluey onder.co.invali d> wrote in message news:<op******* *******@news-text.blueyonder .co.uk>...
On Wed, 18 Feb 2004 02:06:38 GMT, alonzo <le****@aol.com > wrote:
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 for MIE? Where can I
locate the debugger for MEI 6.0? I am using WIN 98 operating system.


Script debugging with IE (any version) is quite difficult to do. It tends
not to indicate where the error occurred properly, and the messages it
gives are vague.

To access script debugging, open "Internet Settings" from the Control
Panel, click the "Advanced" tab and make sure that the option "Disable
script debugging" under "Browsing" is unchecked. When an error occurs, a
yellow warning icon will appear in the bottom left part of the status bar.
Double click this to display a pop-up, then click the "Details" button for
the information.

If you have the option, use Opera, Netscape or Mozilla (all free) to debug
your pages. You're more likely to catch errors (they are more
standards-compliant), and they show much more detailed information. For
Opera, the JavaScript debugging console is under "Window" > "Special" >
"JavaScript console". With Netscape and Mozilla, the console is under
"Tools" > "Web Development" > "JavaScript Console". Netscape and Mozilla
also provide other tools for page debugging.

Mike

Jul 20 '05 #7
In article <b0************ **************@ posting.google. com>,
al*********@yah oo.com enlightened us with...
I am sorry to post a message here not related to the first topic.

Then why didn't you start a new thread? ;)
I wonder what other method I can use to replace javascript as the
client side scripting.
Unless all your users have IE, there isn't a replacement for client-side
javascript. By that I mean that only IE supports other client-side
scripting languages. IE supports VBScript. Other browsers do not.
If you meant replacing client-side scripting with server-side scripting,
that depends on the task.
I am not using ASP.NET for the server side,
You're NOT using it?
What ARE you using, if anything, for server-side scripting?
and
try to use javascript for the client side. Is it a good combo and are
they working well with each other?
There is no connection between the server-side scripting language of
choice and javascript. One runs on the server. The client never even
sees it. The client code never sees the server code. It doesn't care
what generated the page. It sees plain html (or css, javascript, etc)
text.

(note: runat=server is not all that common and the client doesn't do
anything with it besides make a request to the server to get the block
processed)

client request -> server -> server gets page and runs it through
processing if needed -> client gets page -> client-side script runs

The client can't even tell that the page was generated via server-side
scripting, much less what language did it. YOU can tell because it is
convention to use .asp, .php, etc extensions, but those are certainly
not a requirement. If I configured my server a certain way, I could have
PHP pages that have a .html extension. You'd have no idea they were PHP
pages.
sometimes i am confused if i should
use the server or the client to program a task.


Unless the script deals with changing existing content on the client or
depends on the client for something, there is no need to use client-side
scripting. Your server is much faster, more than likely, than someone's
browser. If you have a server-side scripting capability, use it.

The server knows nothing about the client, thus, you cannot use server-
side scripting for anything that *dynamically* (that is, it doesn't post
back to the server) changes client content (DHTML stuff like moving
layers around or client-side validation) or anything that relies on
client information (positioning content based on resolution, etc).

There is a difference between dynamically generating html, which is done
server-side most commonly (like generating content based on DB queries),
and dynamic html (DHTML), which usually refers to things moving or
changing on the page without server interaction.

Note that javascript cannot by itself talk to the server. ActiveX or COM
can, but just your "normal" garden-variety cross-browser javascript
cannot.

--
--
~kaeli~
No one is listening until you make a mistake.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #8
For a simplistic way of "printing" out debug information that work in
HTML & Javascript, see my article:
http://groups.google.com/groups?hl=e....earthlink.net

Re: Debug - Your own console
& be sure to use the second article.

Robert
Jul 20 '05 #9
kaeli wrote:
The client can't even tell that the page was generated via server-side
scripting, much less what language did it. YOU can tell because it is
convention to use .asp, .php, etc extensions, but those are certainly
not a requirement. If I configured my server a certain way, I could have
PHP pages that have a .html extension. You'd have no idea they were PHP
pages.


True, see for example <http://pointedears.de. vu/mozilla/nightly/buggy>.
The best way to access resources is not what you call "convention " but
to omit any "extensions " (i.e. suffixes) in URIs that may indicate the
technology used since a) such information could be exploited, attacking
known security vulnerabilities and b) "Cool URIs don't change", even if
the server-side technology changes:

<http://www.w3.org/QA/Tips/uri-choose>
PointedEars
Jul 20 '05 #10

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

Similar topics

3
5005
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. I'm mainly interested in making scripts work in IE, for starters anyway. I'm using Dreamweaver MX and will probably be developing ASP.NET...
14
5740
by: Jeff Papineau | last post by:
http://www.mandala.com/javascript/debug_javascript.html I've written up a page explaining how to use the MS Script Editor for Javascript debugging in IE. It's a great debugging environment and has allowed my group to do much more with Javascript in IE with JSP files than we would have attempted without it. Please pass this around, as I...
6
9332
by: dennishancy | last post by:
Trying to debug someone else's javascript code. There is a line that looks like this: req = req.substring(req.length-2, req.length); >From what I can gather in their comments, they want to capture the last two characters of the string "req". I'm guessing that the above line won't do that, and they want to change it to
25
4261
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 cost way to do sophisticated debugging in IE6 other than to use the debugger described below, which is horribly documented otherwise. I feel...
3
11105
by: Wysiwyg | last post by:
After a server created cookie is processed on the client I want it removed, cleared, or expired in the javascript block but have been unable to do this. If I set a cookie value in the server code behind and don't use a domain then I can not change or remove that cookie's value on the client. If I subsequently create the cookie again in the...
3
2482
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 opera.postError(msg) method. Is there an equivalent in Internet Explorer that will work with Visual Studio 2003 when using the JS debugger? I know how to set...
11
1498
by: active | last post by:
Q317094 mentions the debugger statement. I tried: <script language="JavaScript" type="text/JavaScript"> function resizeImg(oID) {
3
2954
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hi, This is an issue that happens to me and everybody else I know and I've never found a way around it. In Visual Studio (currently using 2003 but the same has happened for me in 2005 and 2008 as well) If I put a breakpoint in a .js file, the debugger picks it up and breaks into it at that point.
5
2024
by: ameshkin | last post by:
I have been unable to fidn a good JS debugger for IE7. Often times, the same scripts work in firefox but crap out in IE7, to see source code, do the following. Go here http://www.promoventures.com/quotes2/ Click on any icon, and click proceed.
0
7512
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
7438
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
7707
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. ...
0
7951
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7466
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
7803
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...
1
1926
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1051
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
751
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.