Synopsis
void OMedit_obj(
OMobj_id object_id);
void OMedit_root_obj();
void OMedit_obj_ptr(
int elem_id,
int proc_id);
Description
These routines invoke the V command processor on the object specified. They are particularly useful when called from the debugger to help you debug your program. The variants of these routines help overcome the limitations that various debuggers have.
The routine OMedit_root_obj brings up the VCP on the Root object. Since it takes no arguments, it can be called from most debuggers.
The routine OMedit_obj_ptr is useful when your debugger prohibits you from passing structures as arguments to functions. The OMobj_id structure consists of two members: elem_id and proc_id. The elem_id member is passed as the first argument to the function, the proc_id is passed as the second. You call this routine from the debugger like:
(dbx) p OMedit_obj_ptr(obj_id.elem_id, obj_id.proc_id)
Once you are finished with the VCP, you can return to debugging your program by closing all open objects and entering the EOF character on your system (often Ctrl-d).