data breakpoints in java/eclipse

后端 未结 6 1872
梦谈多话
梦谈多话 2020-12-08 06:52

when developing C++ with VS you have this amazing feature of data breakpoints, which trigger when the data at a certain address in memory changes.

is there a similar

6条回答
  •  离开以前
    2020-12-08 07:24

    As far as I know, there is no such generic feature in Eclipse. However, you can give some conditions to an existing breakpoint:

    Add a breakpoint somewhere in your code. Then, in the "Breakpoint" view, right click on it, then choose "Breakpoint properties". In the panel, you can add a condition that must be verified to make the application stops on this breakpoint (for example if (foo > 0)).

    This is not exactly what you want, but I do not think Eclipse provides such feature.

提交回复
热议问题