IE8 JScript Debugger – Under the Hood

I have posted about the JScript Debugger Design for IE8 Developers Tools on the JScript Team blog (here). Hope it is nice read up for you. I would be writing more on Debugger very soon. Stay tuned.


JScript Debugger Functionality in IE8

Deepak, Program Manager, from our JScript Team has blogged here in detail about the functionalities the Script Debugger in the IE8 Developer Tools provide. He has also links to the other resources like white paper etc in his blog. This would be interesting read for all the web developers looking at in built script debugger…


IE8 Beta1 is available

IE8 Beta1 is now available here. It has remarkable script improvements in JScript performance. It also features handy JScript Debugger for developers. I will soon be writing more about JScript Debugger – what went into designing this debugger the way it is, features etc. So stay tuned. Mean while you can read up on what…


Passing more than one parameter to the script callback

Passing more than one parameter to JScript function isn’t difficult at all after knowing how to pass the parameter. But there is only one trickier part here. I haven’t investigated why this is trickier but it is this way and one must know this other wise the results can be confusing.   Lets say out…


Using Return Value of the Script Callback

To use the return value of the JScript Function we need to pass parameter VARIANT *pVarResult to the Invoke Method of the IDispatch.   Lets implement an adder that takes one integer as parameter and return the result as paramter + 1. function adder(a) {     alert(“a = ” + a);     return a +…


Passing Parameter to the Script Callback

Earlier post talked about how to call a callback script from the COM component. What if one wants to call a function that takes parameter say alerter. function alerter(b) {     alert(“b = ” + b); }   Now to call this function we need to use other parameters of Invoke method of IDispatch which…


Script CallBack from COM

Earlier we saw how to call a function on COM class from JScript. But what if one wants to call a function say a callback which is in JScript from COM? Lets see how to achieve this in this post.   To make COM and JScript interoperable and allow COM component to call JScript function…


Calling functions of COM object from JScript

After earlier post on instantiating COM class, let’s move ahead with invoking the functions over this COM object.   To be able to invoke functions on the instantiated COM function through JScript, we need to add the method to the ITest interface which is derived from IDispatch. Lets start with a example of a COM…


Interoperability of JScript with COM

Recently I worked on using COM component in JScript. I couldn’t find one stop solution or example for this and so thought for writing series of posts regarding this.   Instantiating a COM class. COM class should implement IDispatch and be registered with ProgID, so that JScript can invoke it using ActiveXObject semantics.   I…


Debugging a script debugger

Its kind of pain to debug a debugger. One thing for sure. If you want to debug VS debugger for C++,C# etc languages then it would be bit simple(I think) as everything takes place in VS itself. So its just question of attaching to another VS which is kind of well established method here. But when…