Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - break statement in vbscript wont launch debugger

Reply
 
Old 09-23-2008   #1 (permalink)
shiddhartha01


 
 

break statement in vbscript wont launch debugger

I've got a script host (implementing IActiveScriptSite) which I'm
using to run VBScripts successfuly but I need to debug them. I know
you can put a 'break' statement in the script and that will launch a
debugger (like Visual Studio 2005) which seems to work on some systems
around here but not mine!

Running the command line "cscript //x scriptname.vbs" where the script
has a 'break' raises a dialog asking me to choose a debugger and I can
happily step through the script. However I get no such dialog when
running the same script from my script host instead I get a messagebox
displayed by the script host's implementation of
IActiveScriptSite::OnScriptError().

Has anyone else come across this problem or have any info about it?
Is there another way to debug VBScripts via Visual Studio 2005 or
2008?


BTW all our development systems are the same ie XP Pro SP3 with VS2005.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Microsoft Script Debugger Locals Window Doesn't display VBScript COMobject Data VB Script
Launch batch file and pass control back to VBScript VB Script
i have 2 gigs of ram installed but applications wont launch once 1 gig is used up. Live Messenger
WMP wont auto launch streamed video Vista music pictures video
break from foreach statement PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46