如何在IntelliJ中逐步调试Swing应用程序。

huangapple go评论80阅读模式
英文:

How to step through Swing app in Intellij

问题

我刚开始使用Intellij,正在运行一个GUI应用程序,想知道是否有比通过调试模式逐行运行代码的更好的追踪执行方式。我只想看到每个函数调用,并希望在与GUI交互时在IDE中在函数之间跳转。

英文:

I am new to Intellij and am running a GUI app and wanted to know if there was a better way to trace execution than to run through debug mode and click through each line of code. I only want to see each function call and have it jump between functions in the IDE when I interact with the GUI.

答案1

得分: 1

IntelliJ IDEA的调试器具有无需停止的记录断点选项。您可以在需要的地方放置启用了日志记录的日志断点禁用中断启用日志),并在使用应用程序时在IDE控制台中查看日志。

英文:

IntelliJ IDEA debugger has the option to log the breakpoints without stopping. You can put the logging breakpoints (Suspend disabled, Log enabled) where needed and use your app while watching the logs in the IDE console.

huangapple
  • 本文由 发表于 2020年4月10日 05:20:23
  • 转载请务必保留本文链接:https://go.coder-hub.com/61130406.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定