I Have implemented a debugger using C#. It uses MSSCRIPT.ocx as a vbscript engine. Can anyone tell me how i can implement immediate window feature in it.
Desired Feature:
Should Show all the available variables along with their values :
E.g.
i = 1
j = i+2
[Break Point]
k = 3
On hitting the breakpoint ,immediate window should display i=1 , j=3
Any way to fetch variables at runtime from a vbscript code ?
MSScript wraps up a whole pile of interfaces.
Active Scripting APIs: Add Powerful Custom Debugging to Your Script-Hosting App
See https://msdn.microsoft.com/en-us/magazine/cc301316.aspx
and for the 10 million interfaces. https://msdn.microsoft.com/en-us/library/6dy78b76(v=vs.94).aspx
And this is what help says about using the script control.
Having said that, you can add you own code to do eval and execute in your script with imagination.