Debugging bluetooth applications
hi,
im trying to debug the BluetoothDemo (J2ME Wireless Toolkit 2.2, client/server image download) but i dont know how. im using studio mobility 6. the application is running fine but no matter where i set a breakpoint. - the debugger does not stop at all. all my other applications run fine with the debugger...
any ideas how to debug properly?
regards,
c.
Use NetBeans 4.0 (see http://www.netbeans.org/, you can find a tutorial on the title page).
It is now RC2 about a week until final release.
Similar Messages
-
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.
IwanHi 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,
PradnyaHi,
I think NWDI has nothing to do with debugging the application.
Probably you will get some answers in WebDynpro java forum
-Ashutosh -
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!!!! -
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,
MichaelHello 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 -
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
GauravHi 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 -
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 -
J2me bluetooth application please help it's urgent..
Hi,
i m new to this forum and j2me also.
i tried to basic j2me bluetooth application which transfer file from pc to mobile.
but at run time i got exception:
java.lang.SecurityException: Application not authorized to access the restricted API
also in bluetooth desktop application while calling searchService i got
NullPointerException..
please help me.
i have already do permission for API in jad file...
Thanks in advance...Hello Nikhil,
In alv... field catalog consists one field called HOTSPOT...
try like this...
l_r_fieldcat-tabname = 'G_T_ITAB'.
l_r_fieldcat-fieldname = 'LGORT'.
l_r_fieldcat-ref_tabname = 'MARD'.
l_r_fieldcat-ref_fieldname = 'LGORT'.
l_r_fieldcat-col_pos = 3.
<b>l_r_fieldcat-hotspot = 'X'.</b>
append l_r_fieldcat to g_t_fieldcat.
clear l_r_fieldcat.
after that... at line selection... goto the VF03 using BDC.
No need to double click when you are using HOTSPOT... Single click is enough.
To get check box at the beginging of each and every record use the following code...
Field having checkbox
g_r_layout-box_fieldname = 'SEL'.
here SEL is the field name in the internal table with char datape and length 1.
To get ur own GUI Status... Go To Object list ( CTRL + SHIFT + F5 ). there click on GUI_STATUS. add one button for print priview and give one function code.
in USER_COMMAND write code for function code... with function modules which are used to print forms.
I'm give the remaing fields of fieldcatalog bellow. see last one... its HOTSPOT.
ROW_POS
COL_POS
FIELDNAME
TABNAME
REF_FIELDNAME
REF_TABNAME
CURRENCY
CFIELDNAME
CTABNAME
QUANTITY
QFIELDNAME
QTABNAME
ROUNDFIELDNAME
ROUNDTABNAME
ROUND
DECIMALSFIELDNAME
DECIMALSTABNAME
DECIMALS_OUT
TEXT_FIELDNAME
EXPONENT
KEY
ICON
SYMBOL
CHECKBOX
JUST
LZERO
NO_SIGN
NO_ZERO
EDIT_MASK
EMPHASIZE
FIX_COLUMN
DO_SUM
NO_OUT
TECH
OUTPUTLEN
OFFSET
SELTEXT_L
SELTEXT_M
SELTEXT_S
REPTEXT_DDIC
DDICTXT
ROLLNAME
DATATYPE
INTTYPE
DDIC_OUTPUTLEN
INTLEN
LOWERCASE
KEY_SEL
NO_SUM
SP_GROUP
REPREP
INPUT
HOTSPOT
Reward If Helpful.
Regards
Sasidhar Reddy Matli. -
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 SethiHi 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 -
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 -
we are developing a software for bluetooth series 60 symbian os phones like nokia 6600.but we are facing design and other coding problem.if any one have codeing for bluetooth application which can be used for chatting or tranferring files between bluetooth phones plz send us,it will help us to develop our software.thank you
Hi,
This forum is exclusively for questions related to Sun Java Studio Creator. Could you pls post your question in an appropriate forum.
Thanks,
Creator Team. -
Dear Apple
Dear iPhone users
Is there a Bluetooth application that can send/receive images, files & video clips via Bluetooth without jailbreak the iPhone? I don't want to lose apple protection.
Please advice.No, you won't find such an app, since that bluetooth profile is not supported by the iPhone:
http://support.apple.com/kb/HT3647?viewlocale=en_US&locale=en_US -
SRM 7.01 - ROS in SUS - Unable to debug FPM Application
Hello Experts,
In the Supplier Self registration link that is sent to suppliers, we need the option to attach documents.
I found that there is a view container with attachment options in the corresponding Webdynpro component
/SAPSRM/WDC_SUCO_SREG_CA which was not visible. Now, I could make them visible, but the buttons
in the view are in disable mode.How could I enable it?
Also I could not debug the application though I kept external break points in the WD component.
Thanks,
SharmilaHi Fai,
we are dealing with the same issue right now. We are implementing SRM 7.01 and for the ROS screen, we are using the new WebDynpro ABAP. We activated the business function SRM_SUCO1 and activated the customizing switch. Now we are facing the problem to access ROS. We only have the link from the BSP application ROS_SELF_REG in main.htm. Do you know where we can find the link for the Webdynpro screen?
Thanks for any advice!
Ina
Maybe you are looking for
-
How can I cancel an itunes account
I would like to cancel my I tune account in order I can create a new one in an other country but using my old Email address
-
My in-page html links don't work in Firefox.
I've made som links within the same page in HTML, and they don't function in Firefox, though they work just fine in IE. I've already tried everything on this page: https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a
-
Hi. Is there any software that will allow me to see what exactly software how much exactly megabytes have downloaded from the internet? Something like list of all active connections by applications, so I can inspect WHO eating traffic. Thanks!
-
I have a custom component in which I have overwritten the update() function to look somthing like this: public void update(Graphics g) { paint(g); this function works fine but everytime the components container(Frame) is resized the screen is cleared
-
Hello! I need for add '1' to value of "Value" in xml (800 -> 8001). Part of xml which i want edit is: <multiRef id="id388"> <key>NM_SCHEMA</key> <value>SCHEMA_NAME</value> </multiRef> <multiRef id="id389"> <key>KD_REG</key> <value>800