Bugtrapper Agent User'S Guide: Last Printed: 06/30/99 10:18 Am Last Saved: 06/29/99 7:16 PM
Bugtrapper Agent User'S Guide: Last Printed: 06/30/99 10:18 Am Last Saved: 06/29/99 7:16 PM
Bugtrapper Agent User'S Guide: Last Printed: 06/30/99 10:18 Am Last Saved: 06/29/99 7:16 PM
Important Notice
This guide is delivered subject to the following conditions and restrictions: This guide contains proprietary information belonging to MuTek Solutions Ltd. Such information is supplied solely for the purpose of assisting explicitly and properly authorized users of BugTrapper. No part of its contents may be used for any other purpose, disclosed to any person or firm or reproduced by any means, electronic and mechanical, without the express prior written permission of MuTek Solutions Ltd. The text and graphics are for the purpose of illustration and reference only. The specifications on which they are based are subject to change without notice. The software described in this document is furnished under a license. The software may be used or copied only in accordance with the terms of that agreement. Information in this document is subject to change without notice. Corporate and individual names and data used in examples herein are fictitious unless otherwise noted.
Copyright 1999 MuTek Solutions Ltd. BugTrapper is a trademark of MuTek Solutions Ltd. All other product names are trademarks or registered trademarks of their respective owners, and are hereby acknowledged.
Contacting MuTek MuTek Solutions Ltd. welcomes users inquiries and suggestions. You can contact us at:
MuTek Solutions Ltd. - BugTrapper Team
24 HaCharoshet Street P.O. Box 47 Or Yehuda 60200 Israel Tel: +972-3-6343223 Fax: +972-3-6343225 You can contact us through e-mail at: [email protected]. You can visit us at www.mutek.com.
iii
Table of Contents
Running the BugTrapper Agent ................................................................1
Installing the BugTrapper Agent.................................................................................... 2 Starting the BugTrapper Agent ...................................................................................... 2 BugTrapper Agent Trace Behavior................................................................................ 3 Specifying the TCI File .................................................................................................... 4 Specifying the Log File ................................................................................................... 4 Dumping Trace Information to a Log File ..................................................................... 4 Adding a Comment to a Log File ................................................................................... 6 Exiting the BugTrapper Agent........................................................................................ 6
This guide includes the following sections: Installing the BugTrapper Agent, page 2, describes how to install the
to the log file. Comments can be added at any time, even while an application is running and being traced.
Exiting the BugTrapper Agent, page 6, describes how to close the
BugTrapper Agent.
Double-click the file Bta_zip.exe. This self-extracting file installs the BugTrapper Agent on your computer. At the end of the installation, you can launch the BugTrapper Agent, as described below.
Select Start | Programs | MuTek BugTrapper 2.5 | MuTek BugTrapper Agent 2.5. If this is the first time you are starting the BugTrapper Agent, the BugTrapper Agent window is displayed, as shown below:
The BT Agent window is displayed in the following two situations: When the BT Agent window contains incorrect field values (for example, when the BugTrapper Agent is launched for the first time and all the fields are empty). When you manually display the window by double-clicking the BugTrapper Agent icon in the Windows task bar, or by right-clicking the icon and then selecting Open from the popup menu.
In all other situations, the BugTrapper Agent automatically begins tracing when launched, using the previously defined settings. The BugTrapper is displayed in the Windows task bar. The BT Agent window Agent icon is not displayed. This means that novice users need not be aware of the BugTrapper Agent at all, while more expert users have the ability to control the way that the BugTrapper Agent runs.
In the TCI file field, specify the full path of the TCI file that you want to use or click the Browse button to display a file selection window from which you can select it. A log file of the same name (with the file extension .log) is automatically displayed in the Log file field. The executable(s) to be run (as indicated by the TCI file) are listed in the center of the BT Agent window.
In the Log file field, specify the full path for the trace log file that you want to use. Either use the default log file or click the Browse button to display a file selection window from which you can select it.
Whenever you click the Dump button in the BT Agent window. For example, if you see a strange behavior in the traced application (not a crash), you can click the Dump button to dump the buffer containing the functions which describe this behavior to the log file. You can then add comments to the log file, as described on page 6. At specified time intervals, which you define by checking the Dump by Timer checkbox in the BT Agent window, and then moving the slider to specify the time interval. In most cases, you do not need to use this option.
Note: The smaller the time interval specified, the more system performance is affected. It is highly recommended to set a value higher than zero in order to not markedly affect performance.
1. Check the Dump by Timer checkbox 2. Move the slider to specify the time interval Click Dump to immediately dump the trace information from memory to the log file Click Clear to clear all trace information that has not yet been dumped from memory
When the dump is activated for the first time after the BugTrapper Agent is launched, the BugTrapper Agent overwrites the old log file (if one exists). Once the trace process has been started, the new information is appended to the existing log file.
Note: When the buffer is full and new data is still coming through, this new data replaces the oldest data in the buffer. Refer to the BugTrapper User's Guide for further details.
You can click the Clear button to remove all trace information that has not yet been dumped to the log file. The cleared information is not stored in the log file unless the Dump button is clicked first.
1. Click the Comment button in the BT Agent window. The following dialog box is displayed:
2. Type in a comment and click OK. The comment is displayed in the Trace Tree when the log file is opened in BugTrapper for analysis of trace information, as shown below:
Comment
Tip: You can click the Minimize button to minimize the BT Agent
window to an icon in the Windows icon tray. Double-click the icon to redisplay the BT Agent window.