data breakpoints in java/eclipse

后端 未结 6 1874
梦谈多话
梦谈多话 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:15

    Using the Variable view:

    • right click the field and select "Toggle Watchpoint", and then
    • right click the same instance again and select "Instance breakpoints..." which allows you to restrict a specific breakpoint to a given instance.

    Note that the performance is probably not as good as with a memory hardware breakpoint (like in VC++ for example).

提交回复
热议问题