Flex debugging Bug

Source: Internet
Author: User
After the Flex web project is compiled, a Bug occurs in the debugging phase and I spent half a day on it. Finally solved the problem.

Details:

Code Private function onDiveceChange (event: Event): void
{
// Request. removeParameter (tracker. rcuInfo. id, tracker. currentIndex, "eeee", true );
// Request. removeParameter (tracker. rcuInfo. id, tracker. currentIndex, tracker. currentParameter );
Var network: String = event. currentTarget. selectedItem. network;

// If (tracker. linkble)
//{
// RemoveLink ();
//}
// Tracker. currentIndex = (event. currentTarget. selectedIndex) + 2;
// If (tracker. linkble)
//{
// AddLink ();
//}
//
Var a: Array = MonitorModel. getInstance (). field. getNetworkParameter (network );

Parameters. dataProvider =;

// Request. addParameter (tracker. rcuInfo. id, tracker. currentIndex, "eeee ");
Tracker. currentPar = this. parameters. selectedLabel;
}

The above code has been commented out. I just wrote it and compiled it once. Then I commented out the code.
However, when debugging, the bug occurs, and the single-step execution actually runs to the comment line.
I adjusted the bug for half a day and started the solution.
1. the Debug version of Adobe Flash Player has changed. After debugging several versions, the results are still the same.
2. For the svn reason, the code is exported and does not contain the svn directory. The result is the same and the problem remains unsolved.
3. the problem still persists when you reinstall Adobe Flash Builder.
Finally, it is easy to solve the problem. Because all my code is managed using svn, I carefully checked the Directory, which contains the html-template directory under the project directory,
The compiled ***. swf file in the directory. I used svn to check its version. The result was the previous version. I deleted it directly, and debugging the result would work.

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.