Is Microsoft supporting Active Scripting APIs for Custom Debugging? - IActiveScriptDebug

Srinivas Malla 0 Reputation points
2023-05-16T09:17:16.4233333+00:00


I am looking to develop a standalone C++ program that can help in executing a VBScript with a debugger feature enabled.

I could achieve execution of VBScript using IActiveScript and IActiveScriptParse. I need to incorporate debugging related feature to it. I went through the article published in the MSDN magazine.

Ref : - https://learn.microsoft.com/en-us/archive/msdn-magazine/2000/december/active-scripting-apis-add-powerful-custom-debugging-to-your-script-hosting-app

    Could you please help me with the sample program referred in the link above? That will help me make the necessary changes.

    Is IActiveScriptDebug supported by Microsoft? If no, what are the alternatives?

Your help is much appreciated. Thank you in advance.

I tried surfing in the net for examples but I got none. I wanted clarity on whether this debugger interfaces are supported by Microsoft for C++ programing. If yes, wanted to have a sample program with breakpoint set.

Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,751 Reputation points
    2023-05-18T15:23:31.55+00:00

    Hello there,

    Microsoft was sensitive to this need when they designed the Active Scripting framework and included hooks to allow third-party applications to debug script code within their own application space. These hooks took the form of a set of COM interfaces (more than 45 of them) spread across the various components within the framework to help provide debugging capability.

    https://learn.microsoft.com/en-us/archive/msdn-magazine/2000/december/active-scripting-apis-add-powerful-custom-debugging-to-your-script-hosting-app

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.