How to see the function body while debugging Scala in Intellij? Follow
Hello,
When I debug Scala via IntelliJ and stop at a breakpoint, I see the function in 'Variables' box as this : nextOperation = <function2>. How do I go to the actual code of the function 'nextOperation'
Please sign in to leave a comment.
Hi, Salil,
If you stop on the line where this function is used, you may try to do `Step into` (F7) to get to the actual implementation.
Possibility to see a body of the instance of a functional type from Variables view is not implemented yet. I created a ticket on our tracker, you may vote for it to follow the progress.
https://youtrack.jetbrains.com/issue/SCL-10776
in the meantime, you can use "jump to type source", which will open the source code in the editor
Jump to type source is a useful feature, but it doesn't always work for lambdas.