Apart from error codes, error strings and logs, are there any other features which can be incorporated in the code to increase getting debug / trace information during code