Tracking any line of code that throws an error.
Posted on 2004-08-05
Is there a way in VB6 to know exactly what line of code errored when the error handling is called?
Does VB track the line it is executing in a variable or something while it is processing. Something like a variable called strCodeExecuting that whenever on error is encountered I can write the variable out and know exactrly the line of code that was trying to be executed?
I want to keep a log of all errors, clients do not always tell me what the actual error was, or all the errors for that matter.