Talk:Debugger Visualizers

From RAD Studio
Jump to: navigation, search

The TDateTime visualizer uses the DateTimeToStr function from SysUtils, so the actual output is locale-dependent. If we're going to include the table that shows sample output, we need to state that the data you see may vary based on your locale and your current ShortDateFormat and LongTimeFormat global variables.


Also, per the comment in SysUtils.pas for DateTimeToStr,

 "Time information is included in the resulting string only if the fractional part of the 
given date and time value is non-zero."  

So the sample data for "0" and "35065" are incorrect. There should be no time component of those values


For the section "Where to Interact with Debugger Visualizers":

These are the places in the IDE where debugger visualizers can be used:

"Watches Window list" should be "Watch List" or "Watch List Window" Evaluate/Modify dialog box - toolbar button": the toolbar button only comes into play for a External visualizer

The blurb: "will display the correct format (either the raw data or the data from the visualizer if visualizers are enabled and one is available for that data type)" is true for all the debugger views that use visualizers, not just tooltips.

Shouldn't there be a description of how to invoke an external viewer? i.e. clicking on the glyphs in the watches, locals, and tooltip, using the local menu in the watches, locals, debug inspector, and using the toolbar button in the eval/modify dialog.

=

Thanks, Chris. I've incorporated all your comments. Kris Houser 7/8/09