![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | 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 Specs![]() |
![]() |
| 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 | |||