User Tools

Site Tools


samples:samples:debugvisualizer

Table of Contents

DebugVisualizer sample

Documentation | Samples | DebugVisualizer

Summary

DebugVisualizer — IDE integration for visualizing TatukGIS shapes in the debugger.

Description

What the sample shows:

  • Custom RAD Studio debugger visualizer plugin architecture
  • Real-time shape visualization during debugging
  • Parsing GIS shape objects from debugger expression evaluator
  • Rendering shapes in an embedded GIS viewer within debugger inspector
  • WKT (Well-Known Text) format export for geometric analysis
  • JSON and GML format exports of shape geometry
  • Shape statistics display (extent, area, length, vertex count)
  • Coordinate system transformation for shape display
  • Clipboard integration for exporting geometry text
  • IOTADebuggerVisualizerExternalViewerUpdater interface implementation
  • Dynamic UI layout with splitters for statistics and geometry display

Key interfaces implemented:

  • IOTADebuggerVisualizer - register custom visualizer with IDE
  • IOTADebuggerVisualizerValueReplacer - provide alternate representation text
  • IOTADebuggerVisualizerExternalViewer- open external window for visualization

Registration:

  • Called via the package registration mechanism to make the visualizer available in IDE.
  • Visualizer appears in debugger Inspector and variable tooltip context menus.

This sample illustrates use of:

Name Description
TGIS_ShapeAbstract base class for vector shapes stored in a vector layer.

Code

This sample is available on the following platforms (click to view the source code on GitHub):

2026/09/23 09:01

Page Tools