New Post: Script CallStack information in a method callback
Thanks guys, this looks good, the downside being it doesn't identify the file names in which the methods are located in in case of multiple files used. If i were to use the...
View ArticleEdited Feature: V8ScriptEngine does not support stack limits [26]
Hi there,I'm trying to evaluate how ClearScript's V8 implementation works when it comes to scripts that could contain issues of any kind. One particular case led me to running a script that contains...
View ArticleCreated Feature: API method for collecting a script stack trace [27]
ClearScript collects stack traces during error processing, but an API method exposing this capability for logging purposes would be useful as well.
View ArticleEdited Feature: API method for collecting a script stack trace [27]
ClearScript collects script stack traces during error processing, but an API method exposing this capability for logging purposes would be useful as well.
View ArticleNew Post: Script CallStack information in a method callback
Enabling debugging makes richer call stack information available, but ClearScript doesn't have a convenient API for retrieving it. You could deliberately throw a script error, catch the exception, and...
View ArticleNew Post: Can not use prototype declarations with V8 Engine
Hi. I've tried to create a simple "class" declaration using prototype declarations and it seems like that V8 engine don't support that. The C# code is:using (var engine = new JScriptEngine()) { /*...
View ArticleCreated Unassigned: Class Variable passed byval is adjusted in Sub [28]
Passing a variable (Class) to a sub and using the passed variable to make changes results in the calling routine having its copy adjusted suggesting that BYVAL is not being used for Class...
View ArticleCommented Unassigned: Class Variable passed byval is adjusted in Sub [28]
Passing a variable (Class) to a sub and using the passed variable to make changes results in the calling routine having its copy adjusted suggesting that BYVAL is not being used for Class...
View ArticleCommented Unassigned: Class Variable passed byval is adjusted in Sub [28]
Passing a variable (Class) to a sub and using the passed variable to make changes results in the calling routine having its copy adjusted suggesting that BYVAL is not being used for Class...
View ArticleNew Post: Can not use prototype declarations with V8 Engine
Hello yahavgb! We tested your code and got the same results with both script engines: Car is undefined and no output is generated. That makes sense because the code sets Car (the outer one) to the...
View ArticleEdited Unassigned: Class Variable passed byval is adjusted in Sub [28]
Passing a variable (Class) to a sub and using the passed variable to make changes results in the calling routine having its copy adjusted suggesting that BYVAL is not being used for Class...
View ArticleCommented Unassigned: Class Variable passed byval is adjusted in Sub [28]
Passing a variable (Class) to a sub and using the passed variable to make changes results in the calling routine having its copy adjusted suggesting that BYVAL is not being used for Class...
View ArticleEdited Issue: VBScript engine reports wrong line number on error [24]
An error in the 1st line is reported as being in line 0An error in the 2nd line is also reported as being in line 0And error in the 3rd as line 1And then it increments as you would expect 2,3,4 ...The...
View ArticleNew Post: problem in a web project, a different thread owns it.
I am working with Visual Studio Web Developer 2010 Express and getting this error. System.InvalidOperationException was unhandled by user code HResult=-2146233079 Message=The calling thread cannot...
View ArticleNew Post: problem in a web project, a different thread owns it.
I think I figured it and it had nothing to do with clearscript. Sigh. celebration premature. if the session times out i get the same error.
View ArticleNew Post: problem in a web project, a different thread owns it.
Glad to hear that you figured it out, but yeah, Windows script engines are tricky to use on the server because each instance can only be called on the thread on which it was created. Good luck!
View ArticleCreated Unassigned: Expose Chakra [29]
It would be great to get access to the IE9+ Chakra engine as a lightweight (in terms of file size), ES5 compatible alternative to V8.
View ArticleNew Post: Using ClearScript. WebApplication problem
Hi, I tried the workaround described but could not get it working. Could be I reference another project with the clearscript assemblies in it? I did not put very much time into it yet. Anyway, it would...
View ArticleCreated Unassigned: Properties of Nullable type [30]
Dear Sir or Madam,I seems to having problems setting properties of type Nullable<> from within JScript.Sample script:```function foo(obj, propValue){// obj.Prop is declared as of type...
View ArticleNew Post: Using ClearScript. WebApplication problem
Greetings prgjonas! The procedure above has been used successfully to deploy ClearScript with ASP.NET applications in both IIS and Azure. If it doesn't work for you, we'd love to take a look at your...
View Article