且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

IntelliJ Idea(调试)条件断点依赖于其他断点

更新时间:2022-04-22 03:11:23

您可以在查看断点... 视图中执行此操作:

You can do that in the View Breakpoints... view:

在您的情况下,您首先必须在 B1 上设置条件断点,以便在喜欢它时然后才会触发 B2

In your case you will first have to set a conditional breakpoint on B1 so that when it is hit then and only then B2 will be triggered.