Years ago, I wrote a few IOTADebuggerVisualizers. Looking at my code repository, this was in 2011. Back then, I've written a NSImage visualizer which allows one to visualize the cursor selected on the Mac OS X when debugging OS X applications through the IDE.

As it's been a while since I've debugged any IOTADebuggerVisualizers, I'm refreshing my skills by blogging this.

In order to debug an IOTADebuggerVisualizer, you'll need to run 2 copies of the Delphi/RAD Studio IDE.

  1. Start the Delphi/RAD Studio IDE.
  2. Load your IOTADebuggerVisualizer project.
  3. If it's already installed, uninstall it from Component, Install Packages, select the package and remove it.
  4. Place breakpoints in the IOTADebuggerVisualizer project, such as in the GetReplacementValue  or the EvaluateComplete method.
  5. Run, Parameters, and set the Host Application as the Delphi IDE itself, for example, C:\Program Files (x86)\Embarcadero\Studio\18.0\bin\bds.exe
  6. Then, Run, run.
  7. In the new (or second) IDE, click Component, Install Packages, then click Add and select the IOTADebuggerVisualizer package.
  8. Go to Tools, Options, scroll down to Debugger Options, Visualizers, and ensure that the desired IOTADebuggerVisualizer is checked. If not, check it.
  9. Load a project, debug it, and your IOTADebuggerVisualizer should be activated.

Debugging IOTADebuggerVisualizer