chrome firebug怎么用

50 2024-03-02 01:04

一、chrome firebug怎么用

firebug原来是用在火狐浏览器的,

chrome浏览器直接按下F12快捷键,

进入开发者模式,功能类似于firebug。

点击console,可以输入JS调试代码。

二、如何打开chrome中flash debug player

If you’ve installed the latest version of Google Chrome, and you are having a problem debugging your Flash in it, there’s a reason. As you may have heard, Chrome now comes pre-installed with the Flash player. For good reasons, this is not the debug version of the player. All well and good, you go over to Adobe.com and re-install the debug player of your choice and debug your latest project… still no debugging. Hmm… If you’re like me, you “solve” this by switching to Firefox for debugging. I finally found out what’s happening though.

It seem’s the built-in Flash player in Chrome will get used by default, despite whatever other version you might have installed. It’s always going to go back to its own original version. To change this, type the following in the URL field:

about:plugins

This will give you a list of plugins. Somewhere in there, you’ll see “Shockwave Flash” with the version, location, etc. Underneath that is a “Disable” link. Go ahead and click it. You’re not disabling Flash all together, just the built-in version. Now, when you hit a SWF on a web page, it’ll go to the latest system-wide version you installed, i.e. the debug player probably.

原文如上,so 我们要进入到chrome://plugins/ 这里把那个默认的flash player 停用了 只保留C:\WINDOWS\system32\Macromed\Flash\NPSWF32.dll位置是这里的插件,这样每次运行flash builder时打开chrome的页面就会出现debug模式

三、如何在浏览器里支持Flash Player Debugger模式

1. 首先,检查你浏览器的Flash Player是否已经支持了Debugger模式,查看Debugger Version的结果。如果为No则为不支持。

2. 下载适合自己版本的、带有Debug的Flash Player,并安装。

3. 定位到你系统指定的一个文件夹。在该文件夹中,创建名为mm.cfg的文件。(Windows Vista之后的系统都以Windows Vista为准)。

4. 如果需要支持查看swf文件trace()内容,在mm.cfg文件中输入以下内容并保存:

ErrorReportingEnable=1

TraceOutputFileEnable=1

5. 在Chrome地址栏中输入chrome://plugins,找到Adobe Flash Player这一项。此时,这里面应该包含两个Shockwave Flash信息,其中一个的地址包含与Chrome有关,这是Chrome自带的Flash Player,请将其禁用。另一个Shockwave Flash则位于C:\Windows下的某个文件夹,请确保其开启。具体可参考下图:

6.现在重启浏览器,打开你要测试的swf. 输出将会保存到一个固定地址的Log文件中。

顶一下
(0)
0%
踩一下
(0)
0%
相关评论
我要评论
点击我更换图片