# PetscObjectsDump
Prints all the currently existing objects. 
## Synopsis
```
#include "petscsys.h"    
PetscErrorCode PetscObjectsDump(FILE *fd, PetscBool all)
```
On rank 0 of `PETSC_COMM_WORLD` prints the values


## Input Parameters

- ***fd -*** file pointer
- ***all -*** by default only tries to display objects created explicitly by the user, if all is `PETSC_TRUE` then lists all outstanding objects



## Options Database Key

- ***-objects_dump <all> -*** print information about all the objects that exist at the end of the programs run





## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/objects/inherit.c.html#PetscObjectsDump">src/sys/objects/inherit.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/objects/inherit.c)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
