Debugging Linux applications on Microblaze

Hello,
could someone please answer some questions who is debugging Linux applications on Microblaze.
I have to prepare an environment to debug applications running on Microblaze Linux 2.6.38. Everywhere, I can find hints how to do it with ARM on Zynq, but this is only a Spartan-6. I might change the Linuxversion but not the hardware.
First, I compiled the kernel 2.6.38 (PLB, big endian) with initramfs_minimal.cpio.gz, then I compiled it with initramfs_complete.cpio.gz. In both cases, the Linux Kernel is running on Microblaze and I can access the filesystem with a serial link and with LAN using telnet.
To debug applications, I tried to run with Windows 7 (64-bit) the Xilinx SDK (Eclipse) included in ISE/XPS 14.7. For Linux applications running on Microblaze, I tried to use the GDB-Debugger in SDK. I think I have to start a GDBserver first and then start SDK to connect to it.
I could not find the GDBserver in the above mentioned filesystems. So, I downloaded the GDB sources for GDB 7.7 and did two configurations. One for the host (first VirtualBox with Ubuntu-Linux-32bit, later Windows 7) and one for the target (microblaze running on spartan-6).
to create the GDBclient for the PC:
configure --prefix=/opt/gdb/mb-linux/cross --target=microblaze-unknown-linux-gnu
The following commands 'make' and 'make install' are running without errors.
to create GDBserver for the FPGA:
configure --prefix=/opt/gdb/mb-linux/native --host=microblaze-unknown-linux-gnu
There is an error with the following command 'make'.
error: Gdb does not support native target microblaze-unknown-linux-gnu
I have really tried a lot, looked at many pages, e.g.:
http://www.wiki.xilinx.com/
Xilinx Wiki - Getting started
Xilinx Wiki - MicroBlaze
Xilinx Wiki - Create Linux Application
Xilinx Wiki -Debug Application
Many links were broken and if accessible, debugging Linux on Zynq or debugging a standalone application on microblaze was described.
It would be very helpful if someone who actually did debug Linux applications on microblaze with or without SDK could describe a little bit how it works.
Is GDB included in either of these filesystems and I did not see it ?
Do I need to create GDBserver ?
What is wrong with my settings to create GDBserver ?
Is there a totally different way to debug ?
Thanks in advance for your help,
Michael

Hello Achutha,
thank you for your reply.
I already knew those two links but I took a close look at them again.
The second link helps to run a Linux kernel on Microblaze. It ends when it's getting interresting for me. It does not describe anything about developing a Linux application.
The first link is using Zynq. Most of the steps can be done with Microblaze as well. When I start debugging, it changes to the debug perspektive and after some seconds I see the message
Hello_Linux_Debug(SDK Linux TCF Agent: Disconnected): Connection refused: connect
SDK.log in the SDK workspace shows:
15:20:34.399 ERROR - Unexpected error while parsing XMD response ?: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: invalid number or unquoted string near
I tried the following options but nothing helped:
Kernel with initramfs_minimal.cpio.gz and with initramfs_complete.cpio.gz.
Changed the access rights of /tmp (I used it for 'Remote File Path')
In the video for Zynq, it is said:
by default, there is a TCF agent running
I guess, the TCF agent can be seen on Zynq if you list all processes running.
What is the name of the TCF agent?
I guess this one is missing on my Microblaze.
Any other suggestions?
Kind regards,
Michael

Similar Messages

  • Linux Application Debugging on Windows Host

    I want to debug Linux applications using replay debugging with this setup:
    Windows Host (Windows 64 bit), VMWare Workstation 7.0
    Linux Guest 1 (32bit) for development and running gdb
    Linux Guest 2 (32bit) running the application which should be debugged
    For simpliciy both guests will use the same Linux distribution to ensure that all libraries are the same.
    The idea is to start the vmware-gdb-proxy on the Windows host and connect form guest 1 to the proxy to debug on guest 2.
    But there seems to be no vmware-gdb-proxy available for Windows - so my questions
    is there a vmware-gdb-proxy avaible (or is it planned to make one available) ?
    have I missed something? is there another way to do replay debugging Linux applications on Windows hostt?
    Thanks,
       Christian

    Of course you can.

  • Unable to debug any application after upgrading to Reef Shark and Update 6

    Hi,
    Since I upgraded to Reef Shark and consequently also installed the update 6 I can't access the deployment server.
    None of the applications show up in the broswer, nor does the admin-console for the server.
    I get the following exceptions in the browser window when I want to debug my application:
    javax.servlet.ServletException: com.sun.security.auth.PolicyFile
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:218)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         java.security.AccessController.doPrivileged(Native Method)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:169)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    root cause
    java.lang.IncompatibleClassChangeError: com.sun.security.auth.PolicyFile
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
         java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         java.lang.Class.forName0(Native Method)
         java.lang.Class.forName(Class.java:219)
         javax.security.auth.Policy$3.run(Policy.java:215)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Policy.getPolicyNoCheck(Policy.java:209)
         javax.security.auth.Policy.getPolicy(Policy.java:179)
         javax.security.auth.SubjectDomainCombiner$2.run(SubjectDomainCombiner.java:178)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.SubjectDomainCombiner.combine(SubjectDomainCombiner.java:174)
         java.security.AccessControlContext.goCombiner(AccessControlContext.java:386)
         java.security.AccessControlContext.optimize(AccessControlContext.java:310)
         java.security.AccessController.checkPermission(AccessController.java:400)
         java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
         java.lang.SecurityManager.checkRead(SecurityManager.java:863)
         java.io.File.lastModified(File.java:771)
         org.apache.naming.resources.FileDirContext$FileResourceAttributes.getLastModifiedDate(FileDirContext.java:1123)
         org.apache.naming.resources.ResourceAttributes.get(ResourceAttributes.java:706)
         org.apache.naming.resources.DirContextURLConnection.getLastModified(DirContextURLConnection.java:211)
         org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:474)
         org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:450)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:262)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         java.security.AccessController.doPrivileged(Native Method)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:169)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)And when start the admin-console, the browser window stays empty, but this is the exception-trace from the server-log:
    [#|2005-02-12T00:21:44.890+0100|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|ApplicationDispatcher[/asadmin] Servlet.service() for servlet default threw exception
    java.lang.IncompatibleClassChangeError: com.sun.security.auth.PolicyFile
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:219)
            at javax.security.auth.Policy$3.run(Policy.java:215)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Policy.getPolicyNoCheck(Policy.java:209)
            at javax.security.auth.Policy.getPolicy(Policy.java:179)
            at javax.security.auth.SubjectDomainCombiner$2.run(SubjectDomainCombiner.java:178)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.SubjectDomainCombiner.combine(SubjectDomainCombiner.java:174)
            at java.security.AccessControlContext.goCombiner(AccessControlContext.java:386)
            at java.security.AccessControlContext.optimize(AccessControlContext.java:310)
            at java.security.AccessController.checkPermission(AccessController.java:400)
            at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
            at java.lang.SecurityManager.checkRead(SecurityManager.java:863)
            at java.io.File.lastModified(File.java:771)
            at org.apache.naming.resources.FileDirContext$FileResourceAttributes.getCreationDate(FileDirContext.java:1097)
            at org.apache.catalina.servlets.DefaultServlet$ResourceInfo.set(DefaultServlet.java:2399)
            at org.apache.catalina.servlets.DefaultServlet$ResourceInfo.<init>(DefaultServlet.java:2331)
            at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:884)
            at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:470)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:748)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:718)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:478)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:413)
            at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:77)
            at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:92)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
            at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:208)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:509)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
            at java.lang.Thread.run(Thread.java:534)
    |#]
    [#|2005-02-12T00:21:44.890+0100|WARNING|sun-appserver-pe8.0.0_01|org.apache.catalina.authenticator.FormAuthenticator|_ThreadID=14;|Unexpected error forwarding to login page
    javax.servlet.ServletException: com.sun.security.auth.PolicyFile
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:286)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:718)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:478)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:413)
            at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:77)
            at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:92)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
            at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:208)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:509)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
            at java.lang.Thread.run(Thread.java:534)
    |#]I have no clue as to what is causing this problem. Any help is highly appreciated.
    Iwan

    Hi Iwan,
    From JDK 1.4 the com.sun.security.auth.PolicyFile class has been deprecated and replaced by sun.security.provider.PolicyFile. Could this be the reason?
    I found this info at the following URL. Maybe this will help you in some way: http://www.doc.ic.ac.uk/csg/java/1.4docs/guide/security/jaas/spec/com/sun/security/auth/PolicyFile.html
    Cheers :-)
    Creator Team

  • Error While Debugging the Application

    Hello,
    I am developing applications using WebDynpro  for JAVA.
    I am using NWDI 7.0.
    I am getting an error while debugging the application. When I click on debug mode in debug perspective, I am getting error message as :
    "Failed to connect to remote VM. Connection refused"
    Could any one of you help in resolving this error?
    Thanks and regards,
    Pradnya

    Hi,
    I think NWDI has nothing to do with debugging the application.
    Probably you will get some answers in WebDynpro java forum
    -Ashutosh

  • Common Language Runtime Debugging Services Application has generated an exception that could not be handled

    Our custom got an error when startup our .NET windows form application.
    XXXXX.exe - Common Language Runtime Debugging Services
    Application has generated an exception that could not be handled
    Process id=0x654(1620), Thread id = 0x5b0 (1456)
    Click OK to terminate the application
    Click CANCEL to debug the application
    If they click on "CANCEL" then following error message appears:
    Registered JIT debugger is not available. An attempt to launch a JIT
    debugger with the following command resulted in an error code of 0x2(2)
    Please check the computer settings
    cordbg.exe !a0x654
    Click on Retry to have the process wait while attaching a debugger
    manually.
    Click on Cancel to abort the JIT debug request
    We can not duplicate this problem in our development environment and test environment. So, we ask them to uninstall application, .NET Framework 1.1 and resinstall .NET Framework 1.1 and application. They still got same error. We further ask them to install .NET Framework SDK 1.1. They got some detail error message.
    [thread 0x840] Thread created.
    Unable to determine existence of prolog, if any
    [thread 0x188] Thread created.
    [thread 0xba8] Thread created.
    [thread 0x840] Unhandled exception generated: <0x00c0344c> <System.IO.FileNotFoundException>
     _fileName=<null>
     _fusionLog=<null>
     _className=<null>
     _exceptionMethod=<null>
     _exceptionMethodString=<null>
     _message=<0x00c04cc8> "The specified module could not be found."
     _innserException=<null>
     _helpURL=<null>
     _stackTrace=<0x00c04d2c> array with dims=[156]
     _stackTraceString=<null>
     _remoteStackTraceString=<null>
     _remoteStackIndex=0x00000000
     _HResult=0x8007007e
     _source=<null>
     _xptrs=0x00000000
     _xcode=0xe0434fd
    Thread 0x840 R 0x00000000: <unknown>
    <cordbg>
    Looks like the problem is casued by missing component. But we don't know which component missing and how to find it. Is there anybody can give us some clue what we need to check next and what tool we can use to detect missing component.
    Thanks!!!!

    I tried Dependency Walker in our development environment, looks like it's useless for .NE T Window Form application, the result I got is like bellow,
    XXXXX.EXE
        MSCOREE.DLL
            KERNEL32.DLL
            USER32.DLL
            ADVAPI32.DLL
            SHLWAPI.DLL
            URLMON.DLL
            VERSION.DLL
    I know we used some other DLL like Mirosoft Office Object Library, but MSCOREE.DLL (.NET Runtime Engine) covered them. Any other idea? Thanks!!!!

  • Read_image_file command does works on Linux application server

    Hello!
    I have a form with a new_form_instance Trigger I wrote the read_image_file trigger to read a GIF file in an image item.It works fine on windows XP(development machine).I copied the GIF file to the same location where my fmx files are there in Linux application server.I copied and compilied my fmb file in linux application server.No compilation error is there.But when I run form from Linux the form hangs and my read_image_file command is at new form instance Trigger.I have checked the case sensitivity of the file and the permission etc in Linux.In windows Development machine the form runs successfully.What could be the problem.Please help.......
    Jayashree

    For me, attempting the following:
      READ_IMAGE_FILE('bullet_ball_glass_blue.gif', 'GIF', 'IMAGE7');
    gives this error:
      FRM-47109: Cannot locate image file bullet_ball_glass_blue.gif
    Changing my command to:
      READ_IMAGE_FILE('bullet_ball_glass_blue.gif', 'URL', 'IMAGE7');
    loads the image successfully.
    If you truly are not getting an error message (mine appears in the status bar), then perhaps the file is being found, but the image format is not recognized or otherwise incompatible. Test this by loading one of the the images that load successfully into your iconic buttons. If that image loads successfully into your image item, fix the problem GIF image. (Recreate or open & resave with a graphics program, etc.)
    If this does not appear to be the problem, the only things I can think of are for you to confirm that, in formsweb.cfg:
      1. The archive_jini entry includes your image JAR
      2. If imageBase=DocumentBase, change to imageBase=codebase
    The second change may temporarily break your iconic buttons. This can be fixed by updating the buttons' Iconic Filename properties specifying only relative paths found within the JAR. Since my image is stored in the root of my JAR, no path need be specified. Had I placed my image in a subdirectory within my JAR, named images, my call would have to be changed to the following:
      READ_IMAGE_FILE('images/bullet_ball_glass_blue.gif', 'URL', 'IMAGE7');
    I'm not sure whether any of these suggestions will help, but since I had no problems, I suspect it's simply a matter of differing configurations. The two items that I listed are the only two likely differences I could think of.
    Eric Adamson
    Lansing, Michigan

  • Running linux applications in Java

    I'm doing a project for an application to do wireless mapping, using existing open-source programs (like Kismet and TCPdump).
    My problem is that I need to launch linux applications in super user mode from my java program, but I don't know how! I was using Runtime.getRuntime.exec() to launch applications (something like this):
    Process prsc;
    Runtime rt;
    public boolean openApp(String app){ //app is a string with the application to open
    try{
    rt=Runtime.getRuntime();
    prsc=rt.exec(app);
    } catch(IOException e){
    return false;
    return true;
    and then using prsc.destroy() to kill the open app.
    This was working fine with gedit (used for testing) but now I need to open Kismet wich needs to be open with super user permissions. Anyone know how to do this?
    Jo�o Guilherme

    Use sudo, e.g. sudo -p passwd kismetYou
    need to look up the exact syntax, obviously. Have
    your Java program ask the user for the password.You will also need to add the user to the 'sudo'ers list.

  • Debugging EP application project

    Hi Experts,
    I am trying to debug EP application project. In order to do this I have done following steps:
    1) Started config tool of J2EE engine.
    2) Switch to current instance and go to debug tab
    3) Set "Enable debug mode" checked
    4) Set valid debug port.
    5) Saved the settings.
    I am however not able to carry out debugging. Can you pls help me out.
    Thanks
    Gaurav

    Hi Shree,
    maybe this blog helps:
    <a href="https://weblogs.sdn.sap.com/pub/wlg/1971">NetWeaver portal debugging</a>
    Greetings,
    Carsten

  • Building and Debugging MIDP applications.

    Hi,
    I have java files(MIDlet) for MIDP applications. I am unable to compile it in JBuilder7.0. Using J2ME -> KToolbar i am able to build the application/project, But i am unable to debug it. Can anybody tell me how can i successfully create/build/debug MIDP applications?
    what are the necessary S/W required??
    Thanks
    Sunil.

    go to
    http://www.borland.com/products/downloads/download_jbuilder.html#
    and download MobileSet and install it.
    then:
    1) install Wireless Toolkit if you dont have it already
    2) start JBuilder
    3) Tools menu -> Configure JDKs
    4) click "New"
    5) set the path to your WTK path (for example c:\wtk20)
    6) click ok
    7) select it as JDK for your project (or as default) using "Project properties" on the project menu
    for JBuilder Personal Edition, there's a trick to make it work - you can replace the included J2SE JDK with MIDP 2.0 and get it working (personal edition doesn't normally have the ability to add new JDKs)
    When you're going to run an application in your project, you'll get the Run window coming up. Do like this
    1) click "New"
    2) pick Type: MIDlet
    3) browse to your main class (extends MIDlet)
    4) optional: pick Build target: <None> if you don't want to run make on the project before each run
    5) click "ok"
    6) now you can run your midlet using the green play button

  • Unix or Linux application compatibility with X11 terminal/Mac OS X

    I am an engineer and thinking about upgrading to a MacBook Pro. Most if not all of the applications that I use with respect to my work can be acquired in Linux or Unix flavors. I went to the local Apple store and requested that a "genius" install this software on a MacBook to take it out for a test drive. The "genius" was not able to install the application. Do I assume that the application cannot be installed, or that the "genius" did not know his stuff? I would really like to get the MacBook but want to be sure that my Unix and Linux apps will run on it. What is the compatibility issue here? Will any Linux or Unix app run on the Mac? Will the applications run only as command line or will a GUI be available? I need to hear from someone that knows the OS X.
    MacBook Pro Mac OS X (10.4.8) thinking about purchase
      Mac OS X (10.4.8)  

    I've worked with some pretty smart people, including Nobel laureates, and there are very few people I would say qualify as geniuses. It is unlikely they all work retail at Apple stores.
    Anyway, what you are requesting is fairly standard. I made a web page to help you get going.
    Briefly, you can run almost anything from Linux, but you have to compile it. There are free downloads for the compilers in Xcode, and X11 comes as a non-default install with the operating system (and the computer you would be buying). You can then either do it all yourself or use a package management system such as Fink or DarwinPorts (MacPorts?) in a similar way to how this is done on Linux.
    There are some kernel-interacting linux applications that you might not be able to get to work, but I'd say well over 99% of what you would want will work fine. I use OS X as my primary scientific computing environment.
    If you need Linux, you can install that too, and even run it in Parallels (a 3rd-party virtualization software that allows you to install windows, linux, or any other i386 OS).

  • Linux application loader - will it work?

    Hello.
    There already is a tool named "lxrun" which emulates a Linux kernel (system calls) on Solaris. Unfortunately this tool requires a full set of shared libraries and many other files.
    I noticed that most C functions (such as fopen, strcmp, ...) are the same in Linux and in Solaris, the same calling convention is used and applications nearly never do system calls directly.
    Therefore I plan to write some kind of replacement for ld.so.1 that will load Solaris' .so files, Linux .so files special wrapper .so files and a Linux application into one process. This is similar to "Wine" for Windows applications.
    My idea is that the Linux application will then be runtime-linked for example against Solaris' libc.so.1 instead of Linux' libc.so.6 and so run under Solaris. The wrapper .so files handle all commands not present in Solaris and all commands that are different in Solaris and Linux.
    Question to the people that are really familiar with both systems:
    Would such a program work???
    Martin

    Hello.
    There already is a tool named "lxrun" which emulates a Linux kernel (system calls) on Solaris. Unfortunately this tool requires a full set of shared libraries and many other files.
    I noticed that most C functions (such as fopen, strcmp, ...) are the same in Linux and in Solaris, the same calling convention is used and applications nearly never do system calls directly.
    Therefore I plan to write some kind of replacement for ld.so.1 that will load Solaris' .so files, Linux .so files special wrapper .so files and a Linux application into one process. This is similar to "Wine" for Windows applications.
    My idea is that the Linux application will then be runtime-linked for example against Solaris' libc.so.1 instead of Linux' libc.so.6 and so run under Solaris. The wrapper .so files handle all commands not present in Solaris and all commands that are different in Solaris and Linux.
    Question to the people that are really familiar with both systems:
    Would such a program work???
    Martin

  • Debugging webdynpro application

    I would like to debug webdynpro application (cProjects portal application), can you anyone explain how can i debug the portal application (which is on ABAP stack)

    Hi Venkat,
    I am also doing modifications to cProjects. In SICF transaction, I see the cProjects service as active, but when I go to 'se80' and enter 'cProjects' as a webdynpro application, it says that the application does not exist. Could you please tell me where I am going wrong.
    Thanks,
    Tom

  • Xcode: how to debug an application as root ?

    Hello,
    I need to debug an application that must be ran as root. Is it possible to do it with Xcode ? If yes, how ?
    Thanks in advance for any help.

    Remote debugging is one (the ?) solution, with root@localhost as the "Connect to" parameter.
    http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuid e/Contents/Resources/en.lproj/0602_db_set_up_debug/chapter_40_section3.html
    http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuid e/Contents/Resources/en.lproj/0607_db_remote_debug/chapter_45_section_1.html#//appleref/doc/uid/TP40002704-CEGDDHBH
    iMac G5 Mac OS X (10.4.7)

  • How to debug an Application Service?

    Hi,
    I have created an application Service which has  been exposed as as a Web Service. Now how can I debug the Web Service or in other words the application service.
    I have started the CE server in debug mode and I am able to debug WebDynpro Applications.
    I am working on SAP CE 7.1.
    Please reply ASAP.
    Regards,
    Manish Sethi

    Hi Manish
    follow this tutorial it describes how to configure and use the SAP NetWeaver Developer Studio and the J2EE Engine for debugging CAF Application Service.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9db6c4ea-0c01-0010-15b1-f72f12aade28
    thanks
    Asif

  • How to debug an application crash that only occurs within the executable and not in development?

    LabVIEW 2011
    Looking for ideas on how to debug an application that crashes only from within the executable.
    Is there anything useful that this error report can be used for, thanks in advance.
    #Date: Tue, Aug 23, 2011 3:10:18 PM
    #OSName: Windows 7 Enterprise
    #OSVers: 6.1
    #OSBuild: 7600
    #AppName: LabDAQ
    #Version: 11.0 32-bit
    #AppKind: AppLib
    #AppModDate: 08/23/2011 18:59 GMT
    #LabVIEW Base Address: 0x30000000
    8/23/2011 3:10:48.331 PM
    Crash 0x0: Crash caught by NIER
    File Unknown(0) : Crash: Crash caught by NIER
    minidump id: a1c0be18-ad05-4b09-b914-afe4a3073daf
    ExceptionCode: 0xC0000005± N
    0x3072C874 - lvrt <unknown> + 0
    0x3072CC28 - lvrt <unknown> + 0
    0x7C37FDB4 - MSVCR71 <unknown> + 0
    0x77330DF7 - ntdll <unknown> + 0
    0x772F9ED5 - ntdll <unknown> + 0
    0x00000000 - <unknown> <unknown> + 0
    Solved!
    Go to Solution.

    I've been playing that game all morning
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

Maybe you are looking for

  • Convert .C4 files to PDF

    I am using Adobe Acrobat 9 Standard version 9.1.2 with Windows Vista operating system.   The Adobe software is used under a government license.  The system administrators pushed an update to the adobe software last week end.  Up to this time I had be

  • Where do i find the "MIME plugin" ?

    I'm a new mac user. I had a pc and i was not very good with that either. I am having a **** of a time now using my imac. I wand to watch "free online tv". Wen i get to the "free online tv" website i get a window that reads: "This site has content of

  • Oracle BI: Right Choice?

    Hello, We are in process of revamping our reporting solution. We want to publish our reports over the internet with some graphics (charts, graphs, scales, meters, etc). Also want reports where business user can drill down into different level and als

  • Urgent --- How to resend an outbound IDoc which is in status 03

    Hi Experts, I've a rquirement to resend an outbound IDoc which is in status 03. I don't want to use BD87  or WE19 to reprocess. Please provide me some FM or some technique by which I may use in a Z-program to accomplish the above requirement. Even if

  • Mitigation text is missing / critical permission can't mitigated

    Hello together, I have problems with the mitigation tasks in CUP after a risk analysis. Installation: SP14.1 If I want mitigate the risk (SoD), the mitigation ID will be show but not the text (short or long) of the mitigation. Is this a bug in CUP? A