weixin_39605414 2020-11-21 16:46
浏览 0

Unable to use debugger to step through code in imported functions

Original report by Carlos (Bitbucket: caseminario ).

Hi, I'm running Thonny 2.1.21 (Darwin 16.7.0 64-bit, Python 3.6.6 (64-bit), Tk8.5.19) using macOS Sierra 10.12.6 on a MacBook Pro (Retina, 13-inch, Early 2015), 2.9 GHz Intel Core i5, 16 GB 1867 MHz DDR3.

I need to be able to debug code residing across multiple .py files. For example, I have a test driver program that imports functions from other modules to test them; I need to be able to "step into" code that is actually residing in another .py file.

Looks like the debugger only steps through code in one program file and, in effect, "steps over" imported code in functions residing in other .py files. This may be more than what an entry-level debugger should handle, just wanted to know if there are plans to upgrade for this capability. Thanks!

该提问来源于开源项目:thonny/thonny

  • 写回答

5条回答 默认 最新

  • weixin_39605414 2020-11-21 16:46
    关注

    Duplicate of #455.

    评论

报告相同问题?