Skip to main content

How can I save and restore TRACE32 PowerView windows so that they open with the next session? - Knowledgebase / TRACE32 PowerView - Lauterbach Support

How can I save and restore TRACE32 PowerView windows so that they open with the next session?

Authors list

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.cmm

Automatic 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 ...

ENDDO

The 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
QUIT

Automatic method using AutoSTOre

For a simpler solution, use the AutoSTOre command in your start-up script:

AutoSTOre , Win HISTory

This automatically saves the window configuration and command history.

Note

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.

Note

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 Break

The resulting PRACTICE script can then be executed with:

DO ~~/breakpoints.cmm

Similarly, breakpoints can be included in AutoSTOre, for example:

AutoSTOre , Win Break HISTory


Helpful Unhelpful

Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image