Flex trace() 不打印 [英] Flex trace() doesn't print

查看:33
本文介绍了Flex trace() 不打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

网络上有很多使用 trace() 打印结果的 ActionScript 示例.

There's a lot of examples for ActionScript over the web using trace() to print results.

我曾使用 Flash Builder 4 尝试过它,但它没有打印到控制台.我在哪里可以看到输出?

I'd tryied it using Flash Builder 4, but it don't print to the console. Where can I see the output?

推荐答案

  1. 您是否处于调试模式?
  2. 在写trace()的那一行打个断点(ctrl+shift+b),调试一下,看是否达到trace.
  3. 您打印的字符串正确吗?尝试在进行跟踪时在前面使用静态文本,例如 trace("Loading file: ", _myFile.url);

这篇关于Flex trace() 不打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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