Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ipdb.set_trace()通常当我在 Python 中工作时,我最喜欢使用的工具是使用并启动交互式 shell放入一段代码中。有没有办法用 Jython 做到这一点?
ipdb.set_trace()
pdb因为它是标准库的一部分,所以仍然可以在 Jython 中使用。所以你仍然可以执行pdb.set_trace(). 您将不得不面对没有iPython.
pdb
pdb.set_trace()
iPython