Creating and loading a core dump
A core dump can be generated using the following mechanisms:
- Automatic creation of a core dump archive
- Manual creation of a core dump
- Creation of a core dump via runtime function
The special feature of the creation via runtime function is that the core dump is generated during runtime. In contrast, automatically created core dumps or core dumps created manually via the core dump menu are only created if the runtime system is stopped (either in an exception error or at a breakpoint).
Name | Automatically generated or manually generated core dump via the menu | Core dump generated by runtime function |
---|---|---|
Call stack included | Yes | Yes |
Variable values included | Yes | No |
Time of generation | While the PLC runtime is stopped. | At runtime |
![]() | Core dump can only be used with the associated compile info file If you archive or save a core dump file, please note that the associated project and associated compile info file (*.compileinfo file, which is stored, for example when creating the project, in the "_CompileInfo" folder) must be present in order to load a core dump. If this is not the case, TwinCAT cannot use the dump later. Please also note here the setting options on the Settings tab. With the help of the Core Dump setting, you can configure whether the core dump file, which may be located in the project directory, is to be saved together with the available compile info files in a TwinCAT file archive. |