3 ms·
it's hardly java's fault he's looking at a stack frame and not seeing the variables that belong to a different stack. This is simply a matter of selecting a fra
by hnriot 12y ago
it's hardly java's fault he's looking at a stack frame and not seeing the variables that belong to a different stack. This is simply a matter of selecting a frame prior to the forEach.
- chris_wot 12y agoI disagree. The lambda expression allows him to use variables outside of the stack frame, why shouldn't the debugger also be able to show those same variables?
- jdmichal 12y agoThe single example does not show a lambda that requires variable capture.
- iwince 12y agoEclipse's debugger can be configured to show a refined output. The controls are in the upper right in the Debug Perspective. Programmers who make applications are not programmers who write IDE's. If I'd noticed this I don't know if I'd recognized it or dug into it more to understand it but a snarky comment like the one I replied to is not appropriate or helpful.