Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Current »

The echo file generated using DevTools records the method calls in the order of execution and it is very helpful for the debugging task.

That way, all the calls performed in the vfs toolkit are registered and can be reproduced by our support team.

In order to enable the echo file the follwoing initialization must be done for some key objects:

vsy_Echo* echo = vsy_EchoBegin();
vsy_EchoOpen(echo, "GIVEN_FILE_NAME.echo", ECHO_WRITE);

Then, the Echo object must be injected into three main vfs objects:

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);
   
....

Important: The echo file must be injected just after the *Begin() call and before any other call in order to track all the subsequent calls to those objects.

In case of question, do not hesitate to contact our support team.

  • No labels