Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Microsoft Script Editor 10.0

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,42407
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Microsoft Script Editor 10.0
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Microsoft Script Editor 10.0 - 1/23/2007 2:00:56 PM   
  takeda kozo

 

Posts: 83
Score: 0
Joined: 11/9/2005
Status: offline
I am trying to use the debugger in MS Script Editor, but when trying to "step into" my script from within the debugger.....or.....when running "cscript script_name.vbs //x" from a command prompt....nothing happens ???

It doesn't run the script....and it doesn't begin debugging ....

There's probably a very simple answer, and I'm sure that I will end up looking like a retard...but can someone please help me ?

WHAT AM I DOING WRONG ????
 
 
Post #: 1
 
 RE: Microsoft Script Editor 10.0 - 1/24/2007 5:28:48 AM   
  Country73


Posts: 735
Score: 10
Status: offline
Try posting the actual script you are running so that we can take a look at it.

(in reply to takeda kozo)
 
 
Post #: 2
 
 RE: Microsoft Script Editor 10.0 - 1/24/2007 5:57:34 AM   
  who10

 

Posts: 33
Score: 0
Joined: 4/29/2006
Status: offline
I have the exact same problem.  Doesn't matter what script I run, the problem exists.  I figured it was a setting or something, but I haven't been able to find it.

(in reply to takeda kozo)
 
 
Post #: 3
 
 RE: Microsoft Script Editor 10.0 - 1/24/2007 6:09:26 AM   
  ebgreen


Posts: 5246
Score: 31
Joined: 7/12/2005
Status: offline
I'm pretty sure that you need to have debugging turned on in IE.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to who10)
 
 
Post #: 4
 
 RE: Microsoft Script Editor 10.0 - 1/24/2007 11:40:30 AM   
  who10

 

Posts: 33
Score: 0
Joined: 4/29/2006
Status: offline
Enabling the debugging in Internet Explorer fixed my problem. 

(in reply to ebgreen)
 
 
Post #: 5
 
 RE: Microsoft Script Editor 10.0 - 1/24/2007 5:39:57 PM   
  takeda kozo

 

Posts: 83
Score: 0
Joined: 11/9/2005
Status: offline
quote:

ORIGINAL: Country73

Try posting the actual script you are running so that we can take a look at it.


It's not script specific, it's a problem with running the debugger in general.

If you really want to see an example though, then this script is not able to be run through the debugger ....

--------------

'Test Script
Ans = InputBox("What is your first name ?","Debugger")
str1 = "debugger"
Wscript.Echo "Hey " & Ans & " ... is this " & str1 & " annoying you too ?"

--------------

My internet setting are not "adjustable" through the standard IE interface due to policy settings. Can someone let me know what reg keys (or what else) needs to be changed to enable debugging ?

Thanks ~





(in reply to Country73)
 
 
Post #: 6
 
 RE: Microsoft Script Editor 10.0 - 1/24/2007 5:45:06 PM   
  takeda kozo

 

Posts: 83
Score: 0
Joined: 11/9/2005
Status: offline
Found this:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main

Key Name = "disable script debugger"

I changed the value from "yes" to "no"

same results....my scripts are still not running through the debugger !!!!


(in reply to takeda kozo)
 
 
Post #: 7
 
 RE: Microsoft Script Editor 10.0 - 1/25/2007 12:45:45 AM   
  Country73


Posts: 735
Score: 10
Status: offline
My bad, I was stuck in the mode of trouble-shooting (actual scripts); so I disregarded the whole "turning debugger on".

I appologize for that.

(in reply to takeda kozo)
 
 
Post #: 8
 
 RE: Microsoft Script Editor 10.0 - 1/29/2007 1:28:18 PM   
  takeda kozo

 

Posts: 83
Score: 0
Joined: 11/9/2005
Status: offline
*bump*

come on ... with all the scripting knowledge in here, there must be someone who has encountered this before ??

Enabling/Disabling debugging in IE doesn't change anything

:(

If I run cscript scriptname.vbs //x from a command prompt, then it doesn't enter "debugging" mode.....it just runs the script

ANY ideas ?? please :(


(in reply to Country73)
 
 
Post #: 9
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Microsoft Script Editor 10.0 Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts