How to enable the Trace Current Stream Chain

Viewed 1911

I wanted to debug a Stream in java .stream().map(). Unfortunately the "Trace Current Stream Chain" button isn't active when I move in the .map() function.

enter image description here I have already installed the Java Stream Debugger plugin

Any Idea on how to enable it?

1 Answers

To get enable,

  1. Enable Java Stream Debugger(File -> Settings -> Plugins)
  2. Set a debug Breakpoint on the stream
  3. Debug the application

When you reach the Breakpoint, the "Trace Current Stream Chain" button will be active.

Related