Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
misc
exam.security
microsoft_update_catalog
msdn.annotations
msdn.drgui.discussion
msdn.duwamish
msdn.general
msdn.magazine
msdn.soaptoolkit
msdn.webservices
msdntraining
opsmgr.connectors
opsmgr.sp1
technet
technet.howtofeedback
technet.howtoneeds
technet.magazine
technet.technettalks
  
 
date: Fri, 2 May 2008 11:29:34 -0400,    group: microsoft.public.msdn.general        back       


Where is Microsoft Script Debugger   
Got to this page
http://msdn.microsoft.com/en-us/library/ms950396.aspx
Clicked link for "Microsoft Script Debugger" and got "Content not found."
Went around in circles but couldn't find the debugger.  Came across several
other dead links in the journey.

LA
date: Fri, 2 May 2008 11:29:34 -0400   author:   Luke Alcatel

Re: Where is Microsoft Script Debugger   
Hi,

Good question!

Luke Alcatel wrote:
> Got to this page
> http://msdn.microsoft.com/en-us/library/ms950396.aspx
> Clicked link for "Microsoft Script Debugger" and got "Content not found."
> Went around in circles but couldn't find the debugger.  Came across several
> other dead links in the journey.

-- 
Gerry Hickman (London UK)
date: Fri, 02 May 2008 21:09:20 +0100   author:   Gerry Hickman am

Re: Where is Microsoft Script Debugger   
Hi,

I made some progress with this. Microsoft's website was extremely unhelpful.

Environment:

Vista SP1
Visual Studio 2008
Internet Explorer 7

1. Use an account with admin rights to go into IE7:Tools:Advanced, then 
make sure the options to disable script debugging are NOT ticked.

2. Create force_debug.hta text file, see the code below

3. Run the file. You should see it open perfectly in an IE7 window 
saying "hello" and "goodbye". Close the IE7 window.

4. Now uncomment the 'debugger' statement in the init() function and run 
the file again. This time you should get an error asking if you want to 
debug, say yes, and then choose the default options for debugging in the 
window hiding behind your app, then tell it to "break" in the next dialog.

Visual Studio 2008 will open, your text file will appear, and you'll be 
sitting at a break point. All debugging options will now be available.

Unfortunately, if you try to open the file in VS2008 directly, the 
option to debug will NOT be available.

<html>
<head>
<script language="JScript">

function init() {
     trace("1. Hello World");
     //debugger
     trace("2. Goodbye");
}

function trace(sText) {
	var temp = log.innerText;
	log.innerText = temp + "\n" + sText;
}

</script>
</head>
<body onload="init()">
<pre id="log"></pre>
</body>
</html>

-- 
Gerry Hickman (London UK)
date: Fri, 02 May 2008 21:42:50 +0100   author:   Gerry Hickman am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us