enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.34k stars 323 forks source link

Monitor `ExecuteJob` thread in search for stalled executions #9583

Open hubertp opened 6 months ago

hubertp commented 6 months ago

We've seen in a number of situations in the past that a long running computation may complicate any efforts of debugging backend issues. Every ExecuteJob must start a separate that monitors its execution and detects/informs of long running computations/deadlocks. Logging such information would be sufficient for starters.

The proposed monitoring could be a) extended to all jobs b) extended to send progress in executing normal jobs to IDE clients

JaroslavTulach commented 6 months ago

Inspire yourself: https://netbeans.apache.org/wiki/main/wiki/FitnessViaPostMortem/

FitnessViaPostMortem
How it works?
JaroslavTulach commented 2 months ago

Do you want to know if the program is running? Then use Instrumentor...