debug an evaluate expression on intellij

Unfortunately it’s not possible in Intellij 14 and stated in the official link you provided:

If a method invoked within the Expression Evaluation has a breakpoint inside its body, this breakpoint will be ignored.

To eliminate the problem you mentioned with frequent restarting of a debug session I use the following work-around with the drop-frame debug feature:

  1. Step in to a method and before return use the drop-frame functionality to fall back to a previous stack frame. See the drop-frame icon’s location on the screenshot below:
    enter image description here
  2. Now it’s possible to rerun this method with different parameters without restarting the debug session (parameters can be set using Evaluate Expression dialog).

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)