开发者

flash debug: flex app compiled with eclipse fdt doesn't show line numbers on errors

I have firefox 3.6.15 with flash debug version 10.3. whenever an error occurs a popups comes up with the error and a stack trace but it does not line numbers of each leaf in the开发者_如何学JAVA stack trace which makes it more difficult to debug.

any ideas how to configure it to actually show line numbers ?

I think it may relate to how I compile my flash application. (i think!) i use eclipse FDT 4.2 to compile and i added the following compiler flags:

-debug=true
-compiler.verbose-stacktraces

i think these parameters should be enough but I may be wrong.

thanks!


I'm afraid that this is a limitation on the compiler. Sometimes you will get errors without line numbers either because the error comes from a SWC (which mean the code is already compiled) or that your error relates to something that it's hard to get the line number (like a css syntax error for instance).

The good news is, Adobe is currently reworking the compiler and should be better in coming versions of Flex.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜