<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>zrong&#039;s Blog &#187; Debug</title>
	<atom:link href="http://zengrong.net/post/tag/debug/feed" rel="self" type="application/rss+xml" />
	<link>http://zengrong.net</link>
	<description>Flash、Flex、RIA、web、Linux和我的生活</description>
	<lastBuildDate>Thu, 09 Feb 2012 15:09:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>SWF调试工具Alcon使用说明（仅面向调试工具使用者）</title>
		<link>http://zengrong.net/post/1251.htm</link>
		<comments>http://zengrong.net/post/1251.htm#comments</comments>
		<pubDate>Thu, 10 Feb 2011 09:44:14 +0000</pubDate>
		<dc:creator>zrong</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Debug]]></category>

		<guid isPermaLink="false">http://zengrong.net/post/1251.htm</guid>
		<description><![CDATA[<a href="http://zengrong.net/post/1251.htm" title="SWF调试工具Alcon使用说明（仅面向调试工具使用者）"></a>对于已经发布在网页上的swf文件，使用什么方法能看到开发过程中的调试信息呢？主要有以下几种方法：（如果喜欢直奔主题，看这里） 1.开发者自行提供隐藏的查看调试信息的方法 这种方法一般需要开发者在产品中预留快捷键或者隐藏命令，使用后可以开启一个调试面板； 优点：性能高，较隐蔽 缺点：开发成本与较高 2.使用Flex自带的命令行Debug工具 优点：可查看源码中的trace消息，支持断点和调试 缺点：仅支持Debug版的swf文件，且需要Debug版本的Flash Player支持 3.使用开发库+Debug客户端工具 由于是客户端Debug工具，因此这种方法的功能更加强大，但效率相对上面两种方法较低。Debug客户端一般是AIR开发的，也有利用Firefox插件做客户端的。 优点：开发快速，使用方便 缺点：难以同时监测多个swf文件 本文介绍的是第3种方法，Debug工具选择的是基于AIR的Alcon，希望了解更多的Debug工具，可以看这篇文章：Alcon/De MonsterDebugger/Arthropod Flash Debugger简单评测。还可以看这里：http://zengrong.net/flashassistant#debugger。 下载并安装AIR运行时：http://get.adobe.com/cn/air/ 下载并安装Alcon：http://blog.hexagonstar.com/download/alcon.air 访问要查看调试信息的swf文件（独立文件或基于浏览器访问址均可） 使用菜单Log-&#62;Pause/Clear/Reset可以暂停、清除、重置监控； 使用菜单Edit可以将显示的调试信息输出成文本文件。 重要：只有开发者使用了Alcon提供的Debug库进行开发并提供Debug信息，才可以使用Alcon客户端监控到调试信息。 附图：]]></description>
			<content:encoded><![CDATA[<a href="http://zengrong.net/post/1251.htm" title="SWF调试工具Alcon使用说明（仅面向调试工具使用者）"></a><p>对于已经发布在网页上的swf文件，使用什么方法能看到开发过程中的调试信息呢？主要有以下几种方法：（如果喜欢直奔主题，看<a title="直奔主题" href="#direct">这里</a>）</p>
<p><strong>1.开发者自行提供隐藏的查看调试信息的方法</strong></p>
<p>这种方法一般需要开发者在产品中预留快捷键或者隐藏命令，使用后可以开启一个调试面板；</p>
<p><strong>优点：</strong>性能高，较隐蔽</p>
<p><strong>缺点：</strong>开发成本与较高</p>
<p><strong>2.使用Flex自带的命令行Debug工具</strong></p>
<p><strong>优点：</strong>可查看源码中的trace消息，支持断点和调试</p>
<p><strong>缺点：</strong>仅支持Debug版的swf文件，且需要Debug版本的Flash Player支持</p>
<p><strong>3.使用开发库+Debug客户端工具</strong></p>
<p>由于是客户端Debug工具，因此这种方法的功能更加强大，但效率相对上面两种方法较低。Debug客户端一般是AIR开发的，也有利用Firefox插件做客户端的。</p>
<p><strong>优点：</strong>开发快速，使用方便</p>
<p><strong>缺点：</strong>难以同时监测多个swf文件</p>
<p><span id="more-1251"></span> <a name="direct"></a><br />
本文介绍的是第3种方法，Debug工具选择的是基于AIR的<a href="http://blog.hexagonstar.com/downloads/alcon/" target="_blank">Alcon</a>，希望了解更多的Debug工具，可以看这篇文章：<a href="http://zengrong.net/post/1143.htm" target="_blank">Alcon/De MonsterDebugger/Arthropod Flash Debugger简单评测</a>。还可以看这里：<a href="http://zengrong.net/flashassistant#debugger" target="_blank">http://zengrong.net/flashassistant#debugger</a>。</p>
<ol>
<li>下载并安装AIR运行时：<a href="http://get.adobe.com/cn/air/">http://get.adobe.com/cn/air/</a></li>
<li>下载并安装Alcon：<a href="http://blog.hexagonstar.com/download/alcon.air">http://blog.hexagonstar.com/download/alcon.air</a></li>
<li>访问要查看调试信息的swf文件（独立文件或基于浏览器访问址均可）</li>
<li>使用菜单Log-&gt;Pause/Clear/Reset可以暂停、清除、重置监控；</li>
<li>使用菜单Edit可以将显示的调试信息输出成文本文件。</li>
</ol>
<p><span style="color: #ff0000;"><strong>重要：只有开发者使用了Alcon提供的Debug库进行开发并提供Debug信息，才可以使用Alcon客户端监控到调试信息。</strong></span></p>
<p>附图：</p>
<p><span style="color: #ff0000;"><strong><img class="aligncenter" src="/wp-content/uploads/2010/09/alcon1.png" alt="" width="558" height="476" /><br />
</strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://zengrong.net/post/1251.htm/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex和Flash调试工具列表</title>
		<link>http://zengrong.net/post/452.htm</link>
		<comments>http://zengrong.net/post/452.htm#comments</comments>
		<pubDate>Tue, 08 Apr 2008 15:58:00 +0000</pubDate>
		<dc:creator>zrong</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.zengrong.net/?p=452</guid>
		<description><![CDATA[<a href="http://zengrong.net/post/452.htm" title="Flex和Flash调试工具列表"></a>看这里，包含了很多有用的调试工具。其中我比较感兴趣的是Debugging AS3 with firebug’s console，可以在Firebug中显示调试信息。另外Flash Switcher extension for Firefox我一直在用了，目前最新版本是2.1.5。alcon是第一次看到，貌似用起来很简单。 不过，Flex的mx.logging包已经足够强大，有时间的话，自己写个调试器也是不错的。 2008年5月1日16:07:22更新： Plum调试框架]]></description>
			<content:encoded><![CDATA[<a href="http://zengrong.net/post/452.htm" title="Flex和Flash调试工具列表"></a><p>看<a href="http://ntt.cc/2008/03/29/the-list-of-helpful-flex-or-flash-debug-tools.html" target="_blank">这里</a>，包含了很多有用的调试工具。其中我比较感兴趣的是<a href="http://www.marcosweskamp.com/blog/archives/000117.html" target="_blank">Debugging AS3 with firebug’s console</a>，可以在<a href="http://www.getfirebug.com/" target="_blank">Firebug</a>中显示调试信息。另外<a href="http://www.sephiroth.it/weblog/archives/2006/10/flash_switcher_for_firefox.php">Flash Switcher extension for Firefox</a>我一直在用了，目前最新版本是2.1.5。<a href="http://blog.hexagonstar.com/downloads/alcon/" target="_blank">alcon</a>是第一次看到，貌似用起来很简单。</p>
<p>不过，Flex的mx.logging包已经足够强大，有时间的话，自己写个调试器也是不错的。</p>
<p>2008年5月1日16:07:22更新：</p>
<p><a href="http://blog.eshangrao.com/index.php/2007/06/10/404-plum-flex-2" target="_blank">Plum调试框架</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zengrong.net/post/452.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

