Checking command line status of lauterbach window

We are using a Perl script to launch a trace32 window on a remote machine and perform some operation, obviously Perl cannot print any logs from the trace32 window as a separate GUI, very rarely the script fails because trace32 failed, but there is no way to check in the Perl script log for a trace32 error, is there a command line option to get the status or error message printed in the trace32 window? thank.

+3


source to share


3 answers


It might be too late now, but for others looking for the same answer, I did to save the B :: area window log to a file and re-add that file to my heart content.

Here's an example command to do this:



Prt.file C:\some\path\log.txt
winprint.area A000
prt.file

      

This can be done in any area of ​​the window, the default window name B :: area is A000, which I know of.

+1


source


Area.View is a command for viewing status messages and various operations performed while debugging on trace32. When the command is run, trace32 displays a window named "B :: area.view". The contents of the window can be saved to a text file and then parsed to check the error using perl. Hope it will be.



0


source


The default AREA window with ID "A000" is used for error or status messages. TRACE32 has commands to write its content to a file:

AREA.OPEN  A000 protocol.lst  ; area will be saved in 'protocol.lst'
DO test
...
AREA.CLOSE A000               ; all messages will be saved

      

AREA.OPEN <id_area> <file>

opens the file for logging and directs all messages to be printed in the selected AREA window.

AREA.CLOSE <id_area>

stops logging.

For a detailed description of these commands, see the ide_ref.pdf file .

0


source







All Articles