aboutsummaryrefslogblamecommitdiffstats
path: root/lib/debugger/test/debugger_testdoc.fm5
blob: 56882b8bd51357404cedd8953eb21b28927831eb (plain) (tree)


























































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
<MakerFile 5.0Y>
	

Aa�Bo�3X���������ldX�X�,XX��V@SF�I�!"@,XFݺA2ek�mFݻX�������ff@�����
�
�
�����

�����d�	�Footnote
TableFootnote*��*��.\t.\t/ - � �:;,.�!?bo'
bvLOT
TableTitleLOFFigureTOCHeading1Heading2Heading3		EquationVariablesP�AaAO%C�O&D�O(E�O)F�O+G�O,H�O3I�O4J�O6K�O7L�O9M�O:N�y�yz��{��|��}��~�����Fi�<$paratext[ReportTitle]>X�<$paratext[Heading1]>�
<$curpagenum>�<$lastpagenum>�<$daynum> <$monthname> <$year>�<$daynum> <$monthname> <$year>�:<$daynum> <$monthname> <$year> <$hour>:<$minute00> <$ampm>�"<$daynum>/<$monthnum>/<$shortyear>� (Continued)�+ (Sheet <$tblsheetnum> of <$tblsheetcount>)�

<$marker1>
<$marker2>Pagepage<$pagenum>bvHeading & Page �<$paratext>� on page<$pagenum>Section Number & Page)Section<$paranumonly> on page<$pagenum>See Heading & Page%See �<$paratext>� on page<$pagenum>.Section All9Section<$paranumonly>, �<$paratext>,� on page<$pagenum>Figure Number & Page(Figure<$paranumonly> on page<$pagenum>	Table All37Table<$paranumonly>, �<$paratext>,� on page<$pagenum>Table Number & Pagez'Table<$paranumonly> on page<$pagenum>	
Figure All8Figure<$paranumonly>, �<$paratext>,� on page<$pagenum>
<$daynum> <$monthname> <$year>"<$daynum>/<$monthnum>/<$shortyear>5!"A$nt#$A<in%&'		TOCe(

IX))LOF$*LOTm+
Ar���. pO��L=uO��LLu PO��LLoraO��LL $pO��LLSeO��JL 
Test case 1.x� O��LLa.O��LLeAlO��LLnuO��JLp
Test case 2.<agO��LLre9��LaguO��JLm
Test case 3.em>9��Nal39��Oanl9��<t o9��jg9��Q  &9��Tlra9��Z $p9��[FiP�LLi$pO��LL,ra9��Mpa9��Rda9��St <9��Uda9��Vt<$9��W9��X9��YP�JL
Test case 5.$ntP �LLP$�LLP3�LLP4�JL
Test case 6.P5�LLP9�LLPA�LLPB�JL
Test case 7.
PG�LLP��LLP��JL
Test case 4.P��LLP��LLAr9��;pA0SF�I�9�eaO��SF�I�9�e�L�AlFݺ�\��]V�OzlceFݺ�\��]V�X�lׯ!FݺFݺ��]�ӝO{l�OFݺFݺ��]�ӝX�lׯ" Fݺ$ٲ��],XO|l$pFݺ$ٲ��],XX�lׯ  #9�k�mFݺ��]�ӝO}fttk�mFݺ��]�ӝX�lׯ!!$k�m$ٲ��],XO~f#Pk�m$ٲ��],XX�lׯ""%Lk�m�\��]V�Of#Tek�m�\��]V�X�lׯ$$&�Lk�m!"@��]�n�O�	f.,
k�m!"@��]�n�X�lׯ--'t ck�m!"@{תt8oO�
f1/k�m!"@{תt8oX�lׯ00(k�m!"@��]�n�O�f42k�m!"@��]�n�X�lׯ33)�k�m!"@��]�n�O�f75lk�m!"@��]�n�X�lׯ66*ׯk�mFݺ��]�ӝO�
f8lk�mFݺ��]�ӝX�lׯ99+ׯSF�I�Pgl��],Xk�mFݺ��]�ӝPh9�k�mFݺ��]�ӝ�O}))k�mFݺ)��F4 - �Module->View� opens a View window showing the module code.	��Y5 - �Options->Attach->Init,� so the module opens an attachment window on the first ]$��call.	2��+6 - Run DT:list() which appends two lists.	
@��n�T7 - An attachment window should now open with the first line in the function list/0 N��תImarked with bold style and with an arrow to the right of the row number.	�\��U8 - Press the �Continue� button and the result will occur in the erlang shell.	j��:9 - �Windows->Monitor� to raise the Monitor window.	x��ݺ,10 - �File->Exit� close the debugger.	ݺ�@��
�`��
9� ��F�	Purpose:	�@��lITo create a setting file to be used in the test cases with break points.
� ���]1 - Do 1 to 3 in Test case 3.	���"2 - �Options->Attach->On Break	��Vi3 - �File->Save Settings	wi��.	84 - Make sure that Dir is $HOME/.erlang_tools/debugger.	o ��n H5 - Change �NoName.state� to �test1.state� and then press �Save�.	�*@��is
 F`��li
.` ���	Purpose:	nn@�� sTo set a normal break point.
i� �� l71 - �File->Load Settings� in the Monitor window.	wit���ri2 - Load �test1.state�.	���8 M3 - �Module->View->DT� opens up a View window showing the module code.	l����Z4 - Double click on row 100, it should be the second row in the list/0 function. The row  ���cl@should now be colored red with �-@-� instead of the row number.	
9���F�5 - Run DT:list().	���e R6 - An attachment window shold now open with the row 100 marked red in bold style ��� Twith an arrow after �-@-�.	��@��>AW7 - Press the �Continue� button to finish it off. Then close the Monitor window.
84 `��ir
 .`��s/
uH ��	Purpose:	 V@��ta!To set a functional break point.
 p ��71 - �File->Load Settings� in the Monitor window.	 �~��2 - Load �test1.state�.	 n���
i.3 - Scroll down to list/0 in the View window.	���or74 - �Breaks->Function Break� in the View window.		���8 T5 - A function break window is shown with DT filled in in the Module field. Set Fun���Do'cion to list and Arity to 0. Press Ok.	ecok�mFݺ��]�ӝPfk�mFݺ��]�ӝX�lׯ
+ thSF�I�PHguDT��e k�mFݺ��]�ӝPIhi tk�mFݺ��]�ӝ�infRi��:6 - The first row should now be marked as an break point.	��he7 - Run DT:list().	$��
 R8 - An attachment window shold now open with the row 99 marked red in bold style 	2��k with an arrow after �-@-�.	71 @@��etO9 - Press the Continue button to finish it off. Then close the Monitor window.
	 nZ`��
i
 v`��is
 � ��.		Purpose:	���Br"To set a conditional break point.	���TIn the Conditional Break window the C-Module is in this case the same as the Module ld���Mentry. The reason to this is to not have more test modules to keep track on.	���RWhen running the test the conditional break will stop when the c_break receives a �@��Ebinding with �N� equal to 3. Read more about it in the user�s guide.
h� �� t	m���in71 - �File->Load Settings� in the Monitor window.	��6 2 - Load �test1.state�.	 b��ak3 - �Module->View->DT	e(��).F4 - Click on row 116 and then choose �Breaks->Conditional Break...	6��edO5 - Module is DT and Line is 116. As C-Module write DT and as C-function write @�D��e c_break. Press ok.	nisR��se6 - Run debugger_test:fac(10).	`��F7 - An Attachment window opens and in the bindings area �N� equals 3.	n�� bG8 - Press Continue button and the result is shown in the erlang shell.	odu|�� t/9 - �File->Close� in the Monitor window.	ry.�@��s tk�mFݺ��]�ӝPKfo	k�mFݺ��]�ӝX�lׯ+reaFݺ�\��]V�:lFݺ�\��]V���wimore aboset�UT��l���6C#DE29 April 1998FGRunning H/F 1HFݺFݺ��]�ӝ:l�FݺFݺ��]�ӝst�ak3 Vid��). H��N�mk>CH��..	H���Fݺ$ٲ��],X: lde Fݺ$ٲ��],X��ti��e ssUTUT��d��se k�mFݺ��]�ӝ:!f�k�mFݺ��]�ӝt bindingslsd��8 rk�m$ٲ��],X:"f  tk�m$ٲ��],X���File->heUTUT��`����k�m��]N�#nk�m��]��]ӝk�mh�k�m�\��]V�:$f]V�k�m�\��]V�����wiUTUT��h��GITest Document for the DEBUGGERJK29 April 1998LM3NninSF�I�:%e&*�ӝH$@�3R�`@:&f'%H$@�3R�`@H-H-�FootnoteFݺ3�j�ׯ:'f&)%((Footnote�]���O(n'��]������Jcq�3QǦ`@: )o'*%�seJcq�3QǦ`@Jcz��Jcz���
TableFootnote�Fݺ��j��V:!*f)%++
TableFootnote���D~O
+n*���D~$ٲ�]���D����DSF�I�:#,ee	.��k�m!"@��]�n�:$-f,k�m!"@��]�n�%��ӝ��]V�	d���]"<$paranum><$paratext><$pagenum>
����UUd��"<$paranum><$paratext><$pagenum>
"����UUd��r "<$paranum><$paratext><$pagenum>l
a}�y�`@:%.f	,l
a}�y�`@l �l ��Table of Contents Specification:SF�I�:&/e
1�ݺk�m!"@{תt8o:'0f/k�m!"@{תt8oHFoO
d��	Level2IX
d��Ǧ	Level1IX
 d��� 1, 2�3
�3%d��c$<$symbols><$numerics><$alphabetics>
�V:d��LSymbols[\ ];Numerics[0];A;B;C;D;E;F;G;H;I;J;K;L;M;N;O;P;Q;R;S;T;U;V;W;X;Y;Z
O
Ed��<$pagenum>~l�m^-`@:(1f
/�l�m^-`@l��l���Index Specification�SF�I�:)2e4�k�m!"@��]�n�:*3f2k�m!"@��]�n�<$agenum>
�d��t>"<$paranum><$paratext><$pagenum>l
a}��,`@:+4f2�`@l
a}��,`@l �l ��List of Figures SpecificationSF�I�:,5eF�7�k�m!"@��]�n�:-6f5@תk�m!"@��]�n�t8oHd��"<$paranum><$paratext><$pagenum>l
a}�|�`@:.7f5 l
a}�|�`@l �l ��List of Tables SpecificationriSF�I�:/8eyol

�E;G;k�mFݺ��]�ӝ:09f8k�mFݺ��]�ӝ�m>$$:(1f
�$`����Test Document for the DEBUGGER
�8`��?This document describes different test cases for the DEBUGGER.
!"@R`��fRelease: R4
l ��n�
Test module:	z��en4path = /clearcase/otp/tools/devtools/debugger/test/	ra�@��$pJmodule = debugger_test.erl, called DT in the text below                 
� ��LiNotes:	ure���R- Presume that an erlang shell already has been started, if nothing else is said.	���fU- Remove the $HOME/.erlang_tools/debbuger directory. Copy your private setting files ���to another directory first.	at���;- ERL_ROOT is the directory where Erlang/OTP is installed.	l�@��Li
o`��ti
i`��
/8 ��y	Purpose:	F��E;VTo see that the debugger is installed in the right way. The debugger should be in the T��fScode path and not the interpreter. The interpereter should be in the ERL_ROOT/misc b@�� ddirectory.
ibe| ��as1 - c(DT).	BUG���2 - DT:installation_ok().	���Te!3 - Two OK messages should show.	a�@��p/
l�`��r/ 
� ���	Purpose:	e�@��rl To start and stop the debugger.
   ��.1 - Start the debugger with debugger:start().	��la`2 - Choose �File->Exit� in the Monitor window and then �No� in the Confirmation winME ��budow.	e.��ri'3 - The debugger should now be closed.	to<@�� f
tX`���
r ��e 	Purpose:	h�@��inETo interpret a module, view it and start it in an attachment window.
� ��1 - debugger:start ()	���E;82 - �Module->Interpret...� in the Monitor window.	Th���beN3 - Find DT and interpret it in the Interpret window then press �Done�.	���
SF�I��LeftSF�I��Right SF�I���%	ReferenceSF�I����,TOC�SF�I����/shIXSF�I����2
lLOFSF�I���5�LOTuosSF�I���8To aSF�I����fSF�I���bu-m>-gg�f�-�Body. ,X�f�.B�os,X BulletedBulletSymbolB:�\tv. ,X,X�f�/�BulletedCont. �f�0
�CellBody. �f�1
�	CellHeading. 
�f�2E�
�EquationE:(EQ <n+>). 5۶5۶5۶�f�3��Extract. ,X,X�f�4F
�	Figure
Table RuleF:FIGURE <n+>. . V��f�5
�llV�t Footnote. �f�6HQ�	Heading1H:<n+>.<n=0>  Body. ��f�7HQ�	Heading2H:<n>.<n+>  Body. �f�8HQ�	Heading3H:<n>.<n>.<n+>  Body. �f�9T�	HeadingRunInBody. ,X�f�:S�,X fNumbered	S:<n+>.\t. �f�;�P�ReportTitle�ReportAuthor. �@<���n�f ��] 
zzHeaderRight. �f�=�P�	ReportAuthorHeading1. ,X�f�?SE��f,X� 	Numbered1
S:<n=1>.\tNumbered. ,X,X�f�@�NumberedCont. �f�AP�	ReportAuthorHeading1. �f�BP�ReportTitleReportAuthor. �V�f�C
� f
TableFootnote. ,X,X�f�DT
�	
TableTitleT:TABLE <n+>. . �f�E�
�	CellHeading. �f�F�
�CellBody. �f�G�
�	CellFooting. ,X,X�f�H�T
�	
TableTitleT:TABLE <n+>. . ,X�f�J�U�eF,X. 	Test_case Test case\t <n+>.fBody. �f�L��Body. �@M���n�  �ݵ zzFooterLeft. �@N���n� ��ݵ 
zzHeaderRight. �f�O�P�ReportTitleReportAuthor. ,X�f�PU�,X. 	Test_caseTest case\t <n+>.Body. $ٲQ��$ٲ �ݵ.Heading1TOC. Fݺ$ٲR�
�Fݺ �ݵ.Heading2TOC. n�k�mFݺ�@S�
�k�m �ݵ.Heading3TOC. n�X���@T�	�Level2IX. $ٲ�@U�	�Level1IX. �@V�	�SeparatorsIX. �@W�	�SortOrderIX. 
�@X�	�	
GroupTitlesIX. ݺ�@Y�	�IndexIX�. FݺZ��Fݺ �ݵ.	FigureLOF. Fݺ[��veFݺ �ݵ .
TableTitleLOT. �@j���n� ��] 
zzFooterRight. ����ڝ���
�ڝ����ڝ���)����	���`f��	BulletSymbol
���ڝ���Callout
)����	�ڝ���
 ���	Emphasis
���	EquationVariables�[��	�ڝ���	�ڝ���	)����	euief�aghl��@m�@n�@o�Yi^�Y�ThinZ�Medium�[�Double\��Thick@]�	Very ThinM]M�����H���5۶EFG5۶EFG5۶EFGFormat B��YH���5۶EFG5۶EFG5۶EFGFormat A������!1"!�Comment���9��zCD9��{EF9��|GH��9��}IJ9��~KL9��MN���d ���BlackT!�WhiteddA�Redfdd��Greendd	�Blued�Cyan�d��Magentad	�YellowTimes-Romane
Times-BoldCourier-BoldHelvetica-BoldCourierTimes	Helvetica
Regular�Regular	BoldRegularItalic�*1H�l;�L��H��υ҅}�<S�^_��e��7�����CD�2�SX���������Ւ�X���k�'v��?�;��+o���0�Ϩ�Wj���3mO~�)��Z