Debugging Windows Native Application

Our team has developed a Native Air Application with a Native Extension for both Windows and Mac OS. Exclusively in Windows 7 machines, we're seeing a "(application name).exe has stopped responding..." on and around selecting a microphone. I was hoping someone might have some thoughts about how to debug this. I've removed the native extension and all calls to it for the purposes of debugging, so I can rule out faulty c++ code.
I noticed in a number of other threads that creating a crash dump (http://forums.adobe.com/message/4159755#4159755) seems to be a popular approach. Not sure how to open the resultant file in a way that's useful.
Also, I am wondering if there's a way to debug a native windows application remotely, as our windows development machines don't exhibit this bug. Googling yielded a bunch of how-tos for android, ios, or tv remote debugging.
Currently, we are writing to a log file, but that doesn't give very much detail as to what's going wrong, only where.
Any thoughts or advice would be much appreciated -- thanks.

I've tracked the crash source down to the assignment of a SampleDataEvent.SAMPLE_DATA listener to each registered microphone.
for ( var i:Number = 0; i < Microphone.names.length; i++) {
    Microphone.getMicrophone(i).addEventListener(SampleDataEvent.SAMPLE_DATA, function(e:SampleDataEvent):void {});
This never crashes when I'm debugging or running in ADL through Flash Builder, but crashes ≥ 50% of the time when running on certain Windows 7 machines. No other versions of windows or mac os seem to exhibit this behavior.
I'm trying to graphically display the activity level for each microphone connected to the user's system. When I remove that listener, the application (a) doesn't crash, and (b) doesn't display activity levels.
Has anyone had a similar experience?

Similar Messages

  • Reading contents of another (windows native) application

    Hi everyone!
    I would like to read some contents from another application, native to Windows, with my Java app.
    I have found the Jawin project (http://jawinproject.sourceforge.net/), but I have no idea how to find out the CLSID of the native application, which I need for creating a COM object handler... (through Jawin's DispatchPtr) ... if I understand this.
    Does anyone know how to do that, maybe?
    I would much appreciate it if someone could point me in the right direction or provide some code samples - either in Jawin or in some other way. Thank you for your help.
    Best regards,
    David

    Hi,
    The idea of my application is exactly the same that Kiran has mentioned in the 'Aim' of her post.
    i.e
    1 reading from a text file,
    2 parsing the contents,
    3 converting it into byte-array and
    4. adding these as records to an RMS record store.
    Ive been quiet successful in implementing these four steps. However, i face a problem now.
    Problem:
    So far the size of the text file was small i.e around 6 Kb and the app ran as expected.
    But now i need to read a much bigger file of around 50 kb.
    Bcoz the file size is huge, i have tried reading the file in chunks (i.e using delimiters in the file, reading small amounts of data via InputStream and storing in rms....)
    However, the whole file is being loaded at a strech and i get an OutOfMemoryException :(.
    Am i right when i say getResourceAsStream() loads the entire file in memory?? Is there no way for reading a huge .txt file in chunks without loading the entire file in memory?
    Kindly help.
    We gotta get thru! :)
    Smita.

  • Adobe AIR HTML/JS application and Windows Native Installer

    Hi,
    I am building an Adobe AIR application with HTML and Javascript and I would like to know how to make an Windows Native Installer.
    I am trying to build it with Flash Pro but it keeps returning the error 'Invalid SWF file'. At the application.xml file the <content> points to my index.html file. I don't use any SWF file. When I change this to point to the SWF it does build tha installer but the application loads the SWF.
    Is there any way to build a Windows Native Installer and the initial content be an HTML file?
    p.s. I tried to extract the files from the installer file and edit the application.xml there to point to the index.html. But I can't repackage the files to a valid air native installer.
    Thank you.

    Hi,
    Thank you for reporting this. The internal bug number for the issue is #2740755. The issue is currently under review and will be investigated by one of AIR team members.
    Regards,
    Catalin

  • Can we implement iphone native application on microsoft windows machine

    Hey,
    Right now i m doing job and i want to work as a free lancer but i don't have mac machine at my home so i want to know that how can we develop iphone native application on Microsoft windows machine or not?.
    One friend is said that it is possible to work on Microsoft windows machine same like mac machine. he didn't tell me because he said that i take $125 for 1 hour so i rejected to pay this money.
    Now please anyone tell me that how can i work on windows.
    Thanks.
    Message was edited by: vavdiyaharesh

    You'll need XCode and the iPhone SDK to develop for the iPhone. These only run on Mac OS X, which is only officially supported on Mac hardware. I don't know of any solution to run XCode under any other OS.

  • Run on a Windows 64-bit operating system either as a native application or under WOW64

    I am using Visual Studio 2013 Professional, and need to compile my application in a way that it works with existing libraries on my system that are only 32 bit.
    I read this someplace ....   "When you compile an application, you can specify that it should run on a Windows 64-bit operating system either as a native application or under WOW64 (Windows 32-bit on Windows 64-bit). WOW64 is a compatibility
    environment that enables a 32-bit application to run on a 64-bit system. WOW64 is included in all 64-bit versions of the Windows operating system."
    Can anyone tell me HOW I "specify that it should run on a Windows 64-bit operating system either as a native application or under WOW64 (Windows 32-bit on Windows 64-bit)."  ?

    Hi Davepc,
    Based on your issue, I think the pvdg42 and Wyck's suggestion are really help you. So if possible, I suggest you can try their suggestions to check your issue.
    In addition, I get some useful message from the MSDN document, I assume that it maybe useful for you.
    (1)So if your application is VB, I suggest you can refer the following document to check your issue.
    https://msdn.microsoft.com/en-us/library/8ck8e1y2(v=vs.110).aspx
    (2) If your application is c#, please refer to:
    https://msdn.microsoft.com/en-us/library/zekwfyz4(v=vs.110).aspx
    (3)If your application is c++, please see:
    https://msdn.microsoft.com/en-us/library/h2k70f3s(v=vs.80)
    Hope it help you!
    Best Regards, 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Debug the swing application from eclipse

    Hi
    I had a swing application, to create a exe file i build the application using using build.xml. To run the application we need to open the exe file.
    I want to debug this swing application from eclipse. Can anybody please tell me how to debug this application.
    Note: I can able to debug simple swing application. But i can't able to debug this application.
    Thanks
    mindus

    If it's an actual .exe--that is, if you've compiled it to a native Windows executable--then you can't debug it using a Java debugger (such as the one in Eclipse).
    If, on the other hand, you just have a .jar file or a bunch of .class files, then you can debug this app the same way you debugged the other one.
    If you don't provide more details about what you actually did and what exact problems you're having ("I can't do it" contains no useful information whatsoever), then it's impossible to provide any more detailed advice than this.

  • Windows Native Authentication with 2 (multiple) AD domains

    I have managed to get Windows Native Authentication for Oracle Application Server 10g (9.0.4) on Windows working. The following has been done and works in a test environment:
    Phase 1) Active Directory (AD) to Oracle Internet Directory (OID) Synchronization
    Phase 2) Configure a Kerberos Service Account for the Single Sign-on
    Currently all the above setup points to a single windows active directory server, i.e. active1.uk.oacle.com. This is acceptable for a test environment, but before the changes can be deployed to production I need to incorporate some disaster recovery.
    The active directory is replicated across multiple servers – i.e. active1.uk.oacle.com, active2.uk.oacle.com. In the event that the primary active directory server is unavailable Oracle users should still be able to access applications. I need to incorporate active2.uk.oacle.com into the above setup.
    Questions:
    1)Can I get away with not incorporating active2.uk.oacle.com into phase 1. If the users have been pulled into OID then we are not particular concerned with pulling in new users in a disaster situation.
    2)Can I configure the Oracle side of the Kerberos setup to use multiple realms with an order or precedence – i.e. try active1.uk.oacle.com, then try active2.uk.oacle.com. I would generate a keytab file from each server.
    Ideally I would like to just modify the Kerberos setup to check active1.uk.oacle.com then active2.uk.oacle.com. Is this a workable approach? If yes how do I proceed? I believe the krb5.ini and opmn.xml need to be amended.
    Thanks

    Does anyone have any ideas on how to do this????

  • Bobj is undefined error while debugging a web application

    Hello, I am developing an asp.net web application in which I display a report, and testing it by using a sample (dummy) report that's saved on the computer's hard drive.  In design mode, the report displays properly, when when I try to debug the site on my machine (the server in this case, but it should work on any computer, since debugging is done on localhost), the site crashes and returns a Microsoft JScript error 'bobj is undefined'.  I have already tried moving the CrystalReportsViewer folder to be a sub-directory of the application (physical and virtual), as well as adding a script tag to refer to the location of the .js files in that directory, but nothing seems to fix the error.
    I recently tried installing the fix-packs and service packs for crystal reports, but the problem persists.
    I"m running Windows 7, VS 2008, Crystal Reports 2008, and IIS 7.  Thank you in advance.

    Hi;
    Compiling as 32 bit is only available for a Windows based application, not a Web one. You need to configure IIS to run either 32 or 64 bit.
    As for the bobj undefined error, try these kbases:
    [Bobj|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233373338333933353332%7D.do]
    [Undefined|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133383333333033363335%7D.do]
    Regards,
    Jonathan

  • Error while configuring Debugging for WebDynpro Application

    Hi Experts,
    I am trying to configure Portal server for debugging a WebDynpro application.
    In NWDS , in Debug configuration
    When i tried to add my Webdynpro Project and application under Debug tab , No problem.
    But when i checked J2EE Engine tab : it showed the following error.
    <b>[J2EE Engine]: the selected server node does not run  in restricted load balancing mode, please configure it correctly so that the URL extention can be used</b>
    And ignoring it when i started debugging the application , the URL was formed like this :
    http://<host>:50000/@@@DEBUG@@@7672950/webdynpro/dispatcher
    /local/WDtest/WDtest?SAPtestId=1
    with the error :   The requested resource does not exist.
    Details: Go to main page of this application!
    Can anybody help me to fix the configuration.
    Regards,
    Ashish Shah

    Hi,
    To configure to the debugging mode... follow the steps:
    1. Select "SDM" from J2EE engine (To get this view navigate thru Window--> Show View --> J2EE Engine)
    2. Make a right click on "SDM" and choose "Enabling Debugging of Process"
    3. Now, Navigate to Run --> Debug --> Select your Project as "Webdynpro Application" and click "new" button
    4. Now give some name and Click BROWSE to select ur project and then click APPLY and DEBUG
    Or if u use 2004s, then u can do the settings in Portal itself...which gives u more clear information...  follow the link
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56">WebDynpro Java Debug Configurator</a>
    Hope it helps...
    Regards / Guru

  • Opening a file in its native application from Flex.

    Is it possible to open a file on whatever native application the user runs it as?  Or even, at that, to simply open the directory it's in, in an explorer window?
    We have a search application and the frontend is in Flex, and I'm trying to find a way to do this, such that when a use double clicks on a result (in a datagrid - but that's trivial), it opens the file or at least the location of the file on the OS.
    Any system call where I can say system("explorer.exe " + filepath); or something?
    Any help would be appreciated.

    Dear BillBlalock ,
    thank you for answer!! You are very kind and helpful!! I would like to inform everybody that I have finally find another way of soilving my problem and I announce it to the forum in case somebody else encounters the same problem. Well, I soved the nproblem by using the following code:
        excelButton.addActionListener(new ActionListener()
           public void actionPerformed(ActionEvent e)
             String filePath = "\""+saveFileName.toString()+"\"";
             System.out.println(""+filePath);
             try
               String cmd="explorer "+filePath;
               Process p = Runtime.getRuntime().exec(cmd);
             }catch(IOException ec){}
         });I hope it can be useful to somebody!! By this code, I can make a button (in my case the excelButton) to open any file in its default application. Keep up the great work you are doing guys!!

  • Insufficient permissions for performing this operation through Windows Form application.

    When accessing a report through the browser the user can view the report, however, have a report viewer in a Windows Form application get the below error when loading the report:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.Web.Services.Protocols.SoapException: The permissions granted to user
    'domain\username'
    are insufficient for performing this operation. ---> Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user 'domain\username' are insufficient for performing this operation.
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at ReportServer.ReportService.ReportingService2010.GetReportServerConfigInfo(Boolean ScaleOut)
       at ReportServer.ReportItems.GetReportServerName()
       at Evolution2Application.FormMain.treeViewEvolutionReports_AfterSelect(Object sender, TreeViewEventArgs e)
       at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
       at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
       at System.Windows.Forms.TreeView.WmNotify(Message& m)
       at System.Windows.Forms.TreeView.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    C# code I use to connect to the reporting service
    ReportingService2010
    rs =newReportingService2010();
    rs.Credentials
    =System.Net.CredentialCache.DefaultCredentials;
    rs.Url
    =http://sqlserver01/reportserver/reportservice2010.asmx;
    Can someone explain what I need to do to prevent getting this error, the user has ContentManager rights on the server through a security group.

    found the issue rs.GetConfigInfo(false) was causing the error, now removed this.

  • How to Debug WebDynpro-ABAP application

    Hello Friends,
         1.  How to Debug WebDynpro-ABAP application.
         2.  What is modal dialog
         3.  If Component contains more than one view, how to make one view is the default. Is that any way I can hide a view.
        4. Is that Component is the highest in the design structure, or any other types available like development components in WebDynpro-Java.
    Thanx for Ur time.
    Cheers,
    Sam

    Hi,
    As i explained LIMU are subobjects like views as they dont have the seperate identity in repository so they have to be linked thru there parent component.
    So when you transport whole component u can see there would be some entries in your transport list as LIMU types ( for views , windows).
    OTR are text elements which u create for the elements of your view so u dont require to hardcode the text to be displayed as they need to be displayed in different languages so what you do is you create say button and for text to be displayed you create on OTR element under some package. now you give this package to your translation team to do all needed translations.
    Yes DDIC types are from dictionary only but when you transport them so all newly created DDIC should also be transported.
    P.S -> Pleas close this thread if satisfied with all questions.
    Thanks
    Anuj

  • DNCompInfo​.dll : Error message in debug window

    Hello
    I am currently working on a DLL, which is loaded by an Labview program.
    Today, I allways see the following message in the debug window of Visual Studio:
    <mda:msg xmlns:mda="http://schemas.microsoft.com/CLR/2004/1​0/mda">
      <!--
           Die DLL &quote;C:\Programme\National Instruments\Shared\LabVIEW
           Run-Time\7.0\DNCompInfo.dll&quote; unternimmt einen Versuch, innerhalb der
           Sperre f?r den OS-Loader eine verwaltete Ausf?hrung durchzuf?hren. Versuchen Sie
           nicht, verwalteten Code innerhalb einer DllMain- oder
           Bildinitialisierungsfunktion auszuf?hren, da dies ein H?ngen der Anwendung zur
           Folge haben kann.
       -->
      <mda:loaderLockMsg break="true"/>
    </mda:msg>
    I can not remeber to see this ever before. Do you know, what's the reason for this mesage?
    The message appears, when I stop working with the program.
    Stephan
    measX GmbH
    www.measx.com

    Hello
    I try to explain what I am exactly doing.
    We have an application, which is build in Lab View. This application uses a DLL
    to communicate to a special hardware, which is written by me in Visual C (Version
    6.0). We do not use .NET in the DLL, nor explicit in the Lab View application (maybe
    Lab View uses it internally, I do not know).
    The message appears, when I stop working with the program. I exit the
    application, and I can see several messages in the Debug Window of Visual C about
    unloading DLL’s and exit threads, which is OK. The last message of this kind is
    the message I am talking about.
    I try to
    translate it, maybe it will become more clearly to you:
    “The DLL <DNCompInfo.dll>
    tries to execute managed code inside the lock from the OS-loader. Do not try to
    execute managed code inside of DllMain or Image-initialisation (?), because this
    can hang/lock/crash (?) the aplication. “
    So I hope, this
    will become clearer now. The message only appears in the Debug Window, so I
    think a “normal” user will never see it.
    Regards
    Stephan
    Gerhards
    measX GmbH
    www.measx.com

  • JDeveloper 11g: Can System.console be used with the JDev debug window

    The version of JDev should not matter for this problem.
    I am working on a console application that I would like to debug from within JDev. Unfortunately, System.console does not detect the JDev debug window as a valid Console object.
    Running the following will return null;
    Console console = System.console();My code works fine if run from an actual command window.
    The main reason that I was using Console was for readPassword.
    Does anyone know of a way to get this to work?
    Should I ditch this and go with BufferedReader or Scanner?

    Thanks for replying so quickly Shay!
    Yes, I did enable "Allow Program Input". Unfortunately that never worked with Console.
    BufferedReader works just fine though.
    I really only wanted to use Console because it bundled up readPassword. I most likley will have to go with BufferedReader or Scanner if I wish to debug within JDev.

  • Assigning a JFrame to a native application

    Hello,
    I'm searching for a way to assign a JFrame window to a native application (HInstance on Win32). I'm using the JNI to start my Java app from within a C application. Is there a common way to do this or is there any sample code available??

    We found that you need to add a virtual host in the httpd.conf file, and if you don't want virtual hosts to show all of the Oc4jMount directives, you need to add Oc4jMountCopy off to your VirtualHost.
    See Note:282696.1 (MOD_OC4J mapping for virtual hosts. MOD_OC4J setup for masshosting) on Metalink.
    "By default all virtuall path mappings for an oc4j application will be stored in the file mod_oc4j.conf.
    With that setup all virtual hosts, defined in the httpd.conf, are inheriting the setup and therefore can access all oc4j applications.
    Complete steps to get this configuration
    ++++++++++++++++++++++++++++++++++++++++
    1: Open the file mod_oc4j.conf
    2: Remove the virtual path mapping which has to go in the virtual host configuration
    3: Save the file mod_oc4j.conf
    4: Open the file httpd.conf
    5: Add the line 'Oc4jMountCopy off' to the virtual host configuration
    6: Add the lines you removed before to the virtual host configuration
    7: Save the file
    8: To store the configuration in the repository update it with 'dcmctl updateconfig -ct ohs'
    9. Bounce the OHS"

Maybe you are looking for

  • How do you update playlists when using a network itunes folder ?

    I am trying to use a Network storage drive to keep my itunes libary on,the two problems i have are that even though the network drive is selected the playlists don't seem to be saved to the drive when i make new ones and also when i reboot the mac it

  • Error in Action when CRM Order is updated as Error from R/3 update

    Hi, Currently we are in CRM 6.0 SP04 and R/3 4.7 SP14 Process: 1) B2B user places order through ISA 2) Order gets replicated R/3 from CRM through middleware (Scenario A setting) 3) If there are any changes in order on either side, changes gets replic

  • Web auth with , intenal web page of WLC and ISE as radius server

    Hi All , We have created a SSID as web auth with internal web page for login . In advanced tab we configured AAA server.  AD is integrated with ISE . When the user tries to get connect , he is getting redirect URL . But during the authentication , we

  • N95 Cant find my folders in messages via PC suite

    Hi all as it says when I have the phone connected I can find everything on the phone bar the My Folders in the messaging menu. Any body know where it is hiding as I am sure I have found it before, need to download all the messages off it as it is fil

  • Can't recover lost Mail application

    My mail application (software) mysteriously vanished, and I can't find a way to recover it. I'm not aware that I did anything to cause this. One minute it was working fine, then a short while later Mail would not launch. Search of the directory fails