Core dump commands are available in the
menu for specific controllers.This function is not available for all supported controllers. Consult the Programming Guide specific to your controller.
For further information on the core dump creation, refer to Core Dump .
The
command is available for specific controllers when the application is in online mode.When you execute the command, a verification is made on the controller:
If... |
Then ... |
---|---|
If there is already a core dump file, |
Then you are asked whether it should be loaded to the project folder. |
If there is no core dump file, or if you refused to load the existing one, and if the application is halted at a breakpoint or an exception error has been detected, |
Then a dump file with the application data is created. This file is stored in the project folder: <project name>.<device name>.<application name>.<application guid>.core You can cancel the creation via a button in the status bar. |
The content of the core dump file depends on the runtime system. Appropriate runtime systems create a dump whenever an exception error is detected. In this case, you can use the command
to display the dump for error analysis purposes.The
command is available for specific controllers when the application is in offline mode.When you execute the command, the project folder is searched for core dump files:
If... |
Then ... |
---|---|
If the creation of a new core dump is forced via the command , |
Then the dump file is loaded automatically from the controller into the project. |
If multiple core dump files are found, |
Then you are asked whether the last created should be opened in the project. Alternatively you can select another one. |
If you load the dump into the project, then an online view of the application opens. It shows the state of the application at the time when the core dump was created. In this view, you can then monitor values of variables. In addition, the callstack is available.
The
command is available for specific controllers when the application is in offline mode and a core dump is opened.When you execute the command, the log list of the controller is loaded, which has been saved together with the last created core dump.
The log list is displayed in the same view as in online mode in the tab
of the device configuration editor.