1 |
+ |
<! Style Sheet Header> |
2 |
+ |
<html> |
3 |
+ |
<head> |
4 |
+ |
<title>insure.html</title> |
5 |
+ |
<body> |
6 |
+ |
<! End Style Sheet Header -----------Insert Text Here ---------------------> |
7 |
+ |
<center> |
8 |
+ |
<H1>Using Insure++ in SCRAM</H1> |
9 |
+ |
<font color=red>S</font>oftware <font color=red>C</font>onfiguration, |
10 |
+ |
<font color=red>R</font>elease <font color=red>A</font>nd |
11 |
+ |
<font color=red>M</font>anagement |
12 |
+ |
</center> |
13 |
+ |
<hr> |
14 |
+ |
<a href=http://www.parasoft.com/products/insure/index.htm>Insure</a> is a code instrumenting tool. |
15 |
+ |
Scram allows you to use this tool throught the standard scram build command. |
16 |
+ |
Follow the simple steps below to get your instrumented code. Be careful this |
17 |
+ |
can take a LOT of memory. |
18 |
+ |
<ol> |
19 |
+ |
<li> Make sure the insure tool is setup in your environment.<p> |
20 |
+ |
(CERN based users should read the <a href=http://sdt.cern.ch/>SDT Tools</a> |
21 |
+ |
documentaion, <a href=http://sdt.cern.ch/Insure/How.html>How to Run Insure</a> |
22 |
+ |
|
23 |
+ |
<li> Build the libraries you want to examine with insure with |
24 |
+ |
<pre> |
25 |
+ |
scram build lib_insure |
26 |
+ |
</pre> |
27 |
+ |
from the appropriate directory. |
28 |
+ |
<li> Build the insure executable |
29 |
+ |
<pre> |
30 |
+ |
scram build bin_insure |
31 |
+ |
</pre> |
32 |
+ |
<li> Now run it as usual .... |
33 |
+ |
</ol> |
34 |
+ |
<h2>Common Problems</h2> |
35 |
+ |
<ol> |
36 |
+ |
<table> |
37 |
+ |
<tr> |
38 |
+ |
<td> |
39 |
+ |
<em>Please add '-Zsl' flag to your "insure" link line</em> |
40 |
+ |
</td> |
41 |
+ |
<td> |
42 |
+ |
You are linking against libraries that have not been compiled with debug and |
43 |
+ |
insure profiling. If you have at least one insure library this problem should |
44 |
+ |
be resolved. |
45 |
+ |
If you are determined to try it you can try <pre>scram build CXXUSERFLAGS=-Zsl</pre> |
46 |
+ |
</td> |
47 |
+ |
</tr> |
48 |
+ |
</table> |
49 |
+ |
|
50 |
+ |
</ol> |
51 |
+ |
<! Style Sheet Footer ---------------Do not change anything after this line--> |
52 |
+ |
<hr> |
53 |
+ |
<table border=1 width=100%> |
54 |
+ |
<td align=left> |
55 |
+ |
<a href=mailto:Christopher.Williams@cern.ch |
56 |
+ |
>Chris Williams</a> |
57 |
+ |
</td> |
58 |
+ |
<td align=center> |
59 |
+ |
Last Updated Tue Oct 5 15:08:00 1999 |
60 |
+ |
</td> |
61 |
+ |
<td align=right><a href=/cgi-cmc/pagestat>Show Stats</a> |
62 |
+ |
</td> |
63 |
+ |
</table> |
64 |
+ |
</body> </html> |
65 |
+ |
<! End Style Sheet Footer> |