It seems certain JAR file was not seen in your classpath? Eclipse+ADT does this very well. Did you try it?
Kenny On Dec 29, 1:40 pm, firstbread <[email protected]> wrote: > Hi all > I got a problem when I try to debug Android with jdb. The following is > my steps > > 1、use "am -e debug true ....",to start a activity > 2、use"adb forward tcp:8000 jdwp:472",to bind jdwp to tcp:8000 > 3、use " jdb -attach localhost:8000 ",to attach jdb to tcp:8000 Then I > got error messages: > java.io.IOException: shmemBase_attach failed: ??????????????????¨ > at com.sun.tools.jdi.SharedMemoryTransportService.attach0 > (Native Metho > > at com.sun.tools.jdi.SharedMemoryTransportService.attach > (SharedMemoryT > nsportService.java:90) > at com.sun.tools.jdi.GenericAttachingConnector.attach > (GenericAttaching > nnector.java:98) > at com.sun.tools.jdi.SharedMemoryAttachingConnector.attach > (SharedMemor > ttachingConnector.java:45) > at com.sun.tools.example.debug.tty.VMConnection.attachTarget > (VMConnect > n.java:358) > at com.sun.tools.example.debug.tty.VMConnection.open > (VMConnection.java > 68) > at com.sun.tools.example.debug.tty.Env.init(Env.java:64) > at com.sun.tools.example.debug.tty.TTY.main(TTY.java:1010) > > 致命错误:(fatal error:) > 无法连接到目标 VM。(can not connect to target vm) > > What could I do now? thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

