Hello all,
I have some questions about debugging my application:
1. When errors occur, I'm writing to a log file, so I have a public function makes the writing itself. How can I send the function/sub name to the log function, but not as a specific string text, but something more general? Is there any variable that holds the function name that I'm currently inside?
2. Can I make a generic "on error goto..." or "on error resume next" so it catches all exceptions of my application? I have many functions, and FAIK, I have to use "on error ..." for each function and subroutine.
Thanks in advance!
I have some questions about debugging my application:
1. When errors occur, I'm writing to a log file, so I have a public function makes the writing itself. How can I send the function/sub name to the log function, but not as a specific string text, but something more general? Is there any variable that holds the function name that I'm currently inside?
2. Can I make a generic "on error goto..." or "on error resume next" so it catches all exceptions of my application? I have many functions, and FAIK, I have to use "on error ..." for each function and subroutine.
Thanks in advance!