Add the ability to capture variable values when running a painless script in debug mode. We can annotate the captured data per line and per iteration as well as limit the amount of captured data via a bounded buffer.
This allows us to provide break-point like functionality (add a dot to capture data at a given point) without the difficulty of implementing pausing and resuming painless script execution.
Add the ability to capture variable values when running a painless script in debug mode. We can annotate the captured data per line and per iteration as well as limit the amount of captured data via a bounded buffer.
This allows us to provide break-point like functionality (add a dot to capture data at a given point) without the difficulty of implementing pausing and resuming painless script execution.
Migrated from: https://github.com/elastic/elasticsearch/issues/31009