Search code examples
actionscript-3apache-flexflash-builderswc

Can you debug swc in flash builder


Can you debug and step through the code of a swc files in flash builder?

Let's say you even have access to source code (coming from flex library project or flash professional project)! If how?

Thanks


Solution

  • Yes you can, though there are some limitations (as FlashBuilder will tell you when you do it), but simple stepping is no problem.

    If you have the source code in a project in FlashBuilder, FB should find the associated code automatically. If you don't you can associate the source code to the swc manually. Go to the Flex Build Path window; click on the arrow next to the swc; double click the row that says "Source attachment" and enter the path to the source code.

    enter image description here