Flex的跟踪()不打印 [英] Flex trace() doesn't print
本文介绍了Flex的跟踪()不打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有很多的使用痕迹()来打印结果的例子为ActionScript在Web上。
我tryied它使用Flash Builder 4,但是不打印到控制台。我在哪里可以看到输出?
解决方案
- 您在调试模式?
- 把一个断点,其中跟踪()被写的行(按Ctrl + Shift + B),调试,看看痕迹为止。
- 您是否打印正确的字符串?尝试做跟踪时,如
跟踪(加载文件,_myFile.url)也使用一个静态文本在前面;
There's a lot of examples for ActionScript over the web using trace() to print results.
I'd tryied it using Flash Builder 4, but it don't print to the console. Where can I see the output?
解决方案
- Are you in debug mode ?
- Put a breakpoint on the line where the trace() is wrote (ctrl+shift+b), debug and see if the trace is reached.
- Are you printing the right string? try to use also a static text in front when doing trace like
trace("Loading file: ", _myFile.url);
这篇关于Flex的跟踪()不打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文