adamantine-sim / adamantine

Software to simulate heat transfer for additive manufacturing
https://adamantine-sim.github.io/adamantine/
Other
31 stars 9 forks source link

Add verbose messages when waiting for a file #296

Open stvdwtt opened 2 weeks ago

stvdwtt commented 2 weeks ago

We should (at least optionally) print a message to the screen when the code is waiting for a file (or a file like the scan path to update). I think the option to add a message is already there, but unused.

Currently it is hard to tell the difference between an expected hang waiting for a file, an unexpected hang, and the code moving along.

Rombur commented 1 week ago

We print a message but only when the counter overflows which takes a long time. If you change the initial value of the counter to zero here and here, we will print the message as soon as we are waiting. When I wrote the code, I was expecting the counter to overflow much faster than what it does in practice.