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.