Collect Diagnostics Information
The Diagnostics Information Gathering utility collects diagnostics files in the case of a crash and saves them to a common folder.
These files include:
- .dmp file(s): Collected by default, or if the
HW_CRASH_REPORTS
environment variable is set to Normal or Full. IfHW_CRASH_REPORTS
is set to None, they will not be collected. - HW Log file: Collected if the
HW_LOGGER
environment variable is set. This environment variable should be set to a file name (like, hyperworks.log); the generated log file will be named hwx_<HW_LOGGER>. - List of environment variables set
- Updates and system information
These files will be saved in one of the following locations by default:
- Windows
- %localappdata%\Temp\AltairCrashFiles_<process_ID> (C:\Users\<user_name>\AppData\Local|Temp\AltairCrashFiles_<process_ID>)
- Linux
- /tmp/ AltairCrashFiles_<process_ID>
You can specify a directory other than the default, by setting the
HW_CRASH_REPORTS_FOLDER
environment variable to the desired
directory. In this case, the files will be saved in
<HW_CRASH_REPORTS_FOLDER>\AltairCrashFiles_<process_ID>.
In the case of a crash, a dialog will open informing you of the location of the files, as well as the environment variable to set to change the location for the future. If the directory cannot be created due to permissions issues, this dialog will not open.
Note:
- You must have write permissions for the specified directory in order for the files to be collected.
- On Linux, if the specified directory name cannot contains a space, the entire path or the directory within the path which contains the space must be enclosed in quotes (“”).