FlexBuilder remote debugging of WEB applications and flexbuilder web debugging

Source: Internet
Author: User

FlexBuilder remote debugging of WEB applications and flexbuilder web debugging

FlexBuiler 3 for Flex development tools and apache for web server.

1First, install the debug version of Flash player corresponding to IE. Download The Flash player 11.8 installation ,:

Http://download.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_ax_debug.exe

 

Create a Web-type Flex Project

Edit the test. mxml file of the project. There is only one button on the interface. click the button to verify that obj1 and obj2 are equal. The Code is as follows:

<? Xml version = "1.0" encoding = "UTF-8"?> <Mx: Application xmlns: mx = "http://www.adobe.com/2006/mxml" layout = "horizontal"> <mx: Script> <! [CDATA [public function testFunction (): void {var obj1: String = new String ("1"); var obj2: String = new String ("1 "); trace (obj1 = obj2);}]> </mx: Script> <mx: HBox height = "100%" verticalAlign = "middle"> <mx: button label = "test" id = "testButton" click = "testFunction ()"/> </mx: HBox> </mx: Application>


Edit a simple test.html and put test.swf in the page

 


Put the preceding two files in the test directory of apache, for example, http: // 10.43.104.211: 2323/test/test.html.

Go to the debug settings page of flexbuilder, Run-Debug-Other, and perform the following settings. Enter the remote URL address in the url or path to launch columns:

After the configuration is complete, click Debug. A browser page is displayed automatically. The Console page of Flexbuilder shows that debugging is in progress.

 

Set the breakpoint in FlexBuilder, and then click the test button on the IE page:

Success
Flex builder debugging problems

Note the following two points:
1. Install the debug Flash Player on your browser.
2. During debugging, press the debug button to switch to the debug view.

How to debug * as files in flex builder 3

Download a debug flashplayer and add a breakpoint to the AS class you call. You need to run in DEBUG mode instead of normal. Then, it enters when running here. If not, the method of this class is not called.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.