我正在学习Java技术。有没有一种方法可以让我使用Eclipse调试器逐步检查代码,看看它是如何一步一步地工作的?例如,这是一个简单的html5 + restful服务。
有没有什么方法可以让我从Eclipse脚本中进行调试,然后在index.html中逐步调试代码呢?这将是研究这些东西的最好方法。
非常感谢。
/**
* A simple CDI service which is able to say hello to someone
*
* @author Pete Muir
*
*/
public class HelloService {
String createHe
我试着测试画布标签,我从下面的代码开始:
<html>
<canvas id="example" width="200" height="200">
This text is displayed if your browser does not support HTML5 Canvas.
</canvas>
</html>
在IE8中我得到了这样的信息:
This text is displayed if your browser does not support HTML5 Canv
我正在尝试创建一个菜单层,但是我在Chrome控制台上得到了这个错误:
MenuLayer is not defined
但这是我的menu.js,它定义了MenuLayer:
var MenuLayer = cc.LayerColor.extend({
ctor : function(){
//1. call super class's ctor function
this._super();
cc.associateWithNative( this, cc.LayerColor );
},
onEnter: