C# Source Code: How to configure the debugger display format for different data types in Visual Studio .NET
[
Home
|
Contents
|
Search
|
Reply
| Previous | Next ]
C# Source Code
How to configure the debugger display format for different data types in Visual Studio .NET
By:
Andrew Baker
Email (spam proof):
Email the originator of this post
Date:
Friday, August 26, 2005
Hits:
1861
Category:
General/Framework
Article:
One of my gripes with VS.NET was that is displays dates in SHORT American date format, ie only displays the month index (not name). If your not used to this, it can cause you unneccassary angst! Anyway as luck would have it MS added a means for you to control the way the debugger displays (or expands) data using the mcee_cs.dat file (usually found in a path similiar to "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages\Debugger"). To change the date format to something sensible (eg. including time) edit the line "System.DateTime" to like:
=
/
/
:
:
=
days
:
:
:
Another useful one to change is:
=Name=
Obviously you can make similiar changes to any other type you may wish to edit.
Terms and Conditions
Support this site
Download a trial version of the best FTP application on the internet