Quick method using the GUI
To manually save the current window layout, select Window > Store Windows....
In the next TRACE32 session, select Window > Load Windows... to restore the saved layout.
You can also restore the layout from a PRACTICE script:
DO win_layout.cmmAutomatic method using SETUP.QUITDO
To automatically save the window configuration when TRACE32 PowerView exits and restore it when TRACE32 PowerView starts, you can use SETUP.QUITDO.
For example, the start-up script can contain:
DO ~~/windows.cmm
SETUP.QUITDO ~~/close.cmm
; ... rest of your start-up procedure ...
ENDDOThe close.cmm script is executed when TRACE32 exits:
DIALOG.YESNO "Save the window configuration for the next session?"
LOCAL &answer
ENTRY &answer
IF &answer==TRUE()
STOre ~~/windows.cmm Win
QUITAutomatic method using AutoSTOre
For a simpler solution, use the AutoSTOre command in your start-up script:
AutoSTOre , Win HISToryThis automatically saves the window configuration and command history.
Restore the window configuration only after the required start-up procedure has been completed. For example, load the ELF file before restoring windows that reference symbols. Otherwise, such windows may not be restored correctly.
The STOre and AutoSTOre commands can also be used to save and restore other TRACE32 PowerView settings, not only window configurations. For example, breakpoints can be saved with:
STOre ~~/breakpoints.cmm BreakThe resulting PRACTICE script can then be executed with:
DO ~~/breakpoints.cmmSimilarly, breakpoints can be included in AutoSTOre, for example:
AutoSTOre , Win Break HISTory
Add a comment