简体   繁体   English

调试Flex ActionScript单例

[英]debugging Flex ActionScript singleton

When I am stepping through code in the Flex debugger, and enter my singleton class, "this" appears in the variables window but this cannot be expanded. 当我在Flex调试器中单步执行代码并输入我的单例类时,“ this”出现在变量窗口中,但是无法扩展。 How do you inspect the variables of "this". 您如何检查“ this”的变量。

右键单击并添加手表将使您看到其中的一些

Debugger doesn't differentiate between singleton or normal ones. 调试器不区分单例还是普通。 Click on the triangle shaped button towards the left of this . 点击朝左侧的三角形按钮this

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM