Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3FC90104EA for ; Wed, 24 Jul 2013 13:52:35 +0000 (UTC) Received: (qmail 65681 invoked by uid 500); 24 Jul 2013 13:52:34 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 65624 invoked by uid 500); 24 Jul 2013 13:52:30 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 65611 invoked by uid 99); 24 Jul 2013 13:52:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jul 2013 13:52:29 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of marrtinmiko@gmail.com designates 209.85.217.181 as permitted sender) Received: from [209.85.217.181] (HELO mail-lb0-f181.google.com) (209.85.217.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jul 2013 13:52:24 +0000 Received: by mail-lb0-f181.google.com with SMTP id w10so497950lbi.26 for ; Wed, 24 Jul 2013 06:52:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=IfTPw9i6tSyWllyMkYxlEPBuD/dc6OFQ+w9Rp6a8VjI=; b=bLjEVYBYXkslVqcMvjYCpatvMahyeNmoANX/49wbR5o6IYgshdUdXOUg7luOwCEnmB hgie8o3CwWnEbRS5H1auDJAmtbapSq781eN4Rs/zrX7Uc9byo3XMNFqMx1HnMR6dc9tb kab0ltjNgPwkFDEJZtAHA5V1IOtv0huNWwxyTrEZKqHZjqOgcuPee/4ls0vt5nS7ONYb pH8Tiiz+KDuNpRR7L31jCH45EvA2qChvfpLE7hhRw7/K1K9Mk3g7FrXYUcm9uqSsEbCl 50B9FZFkhmqBlM6G4vGj/3mudSBEnlfZGxVfumFvCkmJ0hfhnJldOdl/mLgw+10pyeNo nNmQ== MIME-Version: 1.0 X-Received: by 10.152.2.168 with SMTP id 8mr16942523lav.69.1374673923607; Wed, 24 Jul 2013 06:52:03 -0700 (PDT) Received: by 10.152.19.101 with HTTP; Wed, 24 Jul 2013 06:52:03 -0700 (PDT) In-Reply-To: References: <41297e1c9e5f67e25bf611bfa2d02959@webmail.informatik.uni-bremen.de> Date: Wed, 24 Jul 2013 15:52:03 +0200 Message-ID: Subject: Re: Captive Runtime Export Debug? From: Martin Miko To: users@flex.apache.org Content-Type: multipart/alternative; boundary=089e0116014ee6143b04e2423665 X-Virus-Checked: Checked by ClamAV on apache.org --089e0116014ee6143b04e2423665 Content-Type: text/plain; charset=ISO-8859-1 Hello Jan, first of all, given your description it is hard to say what can be causing your problems, because it can be virtually anything. I've seen similar "odd behaviour" couple of times, the most common are timing issue that do not manifest in the debug/profile regime due to some extra stuff that happens when you run the app this way, followed by "something gets misconfigured or not included" during the release. Except the methods Stephen and Gerald mentioned there are quite a few possibilities here. Since you're using AIR as I got it from your email, you can set up very simple logger that will log into a file. Another "creative" option is to swap the optimized swf that the release build outputs. What you want to do is to replace the app swf in your app's installation folder with the debug one from project's bin debug folder, run it via adl [1] and connect with a command line debugger fdb [2][3]. The latter one is a bit tedious and even might not help in case of timing issues, but on the other hand it can help in many situations when logging isn't enough. Alternatively you can use other debug tools for flash/air, unluckily I have no experience with stuff like monster debugger [4], but I bet google will gladly help in this case. ;) [1] http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLineTools_4.html [2] http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7ffb.html [3] http://livedocs.adobe.com/flex/3/html/help.html?content=debugging_03.html [4] http://demonsterdebugger.com/tour On Wed, Jul 24, 2013 at 2:53 PM, Stephen C wrote: > I wrap trace in a function that also put the info in a sharedobject. I > have a log viewer in my app that shows past traces for debug in > production. > Thank You, > Stephen C > -All of my email addresses go to the same place > -Save Paper, think before you print > -PGP Public Key > > > On Wed, Jul 24, 2013 at 8:50 AM, Gerald Chastain > wrote: > > If you just have a few places to check try the old-fashioned way: use > Alerts. > > > > Good luck, > > Woody > > > > On Jul 24, 2013, at 5:03 AM, jank87 > wrote: > > > >> Hi there, > >> > >> got an issue with the release export (captive runtime package) and > can't figure out why it fails at a certain point. In Flash Builder > Normal/Debug Mode everything works fine. My application uses a lot of blind > approaches with try-catch conditions. May it be the Error throwing causing > a fail? How can I "trace" errors in my export bundle. > >> > >> Best, > >> Jan > > > -- Martin Miko --089e0116014ee6143b04e2423665--