Welcome, Unregistered.
You last visited: Today at 10:40 PM






 

Members:
Threads:
Posts:
Online:

Newest Member:


Add Me

Go Back   Hosting Reseller Forums > Hosting Services > 3rd party script hosting

Tags:



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-23-2008, 12:01 PM
shiddhartha01@googlemail.com
 
Posts: n/a
Default 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.
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:40 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.

A vBSkinworks Design

© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network