Skip to content
Darian Miller edited this page Jan 3, 2016 · 1 revision

##Debug Visualizer for the Delphi IDE After working a while with JSON formatted strings, I wanted a better solution for viewing text like this in the debugger:

DefaultDebugExpression

Using the newly introduced JSON pretty printer/formatter in the dxLib project (https://github.com/darianmiller/dxLib.git) and some references found in EDN (http://edn.embarcadero.com/article/40268) and info on StackOverflow (http://stackoverflow.com/questions/8108830/how-do-i-obtain-a-reference-to-the-object-or-its-data-from-my-external-viewer-de), I put together a package for Delphi 10 Seattle to view these JSON strings in an easier format (similar to the output found on http://www.jsonlint.com which I was using manually.)

NewDebugVisualizer

View a screen capture for the debug visualizer in action: https://github.com/darianmiller/dxWikiArtifacts/blob/master/dxIDEPackage_JSONStringVisualizer/DebugVisualizerScreenCapture.mp4?raw=true

Note, I'll post packages for Delphi 2010+ at some point, but it should be fairly trivial to build new packages for the version you need based on the one provided.

Clone this wiki locally
You can’t perform that action at this time.