A
Axel Dahmen
Hi,
I'm having a problem investigating unexpected exceptions at our production system where these exceptions are logged into a file.
I believe giving a stack trace containing only function prototypes is not sufficient to find a problem. I'd very much prefer a compiler option to add actual argument values to the stack trace.
Something like:
Cannot create a file when that file already exists.
at System.IO.__Error.WinIOError(Int32 errorCode = 123456789, String maybeFullPath = true)
at System.IO.__Error.WinIOError()
at System.IO.File.Move(String sourceFileName = "C:\\Temp\\MyFile.txt", String destFileName = "C:\\Temp\\YourFile.txt")
...
Your thoughts?
Regards,
www.axeldahmen.de
Axel Dahmen
I'm having a problem investigating unexpected exceptions at our production system where these exceptions are logged into a file.
I believe giving a stack trace containing only function prototypes is not sufficient to find a problem. I'd very much prefer a compiler option to add actual argument values to the stack trace.
Something like:
Cannot create a file when that file already exists.
at System.IO.__Error.WinIOError(Int32 errorCode = 123456789, String maybeFullPath = true)
at System.IO.__Error.WinIOError()
at System.IO.File.Move(String sourceFileName = "C:\\Temp\\MyFile.txt", String destFileName = "C:\\Temp\\YourFile.txt")
...
Your thoughts?
Regards,
www.axeldahmen.de
Axel Dahmen