Is there any option to not skip the body of inline functions during debugging, eg like
forEach
or
let
using Step Over? When I use a simple for loop, I Step Over jumps into the loop, while a
forEach
is, well, stepped over.
d
Daniel Pitts
11/26/2023, 4:33 PM
Does step into not work? I think there is configuration that tells IntelliJ to skip certain functions for step-into so that when you use step-into on a forEach, for example, it’ll go into the lambda directly.
I’m not at my computer so I can’t confirm though. I could be wrong.
c
christophsturm
11/27/2023, 9:32 AM
It would be really great if step over would work for for each and map like for a for loop. Should step over maybe always step into a lambda parameter?
k
Klitos Kyriacou
11/27/2023, 12:17 PM
But then if the parameter to
forEach
was a variable assigned to a
KFunction
, i.e.
forEach(myFunction)
, it would be strange if Step Over stepped into some code that might even be defined in a separate file.