https://kotlinlang.org logo
#intellij
Title
# intellij
a

Andrew Gazelka

05/16/2019, 9:33 AM
is there a good way to debug inline? For example having an equivalent breakpoint to this but if the line were
if(current == goall) return reconstructPath(cameFrom, current)
s

snowe

05/16/2019, 3:43 PM
if you are on intellij it should allow you to place it inline, or step through to it.
a

Andrew Gazelka

05/16/2019, 3:43 PM
how? it does not give me two options
only for HOFs
s

snowe

05/16/2019, 3:44 PM
since it's all one line of code you can still step through it. Sorry if I wasn't clear.
you can also run to cursor.