Debug JScript in C# project

原创 2006年06月06日 17:54:00

Debug Jscript, in C# project. Step by Step

* Create a JScript b.js
class myClass
    var answer : int = 42;         // public field
    private var pi : double = Math.PI; // private field
    static function sayHello() // public method
  var b = 100;
  b= b+1;
        return "Hello";

* build a dll or exe, by VS.Net command
jsc /debug /target:library b.js

* Create a C# poject. Add reference to Microsoft.JScript and b.dll

* Call class member function defined in b.js.

  private void button1_Click(object sender, System.EventArgs e)
   //myClass b = new myClass();

* Build and debug. step into the function defined in JScript.


Flex4:How to debug flex project in Chrome

今天发现了这个问题,Chrome中无法调试flex。我相信如果能够解决的话,能让Debug成为一种享受^^ 网上搜了一下资料,总结如下: ---------------------------...

NScript - A script host for C#/VB.NET/JScript.NET(NScript-.Net语言的脚步解释主机)

原文链接: 安装包和...

Using NDK-STACK to Debug Cocos2dx Android Project

‘ndk-stack’ is a simple tool that allows you to analyze stack traces as they appear in the output of...

TP Project Debug Tool 动态画点程序部分

//------------------------------------------------ int i = 1; int j = 1; //-------------------------...

Linux GDB Debug -- Ebook in .doc --

  • 2011年04月24日 10:11
  • 216KB
  • 下载

AndroidStudio中项目无法运行,报告Cant migrate project to Gradle in Android Studio错误

错误描述: 打开项目,AS右上角红色提示框:Migrate Project to Gradle? This project does not use the Gradle build system. ...

fully delete project in Eclipse

fully delete project in Eclipse
您举报文章:Debug JScript in C# project