views:

10

answers:

0

Hi all.

During debugging, e.g. in Eclipse, one can evaluate Watch Expressions or Conditional Breakpoints. Typically, these are evaluated on the client side. For instance, when debugging from within Eclipse, it is Eclipse itself, not the debug target VM that evaluates these expressions. This can be quite costly, especially in the case of conditional breakpoints because the debugging VM (i.e. Eclipse) needs to become active on every breakpoint hit, even if the condition evaluates to false.

My question is now whether the debug protocol permits it to instead evaluate such expressions or conditional breakpoints in the debug target VM, such that the target VM only notifies the debugging VM when the expression/condition really evaluated to TRUE.