<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[[实践OK]zend studio下地aptana插件安装后用于编写并用Firefox结合该插件调试Js的兼容性配置及使用相关备案。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Php/Js/Shell/Go]]></category>
<pubDate>Wed, 12 Dec 2012 08:35:20 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	--------------------------------------------------------------------------------------<br/>成功配置后的感想：关于这个aptana的调试功能，我觉得没有做得好，也是个鸡肋，因firefox的大幅度升级，导致这个debug插件出现了各种兼容性问题，国外也有人提到，如：https://aptanastudio.tenderapp.com/discussions/suggestions/400-js-debuggerdont-work-with-firefox-150-aptana-3-build-321201207261642-aptana-plugin-ff-172&nbsp;&nbsp; 为此，我觉得前端的调试还是应该以firebug来做，完善好了，问题解决90%。<br/>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br/>我的最后Js调试Ok的解决方案如下：<br/>Firefox 版本：V17.01<br/>按aptana说的下载基于1.2-1.8：https://getfirebug.com/releases/firebug/1.8/firebug-1.8.0.xpi //这个版本我试了下是可以的<br/>aptana插件下载如下：Aptana debugger的下载地址 ：http://firefox.aptana.com/update/aptanadebugger.xpi<br/><br/>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br/>网上摘录：<br/>安装：http://my.oschina.net/u/197668/blog/35751<br/>使用及配置：http://blog.csdn.net/easywang369/article/details/7580034<br/><br/>更多关于这个zendstuodio的问题：http://hbwanghai.blog.163.com/blog/static/1992971472012102912916330/<br/>这个较完整：<br/>http://luwenxiang1990.blog.163.com/blog/static/17360763920116172294038/<br/>http://icandy.blog.163.com/blog/static/18967817320113189013361/&nbsp;&nbsp; <br/>有代码可以下载学习，不错的教材，注意：这个firefox的版本问题可能是调试的大问题，得学会自己再安一个旧一点的3.5版本，安在不同的目录，在aptana里设置一下旧版本的位置，同时安上两个插件。一个是：firebug，一个是：apata的插件。（估计是用来开端口的，于最新的版本不兼容）<br/>Aptana加Firefox下的插件进行调试：http://www.cnblogs.com/Fooo/archive/2010/01/28/1658514.html<br/>Aptana debugger的下载地址 ：http://firefox.aptana.com/update/aptanadebugger.xpi<br/><br/>Firefox下的插件不兼容然后会报错：<br/>然后第一次debug跳到 http://www.aptana.com/?debugger=true&amp;port=3726<br/><br/>第二次debug：也是一个 Aptana Firefox extension launching...please wait.<br/><br/>然后会报错：<br/><br/>Socket connection error. Please try shutting down and restarting your web browser, and then run &#039;debug&#039; again. Accept timed out<br/><br/>搞来搞去，结果是firefox版本问题，把原来的3.5.5换为3.5就没问题了，这个行不通。<br/><br/><br/>没有自动提示解决方案，zend studio 9 html，js,css的代码提示如何弄？php的代码提示是有的。<br/>装好了后，就有JS的提示功能了，如果要以整个工程的文件作为提示需要先关联文件.然后按alt+/&nbsp;&nbsp; 。<br/><br/><br/> 按Alt+/什么都不出来，如果没有打开提示，就一行“No Default Proposals”的解决办法：<br/>最终解决方案。<br/>菜单window-&gt;Preferences-&gt;Java-&gt;Editor-&gt;Content Assist-&gt;Enable auto activation 选项要打上勾<br/>windows–&gt;preference–&gt;workbench–&gt;keys 下设置Content Assist 的快捷键<br/>window-&gt;Preferences-&gt;Java-&gt;Editor-&gt;Content Assist-&gt;Advanced 上面列表框的Select the proposal kinds contained in the ‘default’ content assist list: 中把 Other Java Proposals 选项打上勾<br/>以上这几种方案似乎都没什么用，也许根本就不是解决这个问题的，看起来是解决快捷键冲突的，而冲突的话连“No Default Proposals”也不会提示。<br/>最后，还有一种解决成功率最高的方法是重建workspace，之前我记得有一次，大概2年前吧，当时也遇到过类似问题，那时候就是重建workspace解决的。但现在还用这种近乎“暴力”的方法，简直这太扯了，这么多项目、这么多配置，挨个导入到新的workspace，那也花很多时间呀。要花时间，不如花在寻找根本问题所在上，彻底解决这种情况。<br/>根据排除法，最终把问题定位在了workspace目录下的这个文件上：<br/>.metadata&#92;.plugins&#92;org.eclipse.core.runtime&#92;.settings&#92;org.eclipse.dltk.ui.prefs<br/>可以直接删掉它，重启eclipse后问题解决。（如果怕误删，可以先备份）<br/>但是这也只是小规模的微“暴力”解决方案，还没找到根本原因，那么，再细化点吧，直接用文本编辑器打开它，应该会有一行这样的配置：<br/>content_assist_disabled_computers=xxxxxxxxxxxxxxxxxxxxx<br/>罪魁祸首就是这项配置了！看名字就不像好东西，直接把我的content_assist给disable了！<br/>删除这行后保存，重启eclipse，问题彻底解决。<br/><br/>http://blog.sina.com.cn/s/blog_540180ba01016ovr.html<br/>看来抱怨的人不少：JavaScript编辑器 aptana studio 3.2.2 对应的火狐浏览器版本<br/>aptana studio 是JavaScript的编辑利器，但是配置非常让人头疼。<br/>它自带的 aptana Debugger 1.7.2 以及 firebug1.83 第一次输出的时候，按照提示自动安装就行了，最好别自己找了，找了装上不一定好使。。。。<br/>火狐浏览器版本推荐14版，我自己试了 16 、9、 10、 11、 12、 13、 14，&nbsp;&nbsp;7个版本，12-14版都能正常输出。但是，12,13版我这里打断点调试有问题。直到14版才一切OK。<br/>而15版看发布时间，比aptana studio 3.2.2晚，理论上可能不兼容，所以没试。。。如果我早点注意发布时间，我就不会先弄16版了。<br/>有例外情况，我同事说，他用12版断点调试ok。。。<br/>仅作参考，希望能帮助开发人员少浪费时间。
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]zend studio下地aptana插件安装后用于编写并用Firefox结合该插件调试Js的兼容性配置及使用相关备案。]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>