Netbeans实时/实时更新 [英] Netbeans live/realtime update

查看:207
本文介绍了Netbeans实时/实时更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试像下面这样实时编译NetBeans IDE 7.0.1: http://www.youtube.com/watch?feature=player_detailpage&v=dwn_UrItwfw#t=239s
我已经尝试在调试模式下按注释的ctrl + s来运行它.
BUT无法正常工作,他(NetBeans)将无法实时更新代码.

I'm trying to make NetBeans IDE 7.0.1 live compile like here: http://www.youtube.com/watch?feature=player_detailpage&v=dwn_UrItwfw#t=239s
I have tried running it in debug mode the type ctrl + s as commented.
BUt that doesn't work, he(NetBeans) will not live update the code.

如何使Netbeans实时更新代码(在应用程序运行时)?

How can i make netbeans update the code live(while application running)?

推荐答案

  1. 以调试模式运行

  1. Run in debug mode

进行更改

保存文件

在调试菜单或工具栏上按应用代码更改".

Press "Apply code changes" from the debug menu or the toolbar.

注意:在首选项中,您可以设置此选项以自动应用代码更改.

Note: In the preferences you can set this option to automatically apply code changes.

确保您的代码会通过该行(例如,更改初始化代码意味着您需要重新初始化对象).

Make sure your code will pass through that line (e.g. changing an initialization code means you need to reinitialize the object).

这篇关于Netbeans实时/实时更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆