<tfoot id='Q4Xi5'></tfoot>

  • <small id='Q4Xi5'></small><noframes id='Q4Xi5'>

      • <bdo id='Q4Xi5'></bdo><ul id='Q4Xi5'></ul>

        <legend id='Q4Xi5'><style id='Q4Xi5'><dir id='Q4Xi5'><q id='Q4Xi5'></q></dir></style></legend>
      1. <i id='Q4Xi5'><tr id='Q4Xi5'><dt id='Q4Xi5'><q id='Q4Xi5'><span id='Q4Xi5'><b id='Q4Xi5'><form id='Q4Xi5'><ins id='Q4Xi5'></ins><ul id='Q4Xi5'></ul><sub id='Q4Xi5'></sub></form><legend id='Q4Xi5'></legend><bdo id='Q4Xi5'><pre id='Q4Xi5'><center id='Q4Xi5'></center></pre></bdo></b><th id='Q4Xi5'></th></span></q></dt></tr></i><div id='Q4Xi5'><tfoot id='Q4Xi5'></tfoot><dl id='Q4Xi5'><fieldset id='Q4Xi5'></fieldset></dl></div>

        “无法连接到远程 VM"将 jdb 连接到 Windows 上的 android 模拟器

        quot;Failed to attach to the remote VMquot; connecting jdb to the android emulator on Windows(“无法连接到远程 VM将 jdb 连接到 Windows 上的 android 模拟器)
        <tfoot id='FXP04'></tfoot>
      2. <small id='FXP04'></small><noframes id='FXP04'>

      3. <i id='FXP04'><tr id='FXP04'><dt id='FXP04'><q id='FXP04'><span id='FXP04'><b id='FXP04'><form id='FXP04'><ins id='FXP04'></ins><ul id='FXP04'></ul><sub id='FXP04'></sub></form><legend id='FXP04'></legend><bdo id='FXP04'><pre id='FXP04'><center id='FXP04'></center></pre></bdo></b><th id='FXP04'></th></span></q></dt></tr></i><div id='FXP04'><tfoot id='FXP04'></tfoot><dl id='FXP04'><fieldset id='FXP04'></fieldset></dl></div>
      4. <legend id='FXP04'><style id='FXP04'><dir id='FXP04'><q id='FXP04'></q></dir></style></legend>

        • <bdo id='FXP04'></bdo><ul id='FXP04'></ul>

                    <tbody id='FXP04'></tbody>
                  本文介绍了“无法连接到远程 VM"将 jdb 连接到 Windows 上的 android 模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我一直在尝试将jdb连接到android模拟器一段时间,并且反复遇到:

                  I’ve been trying to connect jdb to the android emulator for a little while, and have been met repeatedly with:

                  jdb -sourcepath ./src -attach localhost:8700
                  
                  java.io.IOException: shmemBase_attach failed: The system cannot find the file specified
                          at com.sun.tools.jdi.SharedMemoryTransportService.attach0(Native Method)
                          at com.sun.tools.jdi.SharedMemoryTransportService.attach(SharedMemoryTransportService.java:90)
                          at com.sun.tools.jdi.GenericAttachingConnector.attach(GenericAttachingConnector.java:98)
                          at com.sun.tools.jdi.SharedMemoryAttachingConnector.attach(SharedMemoryAttachingConnector.java:45)
                          at com.sun.tools.example.debug.tty.VMConnection.attachTarget(VMConnection.java:358)
                          at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:168)
                          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:
                  Unable to attach to target VM.
                  

                  不太好.解决这个问题的最佳方法是什么?我在 Windows 7 64bit 上运行.

                  Not so great. What's the best way of getting round this? I'm running on Windows 7 64bit.

                  推荐答案

                  目前这对我有用——创建一个套接字而不是共享内存连接.

                  Currently this is working for me -- making a socket rather than a shared memory connection.

                  >jdb –sourcepath .src -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8700

                  >jdb –sourcepath .src -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8700

                  事先你需要做一些设置——例如,看这组 关于设置非 Eclipse 调试器的有用细节.它包括一个设置初始断点的好技巧——在你的主目录中创建或编辑一个 jdb.ini 文件,其内容如下:

                  Beforehand you need to do some setup -- for example, see this set of useful details on setting up a non-eclipse debugger. It includes a good tip for setting your initial breakpoint -- create or edit a jdb.ini file in your home directory, with content like:

                  stop at com.mine.of.package.some.AClassIn:14

                  它们会被加载并延迟到连接.

                  and they'll get loaded and deferred until connection.

                  忘记引用Herong Yang 的页面.

                  这篇关于“无法连接到远程 VM"将 jdb 连接到 Windows 上的 android 模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Lucene Porter Stemmer not public(Lucene Porter Stemmer 未公开)
                  How to index pdf, ppt, xl files in lucene (java based or python or php any of these is fine)?(如何在 lucene 中索引 pdf、ppt、xl 文件(基于 java 或 python 或 php 中的任何一个都可以)?)
                  KeywordAnalyzer and LowerCaseFilter/LowerCaseTokenizer(KeywordAnalyzer 和 LowerCaseFilter/LowerCaseTokenizer)
                  How to search between dates (Hibernate Search)?(如何在日期之间搜索(休眠搜索)?)
                  How to get positions from a document term vector in Lucene?(如何从 Lucene 中的文档术语向量中获取位置?)
                  Java Lucene 4.5 how to search by case insensitive(Java Lucene 4.5如何按不区分大小写进行搜索)
                    <tbody id='K6J1u'></tbody>
                    • <bdo id='K6J1u'></bdo><ul id='K6J1u'></ul>
                      <tfoot id='K6J1u'></tfoot>
                      <i id='K6J1u'><tr id='K6J1u'><dt id='K6J1u'><q id='K6J1u'><span id='K6J1u'><b id='K6J1u'><form id='K6J1u'><ins id='K6J1u'></ins><ul id='K6J1u'></ul><sub id='K6J1u'></sub></form><legend id='K6J1u'></legend><bdo id='K6J1u'><pre id='K6J1u'><center id='K6J1u'></center></pre></bdo></b><th id='K6J1u'></th></span></q></dt></tr></i><div id='K6J1u'><tfoot id='K6J1u'></tfoot><dl id='K6J1u'><fieldset id='K6J1u'></fieldset></dl></div>

                        <small id='K6J1u'></small><noframes id='K6J1u'>

                        <legend id='K6J1u'><style id='K6J1u'><dir id='K6J1u'><q id='K6J1u'></q></dir></style></legend>