Showing posts with label flashbuilder. Show all posts
Showing posts with label flashbuilder. Show all posts
Thursday, 11 August 2011
Quick Tip: FlashBuilder 4.5 Premium Upgrade Download
Just a really quick one: Adobe's consumer site (in Australia, at least) does not have the option to allow the FlashBuilder 4 Premium to FlashBuilder 4.5 Premium Upgrade to be purchased as a download - it's only available as a shipped box. if you need it quicker than that, the solution is to purchase it from the Adobe Business site instead: http://volumelicensing.adobe.com/AU Note that a serial and download link is not provided immediately; after roughly 24 hours you will receive access to the Adobe Volume Licensing site where you can access these details.
Sunday, 10 July 2011
Remote Debugging in FlashBuilder
Disclaimer: There may be a better way to achieve this goal, but this trick has served me well for many years.
Occasionally the need to debug a Flex application that has not been launched from FlashBuilder arises: the application may be present in a UAT environment or it might need to be tested outside of the security-sandbox-free-zone.. In any case, you may not be able to launch it by simply clicking the "Debug" button on FlashBuilder's toolbar.
A workaround to this problem involves creating another debug profile for the application, by either selecting the "Run -> Debug Configurations..." menu item, or clicking the down arrow to the right of the "Debug" toolbar button and selecting "Debug Configurations..." In this screen, you should right-click on the configuration of the application of note, and select "Duplicate." The duplicated item will appear with a name like, "SampleApplication (1)." Select this debug profile in the tree, and then change the "URL or path to launch" configuration as follows:
The idea here is that when you launch this new debug profile, the browser associated with FlashBuilder will not open a page containing the Flex application, and thus a debug connection will not be established. However, FlashBuilder will still open up a debug listening service that will wait a short time before terminating. During this time, it is possible to manually load the application to be tested. As the application loads, it should connect to the debug session waiting within FlashBuilder, permitting the usual debug operation.
Occasionally the need to debug a Flex application that has not been launched from FlashBuilder arises: the application may be present in a UAT environment or it might need to be tested outside of the security-sandbox-free-zone.. In any case, you may not be able to launch it by simply clicking the "Debug" button on FlashBuilder's toolbar.
A workaround to this problem involves creating another debug profile for the application, by either selecting the "Run -> Debug Configurations..." menu item, or clicking the down arrow to the right of the "Debug" toolbar button and selecting "Debug Configurations..." In this screen, you should right-click on the configuration of the application of note, and select "Duplicate." The duplicated item will appear with a name like, "SampleApplication (1)." Select this debug profile in the tree, and then change the "URL or path to launch" configuration as follows:
- Untick the "Use default" checkbox.
- Enter "about:blank" as the URL.
The idea here is that when you launch this new debug profile, the browser associated with FlashBuilder will not open a page containing the Flex application, and thus a debug connection will not be established. However, FlashBuilder will still open up a debug listening service that will wait a short time before terminating. During this time, it is possible to manually load the application to be tested. As the application loads, it should connect to the debug session waiting within FlashBuilder, permitting the usual debug operation.
Subscribe to:
Posts (Atom)