When coming along this line when debugging in IntelliJ IDEA, how can I first see the result of the inlined calls before calling someObject.performAction without refactoring them out into local variables?
If the inline methods have no side effects select the method call, e.g. processArg(arg2) and use "Evaluate expression" (Alt-F8). This result won't be used when when the debugger is told to continue running the code, so methods with side effects will be evaluated at least twice (once each time "Evaluate expression" is used, and once for the true call).
Asked in February 2016Viewed 2,757 timesVoted 8Answered 1 times