Linking source code to a SWC in FlexBuilder

May 11, 2007

So everyone is telling me I should post more… so I thought I would share this little pearl.

When adding a SWC to your project you can also add the ability to step in when debugging or F3 (or ctrl+click) into the class definitions contained in the SWC file by adding the directory where the source code lives to the SWC’s source attachment property. This also gives you the ability to step into the source code.

Here’s a screen-shot example of linking the Cairngorm 2.1 source with the Cairngorm.swc.

SourceAttachmentCairngormScreenShot

OK… no more excuses… love the swc…  embrace the swc.. they’re apart of flex too.