History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: FB-10592
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: B B
Assignee: Rebecca Hauck
Reporter: Scott Dreier
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Flash Builder / Flex Builder

debugging AIR application always fails once before succeeding

Created: 11/05/07 05:51 PM   Updated: 12/20/07 05:45 PM
Component/s: AIR: Run/ Debug
Security Level: Public (All JIRA Users )

File Attachments: None
Image Attachments:

1. debug-failed.png
(75 kb)

Severity: Incorrectly Functioning with Workaround
Reproducibility: Every Time
Discoverability: High
Found in Version: Moxie M3 (zero) - 186287
Milestone: Moxie M3 (zero)
Affected OS(s): Windows - XP
Steps to Reproduce:
-- New repro steps from Mike Morearty --
Steps to reproduce:
1. Build AIR app
2. debug it
3. stop by clicking Terminate (not by closing the AIR app)
4. immediately debug it again, very quickly

Actual results:
The debugger doesn't launch, and you get the error message shown in the screenshot.

Expected results:
Should debug.
 

-- Original repro steps below --
Build AIR app
debug it
stop, change something to force a re-compile
debug it.

The debugger doesn't launch.
 
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: No
QA Owner: Kazue Watanabe
Resolved by: Mike Morearty
Fixed Version: Moxie M3 (zero) - Next Build
Confirmed Version: Moxie RC1 - 191606
Participants: Kazue Watanabe, Larry McLister, Mike Morearty, Rebecca Hauck and Scott Dreier
Eclipse Configuration: Eclipse 3.3
JDK: Sun 1.5.x


 All   Comments      Sort Order:
Kazue Watanabe - [11/06/07 04:14 PM ]
Using plugin, I was able to repro this once. We need to modify and recompile the app then start debugging, you see this message and the debugger doesn't start, but if you try it again, it starts up fine.

Larry McLister - [11/07/07 01:44 PM ]
We think this is the same as FB-9874. Opened to MikeMo

Mike Morearty - [11/09/07 04:26 PM ]
Edited repro steps.

Mike Morearty - [11/09/07 04:28 PM ]
This is definitely related to FB-9874, but is not the same bug.

Mike Morearty - [11/09/07 04:51 PM ]
Talked to Oliver; it turns out this is because ADL communicates with the target process via LocalConnection, but when Flex Builder forcibly kills adl, adl doesn't have chance to clean up the LocalConnection, so it still looks okay for a little while.

We will add an API to the debugger API to ask the process to terminate itself.

Mike Morearty - [11/20/07 03:56 PM ]
I have checked in a fix for the Flex side of this bug, in changelist 188473. Working on the AIR half of the fix.

Mike Morearty - [11/27/07 04:38 PM ]
AIR side is fixed locally; getting feedback from the AIR team.

Mike Morearty - [11/28/07 03:45 PM ]
I have now made the AIR side of the fix in addition to the Flex Builder side I had made previously.

**NOTE** QE will not be able to verify the fix until we integrate a later version of AIR. I don't know which version number of AIR it will be. It was flashfarm changelist 361988, made today (11/28/07). So I think the fix will be in build 112907ap.

Mike Morearty - [11/28/07 03:46 PM ]
Reassigning from Scott Dreier to Larry, for QE verification.

Rebecca Hauck - [11/30/07 12:05 PM ]
Assigning to me for verification - this did not make it in to the AIR SDK bundled with the 12/3 eng drop. I'll verify it in the next integration.

Rebecca Hauck - [12/04/07 04:13 PM - edited ]
I can still reproduce this in b189844, which has SDK 189505 & AIR SDK 112907apms. I'm not sure if there may have been a branching or integration issue (See also: FB-11091) or if this really isn't fixed in the code.

Mike Morearty - [12/04/07 04:36 PM ]
marking fixed again

Mike Morearty - [12/04/07 04:37 PM ]
assigning to rebecca

Mike Morearty - [12/04/07 04:37 PM ]
I believe the AIR fix went into the AIR mainline, and didn't make it into the M6 branch.

Rebecca Hauck - [12/05/07 01:26 PM ]
Confirmed fixed in b190030 (with AIR SDK 120307apms) - Win SA.

Rebecca Hauck - [12/07/07 04:51 PM ]
Closed too quickly - this did not make the branch and I just repro'ed it in 190133, resetting this to resolve & assigning to me to verify when we get the fix from the next mainline AIR SDK integration.

Rebecca Hauck - [12/20/07 05:45 PM ]
We now have the AIR fix in the SDK - verified fixed in b191606 - XP SA.