# How to generate an Echo File in HOOPS Solve

**URL:** <https://forum.techsoft3d.com/t/how-to-generate-an-echo-file-in-hoops-solve/1123>\
**Category:** HOOPS Solve\
**Tags:** learn, knowledge-base\
**Created:** [November 8, 2022, 5:09pm UTC](https://forum.techsoft3d.com/t/how-to-generate-an-echo-file-in-hoops-solve/1123 "2022-11-08T17:09:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![frode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/frode/32/497_2.png) [@frode](https://forum.techsoft3d.com/u/frode)\
**Post date:** [November 8, 2022, 5:09pm UTC](https://forum.techsoft3d.com/t/how-to-generate-an-echo-file-in-hoops-solve/1123/1 "2022-11-08T17:09:41Z")

</div>

HOOPS Solve can log the call-stack of the supported objects to an `Echo File`, which could help the support team debug a given problem. This shows how to set this up in your application.

Initialize the `Echo File`:

```auto
vsy_Echo* echo = vsy_EchoBegin();
vsy_EchoOpen(echo, "callstack.echo", ECHO_WRITE);

```

Add the `Echo File` to the supported objects, e.g.:

```auto
vfs_DofTab* doftab = vfs_DofTabBegin();
vfs_DofTabSetEcho(doftab, echo);

....

vfs_SysMatrix *sysmatrix = vfs_SysMatrixBegin();
vfs_SysMatrixSetEcho(sysmatrix, echo);
   
....
vfs_SysVector *sysvectorb, *sysvectorx;

sysvectorb = vfs_SysVectorBegin();
vfs_SysVectorSetEcho(sysvectorb, echo);
   
....
sysvectorx = vfs_SysVectorBegin();
vfs_SysVectorSetEcho(sysvectorx, echo);
   
....

```

The `Echo File` must be added just after the \*Begin() call and before any other call in order to track all the subsequent calls to those objects.
