Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Register Log in

logging and Debugging toolkit application

Sanjay Meher

New member
Hi Everybody,


You must have seen that the method "TEST_CALL_REPORT(char*,char*, ProError, bool)"
is widely used in PRO/TOOLKIT examples for logging the ERRORS in a file.


But I am not able to use this functionality .



I tries in the following way:



SET ENV VARIABLE&nbs p;
PROTOOL_LOG_DIR : D:\tmp
PROTOOL_DEBUG :



run the application with "E:\proe2001\bin\proetk.bat +trail:ERROR_LOG.txt",
I HAVE GOT FROM THE ABOVE INFORAMTION from
Testrunmode.c and TestError.c


But still it is not working !
I believe i am missing few more things
Please reply if anybody knows this.



Thanks and Regards,
Sanjay Meher
 

pwillia3

New member
Set PROTOOL_LOG_DIR=c:\temp (or whatever you want)


Set PROTOOL_DEBUG=crash (or crash_rep or stat)


Then it should work.
 

Sponsor

Top