我在 JShell 中写了一个 Java 方法,现在我想调试它。我想设置断点或至少逐行执行。 JShell有这些调试能力吗?
最佳答案
为了进一步澄清,来自 JEP: The Java Shell (Read-Eval-Print Loop)本身,非目标 状态:
Out of scope are graphical interfaces and debugger support. The JShell API is intended to allow JShell functionality in IDEs and other tools, but the
jshell
tool is not intended to be an IDE.
关于java - 使用 JShell 进行调试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53703277/