Home Applications Full-OBJ-Dump

Full-OBJ-Dump

Community Project
This project is maintained by its author and is not officially supported by InterSystems. For technical support, please contact the project developer.
5
1 reviews
0
Awards
358
Views
0
IPM installs
5
1
Details
Releases (3)
Reviews (1)
Issues
Articles (1)
Extended object dump example

What's new in this version

  • replace broken webterminal with iterm
  • clean docker-compose


 no maintenance or update

Full-OBJ-Dump

During testing your code you are are often confronted with the need to examine
the actual content of an object. Either using ZWRITE or $system.OBJ.Dump()
you get a picture of simple properties as “— attribute values —”
while “— swizzled references —” are more confusing than informative
and with “— calculated references —” you are just left in the lurch.

This small helper class allows you to dump an object to terminal or
e.g in background to some stream for later review.
By default you see just properties with content,

   DO ##class(Z.obj).dumpToDevice(obj) 

or if explicitly requested all properties.

   DO ##class(Z.obj).dumpToDevice(obj,1)  

Similar is the output to stream

   DO ##class(Z.obj).dumpToStream(.outstream,obj)  

Article in DC

Last checked by moderator
02 May, 2026Works
Made with
Version
1.1.003 Aug, 2025
ObjectScript quality test
Category
Technology Example
Works with
InterSystems IRISCachéEnsemble
First published
04 Dec, 2022
Last edited
12 Jul, 2026