Suggestion: Add function arguments to stack trace

  • Thread starter Thread starter Axel Dahmen
  • Start date Start date
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
 
Axel,

First of all this is a discussion newsgroup for developers using Microsoft
programs about direct developing problems, secondly it is used by MSDN to
give help with subscriptions.

However, there is a special website to give suggestions like you do.

http://connect.microsoft.com

Cor

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
 
Axel,

First of all this is a discussion newsgroup for developers using Microsoft
programs about direct developing problems, secondly it is used by MSDN to
give help with subscriptions.

However, there is a special website to give suggestions like you do.

http://connect.microsoft.com

Cor

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
 
Back
Top