This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
JJRcop's profile picture

Optional chunk log

Started by JJRcop, 31 December 2012 - 06:38 AM
JJRcop #1
Posted 31 December 2012 - 07:38 AM
I request an option in the config for computercraft create a log with the chunks that computers run. Each entry could contain a timestamp, computer ID, and then the chunk that was executed.
Defaulted to false
immibis #2
Posted 31 December 2012 - 05:23 PM
Lua chunks?
ChunLing #3
Posted 31 December 2012 - 10:24 PM
One would assume.

Um, how about just the string name and line numbers of the chunks run? Or would that be feasible?
immibis #4
Posted 31 December 2012 - 10:37 PM
Name is useless, and chunks don't have a line number.
Recording the code could be VERY spammy, depending on how people are using computers.
ChunLing #5
Posted 01 January 2013 - 06:27 AM
Hence the need for some way to record it more efficiently.
JJRcop #6
Posted 02 January 2013 - 07:32 AM
Yes, I meant Lua chunks.
I know it will be very spammy.
It could help in some circumstances.
ChunLing #7
Posted 02 January 2013 - 08:32 AM
Of course it could. But the less spammy it is, the more helpful it would be when you needed it.