<legend id='90fap'><style id='90fap'><dir id='90fap'><q id='90fap'></q></dir></style></legend>

<small id='90fap'></small><noframes id='90fap'>

    <bdo id='90fap'></bdo><ul id='90fap'></ul>

  • <i id='90fap'><tr id='90fap'><dt id='90fap'><q id='90fap'><span id='90fap'><b id='90fap'><form id='90fap'><ins id='90fap'></ins><ul id='90fap'></ul><sub id='90fap'></sub></form><legend id='90fap'></legend><bdo id='90fap'><pre id='90fap'><center id='90fap'></center></pre></bdo></b><th id='90fap'></th></span></q></dt></tr></i><div id='90fap'><tfoot id='90fap'></tfoot><dl id='90fap'><fieldset id='90fap'></fieldset></dl></div>
  • <tfoot id='90fap'></tfoot>

        如何将调试器附加到 python 子进程?

        时间:2023-05-26
        • <i id='EyUP0'><tr id='EyUP0'><dt id='EyUP0'><q id='EyUP0'><span id='EyUP0'><b id='EyUP0'><form id='EyUP0'><ins id='EyUP0'></ins><ul id='EyUP0'></ul><sub id='EyUP0'></sub></form><legend id='EyUP0'></legend><bdo id='EyUP0'><pre id='EyUP0'><center id='EyUP0'></center></pre></bdo></b><th id='EyUP0'></th></span></q></dt></tr></i><div id='EyUP0'><tfoot id='EyUP0'></tfoot><dl id='EyUP0'><fieldset id='EyUP0'></fieldset></dl></div>

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

            • <bdo id='EyUP0'></bdo><ul id='EyUP0'></ul>
              <legend id='EyUP0'><style id='EyUP0'><dir id='EyUP0'><q id='EyUP0'></q></dir></style></legend>

                  <tbody id='EyUP0'></tbody>

                  <tfoot id='EyUP0'></tfoot>
                  本文介绍了如何将调试器附加到 python 子进程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我需要调试由 multiprocessing.Process() 生成的子进程.pdb 调试器似乎不知道分叉并且无法附加到已经运行的进程.

                  I need to debug a child process spawned by multiprocessing.Process(). The pdb degugger seems to be unaware of forking and unable to attach to already running processes.

                  是否有任何更智能的 python 调试器可以附加到子进程?

                  Are there any smarter python debuggers which can be attached to a subprocess?

                  推荐答案

                  Winpdb 差不多就是这个定义更智能的 Python 调试器.它明确支持下叉,不确定它是否能很好地与配合使用multiprocessing.Process() 但值得一试.

                  Winpdb is pretty much the definition of a smarter Python debugger. It explicitly supports going down a fork, not sure it works nicely with multiprocessing.Process() but it's worth a try.

                  有关检查是否支持您的用例的候选列表,请参阅 Python 调试器列表 在 wiki 中.

                  For a list of candidates to check for support of your use case, see the list of Python Debuggers in the wiki.

                  这篇关于如何将调试器附加到 python 子进程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:具有多处理功能的 Celery 并行分布式任务 下一篇:有效地将函数并行应用于分组的 pandas DataFrame

                  相关文章

                  最新文章

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

                    <legend id='SGUxP'><style id='SGUxP'><dir id='SGUxP'><q id='SGUxP'></q></dir></style></legend>
                  2. <tfoot id='SGUxP'></tfoot>

                        <bdo id='SGUxP'></bdo><ul id='SGUxP'></ul>