|
QSPY
|
The QSPY host application can also generate data for the MscGen utility (http://www.mcternan.me.uk/mscgen/) to generate sequence diagrams.
To generate an MscGen file, you need to invoke QSPY with the -g<msc-file> option:
qspy -gdpp.msc ...
where <msc-file> is the file name to gnerate.
QS_QF_ACTIVE_POST_FIFO, QS_QF_ACTIVE_POST_LIFO. Additional annotations of the sequence diagrams are also available if the following QS trace records are enabled: QS_QF_PUBLISH, QS_QF_TICK, and QS_QEP_TRAN.Subsequently, you need to invoke the MscGen utility to convert the generated file to graphical format, such as .PNG, .EPS, .SVG, or .ISMAP. For example, the following command generates a sequence diagram in .SVG from the dpp.msc file.
mscgen -Tsvg -idpp.msc
The following screen shot shows a sequence diagram generated from the Dining Philosophers Problem (DPP) application. The .MSC file has been converted to .SVG and viewed in a web browser (Google Chrome in this case).
Copyright © 2002-2011 Quantum Leaps, LLC. All Rights Reserved.
http://www.state-machine.com
1.7.6.1