logo

Response

« Return to the main article

You are viewing this page out of context. To see it in the context it is intended please click here.

About This Page

Reply posted by Jim Fricker on Thu 12 Feb 2004 in response to Debugging JavaScript in Your Applications

Re: Script Debugger vs. Script Editor

The MS Script editor also comes with MS Office 2000 and is far far superior to
the very old MS Script Debugger. Also the MS Script debugger is very insidious.
Once installed it is very difficult to get back to use MSE (or install) as your
default script debugger. MSE v7 (in oxp) and the Visual Studio script debuggers
all work co-operatively together but not so MS SD. I would recommend that
people only install MS SD as a very last resort. Only if you do not have access
to Office 2000 or later or a recent copy of Visual Studio. MSE automatically
shows all local variable values including object hierarchies and user
selectable watch variables. It also separates the debug output window from the
immediate window which is very useful. It might be also worth mentioning the
global Debug object with its write and writeln methods for outputing text
straight to the debug output window or the command window in the case of MS SD.


Details can be found here


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/j
s56jsobjdebug.asp


Also if anything does complain about the Debug object not being defined you can
always use code like


if (Debug) Debug.writeln('');


Only my opinion, your mileage may vary.


Jim