@eyhl StackTraces.stacktrace()[1].func is just something I found on stack overflow. It returns the name of the outer function. I use it in the debug part to print the name of the function before the other information. The good thing is that I can just change the function name and then the debug part still works.
Btw StackTraces is a general term in programming used for the list (stack) of functions called to get to a certain point in the code. Normally use in error messages
@eyhl
StackTraces.stacktrace()[1].func
is just something I found on stack overflow. It returns the name of the outer function. I use it in the debug part to print the name of the function before the other information. The good thing is that I can just change the function name and then the debug part still works.Btw StackTraces is a general term in programming used for the list (stack) of functions called to get to a certain point in the code. Normally use in error messages![image](https://user-images.githubusercontent.com/30597266/205709623-745f36b6-738c-4e0d-b800-fbaef72a0f73.png)