ckb Minion Staff member Jan 1, 2019 #1 It would be nice to print the line number of a print statement, much like print(__FILE__); Maybe print(__LINE__); Also, would be helpful in large scripts with abort(__LINE__); to show where it aborted.
It would be nice to print the line number of a print statement, much like print(__FILE__); Maybe print(__LINE__); Also, would be helpful in large scripts with abort(__LINE__); to show where it aborted.
H heeheehee Developer Staff member Jan 1, 2019 #2 For now, you _should_ be able to use get_stack_trace() for your first request. For your second request, try `set printStackOnAbort = true`. It defaults to false because I found it was rather spammy when I was testing it initially.
For now, you _should_ be able to use get_stack_trace() for your first request. For your second request, try `set printStackOnAbort = true`. It defaults to false because I found it was rather spammy when I was testing it initially.
ckb Minion Staff member Jan 1, 2019 #3 Oh nice! I learn something new today - this does exactly what I am looking for. Thanks! Happy New Year to me!
Oh nice! I learn something new today - this does exactly what I am looking for. Thanks! Happy New Year to me!
ckb Minion Staff member Jan 1, 2019 #5 Darzil said: So, implemented? Click to expand... Yes, I would call this (already) implemented. Thanks.
Darzil said: So, implemented? Click to expand... Yes, I would call this (already) implemented. Thanks.