How to get errors and/or air.trace() from installed air app?

I'm trying to debug an installed air app that behaves
differently once installed than when run with adl. However, i can't
figure out any way to get errors or air.trace() information. I am
on OS X (10.5.6). Any tips?
I imagine this should be easy since debugging an installed
app is pretty much a necessity for development.

You can enable logging to a text file using settings in the
mm.cfg file. See
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19323
Note that ALL trace output will go to the log.
Other things you can do are:
1. Run the installed app with adl -- just pass the installed
app descriptor to adl on the command line
2. Supply a publisher id to adl. This removes one difference
between installed/ not installed apps and may be enough if the
behavior issue has to do with local connections or other matters
involving the publisher id.
3. Use the adl -nodebug flag. This removes another difference
between installed/uninstalled apps. You won't see uncaught
exceptions, but trace statements are still reported.

Similar Messages

  • How to get error and correct result in different file...

    Hi,
    sqlplus -s u/p@i >logfile /nolog <<EOF
    @ sql script
    exit
    EOF
    Is it possible to write sqplplus so as to get only connection related error in logfile and PL/SQL script related error in spool file.
    Regards
    Sri

    Below is a sample script I used recently; here "2>" puts the errors into file mentioned and I spool inside the sql script I call from sqlplus session.
    Also if you use this type of connection users can not see you database users password with unix ps command -
    #!/bin/ksh                                                                     
    export SAMPLE_USERNAME="usernm"                                               
    export SAMPLE_PASSWORD="passwd"                                               
    export SAMPLE_DATE=$1                                                     
    export SAMPLE_DIR="/xxx/yyy/log"                                                   
    if [[ -z $SAMPLE_DATE ]]
    then
       echo
       echo HATA : SAMPLE_DATE parametresi girilmis olmali!..
       echo
       exit -1
    fi
    cd ${SAMPLE_DIR}
    retc=0
    sqlplus -s > $SAMPLE_DATE.log 2> $SAMPLE_DATE.err <<EOF
    $SAMPLE_USERNAME/$SAMPLE_PASSWORD
    @/xxx/scripts/yyy.sql $SAMPLE_DATE
    exit ;
    EOFbest regards.

  • How to get updated and recently created events from google calendar in pl/s

    Hello
    I am able to get Google calendar events using pl/sql..I am receiving huge xml code(if there are more events),want only update and recently created events instead of getting repeated events.please help me in this regard.
    Thanks

    From the Google Calendar API online documentation:
    "Retrieving an event again
    If you want to retrieve an event that you've retrieved before, you can improve efficiency by telling Calendar to send the event only if it has changed since the last time you retrieved it."
    http://code.google.com/apis/calendar/data/2.0/developers_guide_protocol.html#RetrievingCached

  • How to get iPhoto and iTunes to a clean installed Yosemite from Time Machine

    I wiped the Hard Drive and clean installed to OS X Yosemite. For Some reason, some of my Time Machine back ups disappeared or got deleted and it wasn't even full. I had back ups from 2011 and now it only starts from 2013 of June.
    Next....when I try to restore my other apps(like iPhoto and my iTunes) I doesn't give that warp space effect in the background. It gives me the window layer effect but I just see the same mountain background on the desktop as the default Yosemite(unless thats how its suppose to look like that?) I can't restore using Time Machine because the little lines at the right are red (see screen shot) and it won't let me restore, and if i go back by using the arrows, if freezes. So,
    I don't know how to install the old iTunes and iPhoto on my existing clean installed Yosemite from my Time Machine.
    Can someone help me?

    @ LarryHN Thank you ver much for you help I understand now that you just can't copy over the old library(got it)
    I had the latest version of iPhoto before I cleaned installed.
    The link you gave me was most informative and I want to thank you. But still problems arrive.
    This came up and I don't know which one to pick

  • How to get userId and ResponsibilityId of EBS Application

    Hi all,
    We are using oracle.apps.fnd package to get the userId and ResponsibilityId of EBS Application. By using this api we are getting -1 for both userId and resposibilityId, but want the corrrect values for these two Ids.
    Can anyone please tell us how to get userId and ResponsibilityId of EBS Application using oracle.apps.fnd package?
    Thanks,
    Eswari

    Hi Kumar,
    Thanks for your answer. I tried using pageContext, but it didn't work.
    I forgot to mention the version of EBS Application. We are using 12i.
    To use FND_GLOBAL package first we should initialise by passing userId and respId which we want. Can we get these details from this api oracle.apps.fnd of 12i Instance.
    Thanks,
    Eswari
    Edited by: user593578 on Jul 31, 2009 4:35 PM
    Edited by: user593578 on Jul 31, 2009 5:18 PM

  • Cant download Adobe Air and Update Photoshop Elemente 9 keep getting Error and now cant use Organize

    Cant download Adobe Air and Update Photoshop elements 9 keep getting Error and not cant use organizer

    What is your operating system & version?
    What exactly means "cant"?  And what is the error you get?

  • Download from appstore get errors, and stops. but my account already charged $19.99 , how to get my money back?

    i tried to buy keynote from the appstore, and the download get errors, and stops. but my account already charged $19.99 , how to get my money back?

    Apple's policy states that, "all sales are final" > iTUNES STORE - MAC APP STORE - TERMS AND CONDITIONS
    Keynote's minimum requirements are v10.7.4 Lion in case you are running a prior Mac OS X. That information is available under Information right side of the Keynote window at the App Store.
    and the download get errors, and stops
    Try turning off the Firewall in System Preferences > Security (or Security & Privacy) > Firewall
    Disable anti virus software.
    Then open the App Store. From the App Store menu bar top of your screen click Store > Check for Unfinished Downloads

  • How to get the current logged in username from windows and put it into an AS var

    Hello,
    I was hopeing someone would know how to get the current logged in username from windows and put it into a var, so I can create a dynamic text box to display it.
    Thanks in advance
    Michael

    Just for everyone’s info, this is the script I have used to get the logged in windows username into flash ---- not and air app.
    In the html page that publishes with the .swf file under the <head> section:-
    <script language="JavaScript" type="text/javascript">
    function findUserName() {
         var wshell=new ActiveXObject ("wscript.shell");
         var username=wshell.ExpandEnvironmentStrings("%username%");
         return username;
    </script>
    The ActionScript:-
    import flash.external.ExternalInterface;
    var username:String = ExternalInterface.call ("findUserName");
    trace (username); // a quick test to see it in output

  • Stuck in restart - how to get out and reboot

    I have a MacBook that is stuck in restart mode. Any advice how to get out and restart? Thanks

    Welcome to Apple Support Communities. We're all users here.
    Try powering off and restarting in 'Safe Mode': The instant you hear the startup tone, hold down the shift key and keep it held down as explained in this Apple support note:
    http://support.apple.com/kb/ht1455
    A Safe Mode restart does take much longer than a normal start, because the computer checks the hard drive and ignores cached kernel extensions that normally speed boot-up.
    http://support.apple.com/kb/TS1884
    Note that not all devices and services, notably WiFi, may be available after a Safe Mode start.
    This is not necessarily an indication of a hardware error.
    After your computer starts in Safe Mode, you should shut down, and attempt to restart normally.

  • My iphone 5 broke so had to get a sim card and put it in my husbands old iphone 4. i can not figure out how to get my imformation on this his old phone; contacts, apps ect. i have switched my icloud account and apple id on the phone but nothing. HELP!

    My iphone 5 broke so had to get a sim card and put it in my husbands old iphone 4. i can not figure out how to get my imformation on this his old phone; contacts, apps ect. i have switched my icloud account and apple id on the phone but nothing has changed. please HELP!

    You do a restore as new to wipe the iPhone then at the end of restore you will be asked to restore from backup. Choose your iPhone backup.
    Note you cannot restore an IOS newer than the IOS on iPhone, you need to update iPhone first.

  • I was updated my Iphone 4s from computer(ITunes).ITunes get error and update failed.(When Iphone is preparing.).And now ı can't use my IPhone.At the screen there is a USB cable and up of the screen there is ITunes' logo.PLEASE HELP!

    I was updated my Iphone 4s from computer(ITunes).ITunes get error and update failed.(When Iphone is preparing.).And now ı can't use my IPhone.At the screen there is a USB cable and up of the screen there is ITunes' logo.PLEASE HELP!

    Read what i say. Put iPhone in DFU mode. Connect with USB cable and restore.
    Read:
    http://www.apple.com/support/iphone/assistant/restore/

  • How to get gui_download and gui_upload with popup filename?

    how to get gui_download and gui_upload with popup filename?

    Here is a short example.
    report zrich_0003 .
    data: ifiletab type filetable.
    data: xfiletab like line of ifiletab.
    data: xstring type string.
    data: rc type i.
    data: itab type table of string.
    data: xtab type string.
    start-of-selection.
      call method cl_gui_frontend_services=>file_open_dialog
        changing
          file_table              = ifiletab
          rc                      = rc.
      read table ifiletab into xfiletab index 1.
      xstring = xfiletab-filename.
      check not xstring is initial.
      call method cl_gui_frontend_services=>gui_upload
        exporting
          filename                = xstring
      changing
        data_tab                = itab.
      loop at itab into xtab.
        write:/ xtab.
      endloop.
    Regards,
    Rich Heilman

  • How to get nodes and its attributes of an XML file usiong DOM parsing?

    how to get nodes and its attributes of an XML file usiong DOM parsing?
    i am new to XML parsing.......
    Thanking you........

    import org.w3c.dom.Document;
    import org.w3c.dom.*;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.DocumentBuilder;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;      ...
    //Setup the document
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
         DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
         Document doc = docBuilder.parse (new File("MY_XML_FILE.xml"));
    //get elemets by name
         String elementValue = doc.getElementsByTagName("MY_ELEMENT").item(0).getTextContent();
    //This method can return multiple nodes, in this instance I get item(0) , first nodeRead the api for other methods of getting data.

  • How to get vendor and company code based on logistic invoice document

    how to get vendor and company code based on logistic invoice document in abap/4?

    Hello Kumar
    When you call BAPI_INCOMINGINVOICE_GETDETAIL using
    INVOICENUMBER = <number of invoice>
    FISCALYEAR = <fiscal year>
    the returned HEADERDATA contains what you are looking for:
    HEADERDATA-COMP_CODE
    HEADERDATA-DIFF_INF
    Regards
      Uwe

  • HT3702 i want to change my region and i don't know how to get rid of the remaing amout from my gift card ($0.48)

    i want to change my region and i don't know how to get rid of the remaing amout from my gift card ($0.48)

    Request that iTunes Support zreo balance your account.
    iTunes Support -
    http://www.apple.com/support/itunes/

Maybe you are looking for

  • Corrupted text when inserting another PDF file.

    Hi all, Currently using Acrobat Pro 11.0.10. When inserting a page or multiple pages (all PDF) into an existing PDF file, the text becomes corrupted with the new pages. I can edit the text and change it from Arial to another font and back to Arial to

  • List of libraries/lists in SharePoint 2013

    I want to get list of all libraries along with sizes ( including permissions if possible) in top level site collection and also there is subsite under this , I need same information for the subsite. Is there any way we can get it through or some thir

  • How do you change the fuse in a UK Apple 5w USB Power Adapter?

    How do you change the fuse in a UK Apple 5w USB Power Adapter? Ours has stopped working and we presume it must be an internal fuse, but how do you access it as there is no 'slots' as on the 12w version? All UK power devices must be fused to comply wi

  • How to copy richEditableText content to clipboard??

    i want to copy a richEditableText content to the system clipboard i wrote this: System.setClipboard( myRichEditableText.content ); but...... the parameter must be a string ....... could anyone teach me how to do that @@?

  • I want to add radio button selected value in shopping cart

    hi i am new to java and i am doing shopping cart project and i want to aad radio button selected value in cart but only one value. i am doing that in jsp. when iam adding that value the name of radio button is printed. and in remove page nothing disp