jolly
VIP Member
Here's a great tip for those unfortunates amongst us who debug C BSFNs:
Ever get sick of having to expand MATH_NUMERICs and JDEDATEs in the watch and variables window? Well, there's an (almost) undocumented feature in MSDev that allows you to customise how specific structure and class types are displayed. See http://msdn.microsoft.com/library/d...l/vchowDisplayingElementsOfCustomDataType.asp
Basically if you place the following at the end of the Microsoft Visual Studio\Common\MSDev98\BinAUTOEXP.DAT file
; for use with JDE
tagMATH_NUMERIC=<Sign,c><String,s> length=<nLength> Decimal Pos=<nDecimalPosition>
tagJDEDATE=<nDay>/<nMonth>/<nYear>
Then you will see a useful representation of these types in the debugger window without expanding them.
Thanks to the legendary Mike Maguire for being so bored at work that he discovered this!
[wink]
Cheers,
JohnO
Ever get sick of having to expand MATH_NUMERICs and JDEDATEs in the watch and variables window? Well, there's an (almost) undocumented feature in MSDev that allows you to customise how specific structure and class types are displayed. See http://msdn.microsoft.com/library/d...l/vchowDisplayingElementsOfCustomDataType.asp
Basically if you place the following at the end of the Microsoft Visual Studio\Common\MSDev98\BinAUTOEXP.DAT file
; for use with JDE
tagMATH_NUMERIC=<Sign,c><String,s> length=<nLength> Decimal Pos=<nDecimalPosition>
tagJDEDATE=<nDay>/<nMonth>/<nYear>
Then you will see a useful representation of these types in the debugger window without expanding them.
Thanks to the legendary Mike Maguire for being so bored at work that he discovered this!
[wink]
Cheers,
JohnO