# PrintObject

Prints debugging information about an object.

### Synopsis

`Err PrintObject( CObject *obj )`

### Description

This is a method macro that is part of the Juggler object-oriented toolbox. An object's method can be called explicitly through the class structure function pointer or with one of the defined method macros.

This method macro prints debugging information about an object. The information includes a pointer to the object.

### Arguments

obj
  A pointer to the CObject data structure for the object.

### Return Value

This macro returns 0 if successful or an error code (a negative value) if an error occurs.

### Implementation

Macro implemented in cobj.h V20.

### Associated Files

cobj.h, music.lib

### See Also

``SetObjectInfo`(), GetObjectInfo(),StopObject(), StartObject(), AllocObject(), FreeObject(), GetNthFromObject(), RemoveNthFromObject(),
`