When there is no exception, when an error occurs, the code is popping up and we can see the line which is highlighted containing the error. When there is an exception defined custom, I usually manage loError.Message. But, additionnaly to the Message property of Exception, is there other properties which would allow me to get the line number of where the error occurs? That would be practicable in cases where we are in production but the error we get is not something that should happen. In that case, this would represent a valid information for debugging.