home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional Developers Kit 1992 November / Disc01 / Disc01.mdf / cppbeta / pmd / dde4help.hl_ / DDE4HELP.HLP (.txt)
Encoding:
OS/2 Help File  |  1992-09-26  |  102.4 KB  |  3,975 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Notices ΓòÉΓòÉΓòÉ
  3.  
  4. References in this publication to IBM products, programs, or services do not 
  5. imply that IBM intends to make these available in all countries in which IBM 
  6. operates. Any reference to an IBM licensed program in this publication is not 
  7. intended to state or imply that only IBM's licensed program may be used. Any 
  8. functionally equivalent product, program or service that does not infringe any 
  9. of IBM's intellectual property rights may be used instead of the IBM product, 
  10. program, or service. Evaluation and verification of operation in conjunction 
  11. with other products, except those expressly designated by IBM, is the user's 
  12. responsibility. 
  13.  
  14. IBM may have patents or pending patent applications covering subject matter in 
  15. this document. The furnishing of this document does not give you any license to 
  16. these patents. You can send license inquiries, in writing, to the IBM Director 
  17. of Commercial Relations, IBM Corporation, Purchase, NY 10577. 
  18.  
  19. This publication could contain technical inaccuracies or typographical errors. 
  20.  
  21. Trademarks and Service Marks 
  22.  
  23. The following terms, denoted by an asterisk (*) in this publication, are 
  24. trademarks of the IBM Corporation in the United States and/or other countries: 
  25.  
  26. o C Set/2 
  27.  
  28. o IBM 
  29.  
  30. o OS/2 
  31.  
  32. o Presentation Manager 
  33.  
  34.  
  35. ΓòÉΓòÉΓòÉ 2. Glossary ΓòÉΓòÉΓòÉ
  36.  
  37. Double-click on any term for a definition: 
  38.  
  39. o Asynchronous 
  40. o Automatic variable 
  41. o Breakpoint 
  42. o Event breakpoint 
  43. o Location breakpoint 
  44. o Local variable 
  45. o Program part 
  46. o Recursion level 
  47. o Shortcut keys 
  48. o Stopping thread 
  49. o Storage 
  50. o Synchronous 
  51. o Tag word 
  52. o Thread. 
  53.  
  54.  
  55. ΓòÉΓòÉΓòÉ 2.1. Shortcut keys: Definition ΓòÉΓòÉΓòÉ
  56.  
  57. Shortcut keys are the keyboard keys that you use to to invoke the pull-down 
  58. choices. 
  59.  
  60.  
  61. ΓòÉΓòÉΓòÉ 2.2. Asynchronous: Definition ΓòÉΓòÉΓòÉ
  62.  
  63. When the C Set/2* debugger is operating in asynchronous mode, the messages that 
  64. are passed between PM applications, including the C Set/2* debugger, are not 
  65. answered in the order that they occur. All PM messages are passed to the C 
  66. Set/2* debugger, which answers the messages with a simple generic response When 
  67. you are running the C Set/2* debugger in asynchronous mode, other PM 
  68. applications running in the system do not halt when the debugger stops. 
  69.  
  70.  
  71. ΓòÉΓòÉΓòÉ 2.3. Automatic variable: Definition ΓòÉΓòÉΓòÉ
  72.  
  73. A variable that is allocated during the invocation of the function containing 
  74. the variable is called an automatic variable. Every time a function is invoked, 
  75. a new copy of the variable is placed in storage. 
  76.  
  77.  
  78. ΓòÉΓòÉΓòÉ 2.4. Local variable: Definition ΓòÉΓòÉΓòÉ
  79.  
  80. A local variable is a variable that is specific to a function. The debugger 
  81. displays the following types of local variables: 
  82.  
  83. o Static 
  84. o Automatic 
  85. o Parameters. 
  86.  
  87.  
  88. ΓòÉΓòÉΓòÉ 2.5. Breakpoint: Definition ΓòÉΓòÉΓòÉ
  89.  
  90. A breakpoint is a defined location or condition in a program that, when it is 
  91. met, stops the execution of the program. You can set and clear breakpoints. 
  92.  
  93.  
  94. ΓòÉΓòÉΓòÉ 2.6. Event breakpoint: Definition ΓòÉΓòÉΓòÉ
  95.  
  96. An event breakpoint stops the execution of a program when a specified type of 
  97. event occurs during the execution of the program. An event occurs when: 
  98.  
  99. o The named dynamic load library is loaded 
  100. o A given range of memory changes. 
  101.  
  102.  
  103. ΓòÉΓòÉΓòÉ 2.7. Stopping thread: Definition ΓòÉΓòÉΓòÉ
  104.  
  105. A stopping thread is the thread that caused the program being debugged to stop. 
  106.  
  107.  
  108. ΓòÉΓòÉΓòÉ 2.8. Location breakpoint: Definition ΓòÉΓòÉΓòÉ
  109.  
  110. A location breakpoint stops the execution of a program at a specific statement 
  111. in the program. These statements can be: 
  112.  
  113. o A specific line 
  114. o A specific instruction address 
  115. o The entry point to a specific routine. 
  116.  
  117.  
  118. ΓòÉΓòÉΓòÉ 2.9. Program part: Definition ΓòÉΓòÉΓòÉ
  119.  
  120. A program part is a function or a collection of functions that is contained in 
  121. a single object (.obj) file and the corresponding source file. 
  122.  
  123.  
  124. ΓòÉΓòÉΓòÉ 2.10. Recursion level: Definition ΓòÉΓòÉΓòÉ
  125.  
  126. The number that represents the level of recursion of a function, where the 
  127. number 0 represents the first invocation. A recursive function is a function 
  128. that can repeat itself indefinitely or until a specified condition is met. 
  129.  
  130.  
  131. ΓòÉΓòÉΓòÉ 2.11. Storage: Definition ΓòÉΓòÉΓòÉ
  132.  
  133. The storage space is the computer memory space in use during the execution of a 
  134. program. 
  135.  
  136.  
  137. ΓòÉΓòÉΓòÉ 2.12. Synchronous: Definition ΓòÉΓòÉΓòÉ
  138.  
  139. When the C Set/2* debugger is operating in synchronous mode, the messages that 
  140. are passed between PM applications are answered in the order that they occur. 
  141. Messages are not lost. The messages that are passed within the C Set/2* 
  142. debugger take priority over any other messages that are passed in the system. 
  143. They are answered before any other messages. 
  144.  
  145.  
  146. ΓòÉΓòÉΓòÉ 2.13. Tag word: Definition ΓòÉΓòÉΓòÉ
  147.  
  148. The contents of a tag word tell a programmer which registers are in use at a 
  149. specific time. 
  150.  
  151.  
  152. ΓòÉΓòÉΓòÉ 2.14. Thread: Definition ΓòÉΓòÉΓòÉ
  153.  
  154. A thread is the basic OS/2 unit of execution.  A thread gives a program its 
  155. context, including registers, stack, and CPU mode. Multiple threads can be 
  156. running at the same time, and any particular thread can start another thread. 
  157.  
  158.  
  159. ΓòÉΓòÉΓòÉ 3. Debug Session Controls ΓòÉΓòÉΓòÉ
  160.  
  161. The Debug Session Controls window is the control window of the debugger and is 
  162. displayed during the entire debugging session. This window contains the threads 
  163. and components for the program you are debugging. 
  164.  
  165. The Threads list box contains the threads and the state of the threads that 
  166. have been started by your program.  To view the state of a thread, click on the 
  167. plus icon in front of the thread. You  enable or disable the thread highlighted 
  168. in the Threads list by toggling the Enabled choice from the Thread pull-down. 
  169. When a checkmark is displayed, threads are enabled and and the debugger allows 
  170. the highlighted thread to execute.  When the checkmark is not displayed. 
  171. threads are disabled. 
  172.  
  173. The Component list box contains the EXE and DLL files that are in the program 
  174. you are debugging. These files are called executable files. If you click on the 
  175. plus icon in front of the executable file it will expand to show the objects 
  176. that make up the executable file. If you click on the plus icon in front of the 
  177. object name, the entries will be displayed that make up the object.  This 
  178. allows you to view all the components that exist in your program. You can view 
  179. any component by double-clicking on the name of the component displayed in the 
  180. Component list box, or by highlighting the component and selecting a view from 
  181. the Open as cascading pull-down in the File pull-down.  The view that is 
  182. displayed is determined by the display order and is specific to the thread 
  183. highlighted in the Threads list box. 
  184.  
  185. You specify which components are displayed in the Component list by selecting 
  186. Options  Window Settings  Display all components.  If this option is not 
  187. enabled, only components containing debug information are listed.  Otherwise, 
  188. all components are listed. 
  189.  
  190. You can also access any debugger window that is already open and hidden or 
  191. iconized by selecting the pull-down choice that displays that window. 
  192.  
  193. Menu Bar Summary 
  194.  
  195. File 
  196.   Start and end a C Set/2* debugger session, and control the way in which 
  197.   commands and program units are accessed by the C Set/2* debugger. 
  198.  
  199. Breakpoints 
  200.   Set and manipulate breakpoints in your programs. 
  201.  
  202. Thread 
  203.   Control whether or not a thread is executed when you run the program, and 
  204.   display information about the current program and environment. 
  205.  
  206. Options 
  207.   Access various utility dialog boxes where you can set debugger options. These 
  208.   debugger options control how the components of your program are displayed and 
  209.   how your program executes. 
  210.  
  211. Help 
  212.   You have access to several kinds of help information that complement the 
  213.   online help information that you can get for the debugger.  Press F1 or click 
  214.   on a Help pushbutton. 
  215.  
  216.  
  217. ΓòÉΓòÉΓòÉ 3.1. File ΓòÉΓòÉΓòÉ
  218.  
  219. Select choices from the File pull-down to start and end a C Set/2* debugger 
  220. session and to control the way in which commands and program units are accessed 
  221. by the C Set/2* debugger. 
  222.  
  223. Pull-Down Summary 
  224.  
  225. Open as 
  226.   Select a particular view for the selected component. 
  227.  
  228. Inheritance 
  229.   Display the class hierarchy of a C++ program. 
  230.  
  231. ftype=hd refid='PM_03_FRMEFILE_START'.Startup 
  232.   Start the program you want to debug after saving and terminating the 
  233.   debugging session. 
  234.  
  235. Restart 
  236.   Save and terminate the current program you are debugging, and restore the 
  237.   saved environment at the beginning of the program. 
  238.  
  239. Close debug 
  240.   End the debugging session. 
  241.  
  242.  
  243. ΓòÉΓòÉΓòÉ 3.1.1. Where ΓòÉΓòÉΓòÉ
  244.  
  245. Select the Where pull-down choice to quickly locate the next line to be 
  246. executed in the thread. When you select Where, the line is placed at the top of 
  247. the view with the highest display order, and this view becomes the active view. 
  248. (You select the display order in the Display Order dialog box.) 
  249.  
  250.  
  251. ΓòÉΓòÉΓòÉ 3.1.2. Startup ΓòÉΓòÉΓòÉ
  252.  
  253. Select the Startup pull-down choice to start a program for debugging. You can 
  254. select Startup to start a program for debugging. You can select Startup to 
  255. finish debugging the program you are currently debugging and to start another 
  256. program for debugging. 
  257.  
  258. When you select Startup, the Startup Information dialog box appears. 
  259.  
  260.  
  261. ΓòÉΓòÉΓòÉ 3.1.3. Restart ΓòÉΓòÉΓòÉ
  262.  
  263. Select the Restart pull-down choice to save and terminate the current program, 
  264. and prepare the program for execution from the beginning with the following 
  265. items restored: 
  266.  
  267. o Breakpoints 
  268. o Monitors (registers, stack, storage, data pop-up windows) 
  269. o Monitor list information (program, private, and local variables). 
  270.  
  271. Note:  Only information relating to the primary thread is restored (for 
  272. executable files and pre-loaded DLLs). 
  273.  
  274.  
  275. ΓòÉΓòÉΓòÉ 3.1.4. Part - Filename Specifications ΓòÉΓòÉΓòÉ
  276.  
  277. The Part - Filename Specifications dialog box appears when you try to open a 
  278. component for which you have debug information, but the debugger cannot locate 
  279. the source code. 
  280.  
  281. To use the Part - Filename Specifications dialog box: 
  282.  
  283.  1. If the source code is located in another directory on the system, type in 
  284.     the fully qualified path name and click on OK. 
  285.  
  286.  2. If you do not have the source code for this component, click on Cancel. The 
  287.     Disassembly view is opened for this component. 
  288.  
  289.  
  290. ΓòÉΓòÉΓòÉ 3.2. Startup Information ΓòÉΓòÉΓòÉ
  291.  
  292. Use the Startup Information dialog box to specify the program you want to start 
  293. for this debugging session. 
  294.  
  295. To use the Startup Information dialog box: 
  296.  
  297.  1. If you are not going to select the Use restart information check box, type 
  298.     the name of the program you want to start in the Program entry field, or 
  299.     open the Program and select the program name. (If you type in the name, it 
  300.     must be the full path name of the file if you have not set the PMDPATH 
  301.     search order, or if the program is not in your current directory.) 
  302.  
  303.     If you are going to select Use restart information: 
  304.  
  305.     a. Select the arrow to open the Program list. 
  306.  
  307.     b. Select the fully qualified program name that defines the program you 
  308.        want to restart. The programs listed are those for which restart 
  309.        information has been saved. 
  310.  
  311.        Note:  Restart information is saved with a time stamp. A time stamp 
  312.        check is done before the program is started with restart information. 
  313.  
  314.  2. Type any parameters you want to pass to your program in the Parameters 
  315.     entry field. Separate multiple parameters with a space. 
  316.  
  317.  3. Select the Use restart information check box to restart the previous 
  318.     debugging session for the program. 
  319.  
  320.  4. Select Debug application initialization to debug any initialization 
  321.     routines that you have written. 
  322.  
  323.  5. Select the Save session settings check box to save your selections for the 
  324.     next debugging session. 
  325.  
  326.  6. Click on one of the  pushbuttons to finish your dialog. 
  327.  
  328. Program 
  329.  
  330. Type the name of the program you want to start for your debugging session. You 
  331. do not need to include the file name extension when you type the program name. 
  332.  
  333. Parameters 
  334.  
  335. If the program accepts initialization parameters, type the parameters that you 
  336. want to pass to the program you are starting. 
  337.  
  338. Use restart information 
  339.  
  340. Select the Use restart information check box to start the previous debugging 
  341. session with breakpoints, monitor lists, data pop-up windows, and displays for 
  342. any of the Thread  Show pull-down choices. 
  343.  
  344. Debug application initialization 
  345.  
  346. Select Debug application initialization to halt execution of the application 
  347. before any initialization routines that you have written are executed. If you 
  348. select Debug application initialization, the initial program view is the 
  349. run-time library initialization routine. 
  350.  
  351. Save session settings 
  352.  
  353. Select the Save session settings check box to save your selections for the next 
  354. debugging session. 
  355.  
  356.  
  357. ΓòÉΓòÉΓòÉ 3.2.1. Pushbuttons ΓòÉΓòÉΓòÉ
  358.  
  359. OK 
  360.   Click on OK to accept the information you have entered and close this dialog 
  361.   box. 
  362.  
  363. Cancel 
  364.   Click on Cancel to close this dialog box. 
  365.  
  366. Help 
  367.   Click on Help to display help information that tells you how to use this 
  368.   dialog box. 
  369.  
  370.  
  371. ΓòÉΓòÉΓòÉ 3.2.2. Time Stamp Check ΓòÉΓòÉΓòÉ
  372.  
  373. Information that is saved for restart includes the time stamps on the 
  374. executable files that make up the application. When you select to start a 
  375. program with restart information, the debugger compares the time stamps in the 
  376. executable program file (and the pre-loaded dynamic link libraries) with the 
  377. time stamp on the restart information. If these time stamps do not match, a 
  378. message box is displayed. 
  379.  
  380. Click on Ignore from the message box to start the program without the restart 
  381. information, click on OK to load the program with the restart information that 
  382. is available, or click on Cancel to cancel the startup process and return to 
  383. the Debug Session Controls window. 
  384.  
  385. If the source has been changed but not compiled, breakpoints might be invalid 
  386. or appear on the wrong line. 
  387.  
  388.  
  389. ΓòÉΓòÉΓòÉ 3.3. Breakpoints ΓòÉΓòÉΓòÉ
  390.  
  391. Set breakpoints to stop the execution of your program at any point. You can set 
  392. as many breakpoints as you want. 
  393.  
  394. Breakpoints can be set in the Source, Disassembly, or Mixed view. When you set 
  395. a breakpoint in one view of your program, it is reflected in one of the 
  396. appropriate views. 
  397.  
  398. Two types of breakpoints are provided by the C/Set Debugger: location and 
  399. event.  You customize breakpoints using the breakpoints dialog boxes. 
  400.  
  401. Select the Set pull-down choice to set location breakpoints and event 
  402. breakpoints. Set simple line breakpoints using the mouse. 
  403.  
  404. Double-click on one of the following for the procedure you use to set or clear 
  405. simple line breakpoints: 
  406.  
  407. o Setting simple line breakpoints 
  408. o Clearing simple line breakpoints. 
  409.  
  410. Pull-Down Summary 
  411.  
  412. Set 
  413.   Set any kind of location or event breakpoints. 
  414.  
  415. List 
  416.   List and manipulate the breakpoints that are already set. 
  417.  
  418.  
  419. ΓòÉΓòÉΓòÉ 3.3.1. Setting Simple Line Breakpoints ΓòÉΓòÉΓòÉ
  420.  
  421. To set a simple line breakpoint, double-click in the prefix area of an 
  422. executable statement in the: 
  423.  
  424. o Source view, to set the breakpoint at a specific statement 
  425.  
  426. o Disassembly view, to set the breakpoint at a specific machine instruction 
  427.  
  428. o Mixed view, to set the breakpoint at a specific machine instruction. (The 
  429.   lines of source code displayed in the Mixed view are treated as comment lines 
  430.   only.) 
  431.  
  432.   The prefix area turns red indicating that the breakpoint has been set. 
  433.  
  434.  
  435. ΓòÉΓòÉΓòÉ 3.3.2. Clearing Simple Line Breakpoints ΓòÉΓòÉΓòÉ
  436.  
  437. To remove a simple line breakpoint, double-click in a red prefix area of the 
  438. Source, Disassembly, or Mixed view. The red disappears indicating that the 
  439. breakpoint has been cleared. If the prefix area turns grey instead, 
  440. double-click again to make sure the breakpoint is cleared. 
  441.  
  442.  
  443. ΓòÉΓòÉΓòÉ 3.3.3. Set ΓòÉΓòÉΓòÉ
  444.  
  445. Select the Set pull-down choice to set any location or event breakpoints. When 
  446. you select Set, the Set/Modify Breakpoint dialog box appears.  If you highlight 
  447. a line number (in the Source or Mixed view) or an address (in the Disassembly 
  448. or Mixed view) before selecting Set, the line number or address is 
  449. automatically placed in the Set/Modify dialog box. 
  450.  
  451.  
  452. ΓòÉΓòÉΓòÉ 3.3.4. List ΓòÉΓòÉΓòÉ
  453.  
  454. Select the List pull-down choice to display a scrolling list of the breakpoints 
  455. that have been set in your program. Each breakpoint entry displayed in the List 
  456. dialog box contains the following information. 
  457.  
  458. o The enablement state 
  459. o The type of breakpoint 
  460. o The position of the breakpoint (program name, line number, or address) 
  461. o The conditions under which the breakpoint is activated. 
  462.  
  463.  
  464. ΓòÉΓòÉΓòÉ 3.3.5. Set/Modify Breakpoint ΓòÉΓòÉΓòÉ
  465.  
  466. Use the Set/Modify Breakpoint dialog box to set any kind of breakpoint or to 
  467. modify breakpoints that already exist. You can set location or event 
  468. breakpoints in all of the active threads or only specific active threads. When 
  469. a breakpoint is set at a particular location in a program view, it is reflected 
  470. in all views of the same program. Breakpoints can be thread-specific or can be 
  471. applied to all threads. 
  472.  
  473. Note:  When you modify an existing breakpoint, the breakpoint is automatically 
  474. enabled. 
  475.  
  476. Breakpoints are set when you click on either the Set or the OK pushbutton in 
  477. the Set/Modify Breakpoint dialog box. (If you click on Set to set the 
  478. breakpoint, you must click on Cancel to close the dialog box.) The execution of 
  479. your program stops only when the conditions that satisfy the breakpoint are 
  480. met. 
  481.  
  482. To apply the breakpoint, the debugger checks the Every, From, and To conditions 
  483. first. When these conditions are met, the other conditions you selected in the 
  484. Set/Modify Breakpoint dialog box are checked. 
  485.  
  486. After you have finished updating the fields you require, click on the 
  487. appropriate pushbuttons to complete your dialog. 
  488.  
  489. Note:  If you set a breakpoint using the Set pushbutton, you must click on 
  490. Cancel to close the dialog box. 
  491.  
  492. For a description of types of data you are required to enter in this dialog 
  493. box, double-click on one of the following topics: 
  494.  
  495. o Type 
  496. o Parameters 
  497. o Line number 
  498. o Part 
  499. o View 
  500. o Condition 
  501. o Thread id 
  502. o Every 
  503. o From 
  504. o To 
  505.  
  506.  
  507. ΓòÉΓòÉΓòÉ 3.3.6. Type ΓòÉΓòÉΓòÉ
  508.  
  509. You can set location or event breakpoints. To select the breakpoint: 
  510.  
  511.  1. Select the arrow with your mouse to open the Type list and display the 
  512.     types of breakpoints available. 
  513.  
  514.  2. Highlight the type of breakpoint you want. 
  515.  
  516. The default type is Line. 
  517.  
  518.  
  519. ΓòÉΓòÉΓòÉ 3.3.7. Parameters ΓòÉΓòÉΓòÉ
  520.  
  521. If you are setting a location breakpoint, other than a line breakpoint, type 
  522. the parameter that corresponds to the type of location breakpoint you are 
  523. setting: 
  524.  
  525. Address   Type the hexadecimal address. 
  526.  
  527.           The following diagram shows the syntax of the parameters you can type 
  528.           for an address breakpoint: 
  529.  
  530. ΓöÇΓöÇΓöÇΓöÇaddress_specΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  531.  
  532. where address_spec is: 
  533.  
  534. ΓöÇΓöÇΓö¼ΓöÇhhhh:hhhhΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  535.    Γöé           Γöé
  536.    ΓööΓöÇhhhhhhhhΓöÇΓöÇΓöÿ
  537.  
  538.           Address Example: 
  539.  
  540.           You would type the following in the Parameters entry field to set an 
  541.           address breakpoint when the address 000A1FCC is encountered: 
  542.  
  543.                     000A1FCC
  544.  
  545. Entry     Type the name of the routine or component. 
  546.  
  547.           If an entry is an overloaded entry, then a container appears with a 
  548.           list of all the overloaded entriesnames.  Select one of the entries 
  549.           from the list. 
  550.  
  551.           Entry Example: 
  552.  
  553.           You would type the following in the Parameters entry field to set an 
  554.           entry breakpoint when the module my_func is entered: 
  555.  
  556.                     my_func
  557.  
  558.           Note:  You cannot set an entry breakpoint to a function name that was 
  559.                  defined using the define preprocessor directive. 
  560.  
  561.  
  562. If you are setting an event breakpoint, type in the parameter that corresponds 
  563. to the type of event breakpoint you are setting: 
  564.  
  565. Load 
  566.           Type the name of the DLL. Execution stops when the DLL is loaded. 
  567.  
  568.           The following diagram shows the syntax of the parameters you can type 
  569.           for a load breakpoint: 
  570.  
  571. ΓöÇΓöÇΓöÇΓöÇmod_nameΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  572.  
  573.           Load Example: 
  574.  
  575.           You would type the following in the Parameters entry field to set a 
  576.           load breakpoint when the DLL DDE4CRT is loaded: 
  577.  
  578.                     DDE4CRT
  579.  
  580. Change - Address 
  581.           Type a hexadecimal address followed by the range of bytes. The range 
  582.           of bytes can be one of the numbers:1, 2, or 4. Place a comma between 
  583.           the hexadecimal address and the number that indicates the byte range. 
  584.           The 2-byte range must be aligned on a word boundary and the 4-byte 
  585.           range must be aligned on a doubleword boundary. Only addresses that 
  586.           are multiples of 4 are valid arguments as Change - Address 
  587.           breakpoints. 
  588.  
  589.           Execution stops when the specified range of memory changes. 
  590.  
  591.           The following diagram shows the syntax of the parameters you can type 
  592.           for a change - address breakpoint: 
  593.  
  594. ΓöÇΓöÇΓöÇΓöÇaddress_specΓöÇΓöÇΓö¼ΓöÇ,lengthΓöÇΓö¼ΓöÇΓöÇ
  595.                     Γöé         Γöé
  596.                     ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  597.  
  598. where address_spec is: 
  599.  
  600. ΓöÇΓöÇΓö¼ΓöÇhhhh:hhhhΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  601.    Γöé          Γöé
  602.    ΓööΓöÇhhhhhhhhΓöÇΓöÿ
  603.  
  604.           Change - Address Example: 
  605.  
  606.           You would type the following in the Parameters entry field to set a 
  607.           change - address breakpoint starting at address 000A1FCC and 
  608.           continuing for 4 bytes: 
  609.  
  610.                     000A1FCC,4
  611.  
  612.  
  613. ΓòÉΓòÉΓòÉ 3.3.8. Line number ΓòÉΓòÉΓòÉ
  614.  
  615. If you are setting a line breakpoint, type in a number that represents the line 
  616. number in your program where you want to set the breakpoint.  Use this 
  617. parameter for line breakpoints only. 
  618.  
  619.  
  620. ΓòÉΓòÉΓòÉ 3.3.9. Part ΓòÉΓòÉΓòÉ
  621.  
  622. If you are setting a line breakpoint, select a component from the Component 
  623. list: 
  624.  
  625.  1. Open the Component list by selecting the arrow with your mouse. 
  626.  
  627.  2. Highlight the component where you want to set the breakpoint. 
  628.  
  629.     As new components are entered by the program you are debugging, they appear 
  630.     in this list. 
  631.  
  632.  
  633. ΓòÉΓòÉΓòÉ 3.3.10. File(s) ΓòÉΓòÉΓòÉ
  634.  
  635. If the part you selected has include files, then the file(s) list displays all 
  636. the file names that are in the included in the part. 
  637.  
  638.  1. Open the File(s) list by selecting the arrow with your mouse. 
  639.  
  640.  2. Highlight the file where you want to set the breakpoint. 
  641.  
  642.  
  643. ΓòÉΓòÉΓòÉ 3.3.11. Condition ΓòÉΓòÉΓòÉ
  644.  
  645. If you are setting an address, entry, or line breakpoint, you can also type in 
  646. a simple expression. The execution of the program stops only if this condition 
  647. tests true. 
  648.  
  649. Note:  Variables in a conditional expression associated with an Entry 
  650. breakpoint are limited to any static or global variables that are known to the 
  651. called function when the function is called. Local variables and automatic 
  652. variables cannot be used. 
  653.  
  654. The maximum length of the condition is 256 characters. 
  655.  
  656.  
  657. ΓòÉΓòÉΓòÉ 3.3.12. Thread id ΓòÉΓòÉΓòÉ
  658.  
  659. To select a thread ID from the Thread id list: 
  660.  
  661.  1. Open the Thread id list by selecting the arrow with your mouse. 
  662.  
  663.  2. Highlight the thread where you want to set the breakpoint. 
  664.  
  665.     As new threads are created by the program you are debugging, they appear in 
  666.     this list. 
  667.  
  668. Select Every, the default, to set a breakpoint in all of the active threads in 
  669. your program. The Every choice is thread independent. Select one of the 
  670. individual thread IDs to set a breakpoint in one thread only. Thread IDs are 
  671. added to the Thread id list as new threads are activated. 
  672.  
  673.  
  674. ΓòÉΓòÉΓòÉ 3.3.13. Every ΓòÉΓòÉΓòÉ
  675.  
  676. This field is used for location breakpoints only. Type in a whole integer 
  677. number to indicate how often the breakpoint should be activated within the From 
  678. and To range. 
  679.  
  680.  
  681. ΓòÉΓòÉΓòÉ 3.3.14. From ΓòÉΓòÉΓòÉ
  682.  
  683. This field is used for location breakpoints only. Type in a whole integer 
  684. number to start activating the breakpoint the nth time the location is 
  685. encountered. Breakpoints begin being set when the location is encountered this 
  686. number of times. 
  687.  
  688.  
  689. ΓòÉΓòÉΓòÉ 3.3.15. To ΓòÉΓòÉΓòÉ
  690.  
  691. This field is used for location breakpoints only. Type in a whole integer 
  692. number to stop activating the breakpoint after the nth time the location is 
  693. encountered. 
  694.  
  695.  
  696. ΓòÉΓòÉΓòÉ 3.3.16. Pushbuttons ΓòÉΓòÉΓòÉ
  697.  
  698. OK 
  699.   Click on OK to set the breakpoint and close this dialog box. 
  700.  
  701. List 
  702.   Click on List to activate the List dialog box. The List dialog box displays 
  703.   the breakpoints that are currently set in your program. 
  704.  
  705. Set 
  706.   Click on Set to set a breakpoint that is defined by the parameters you have 
  707.   selected. You must click on Cancel to close the dialog box after you click on 
  708.   Set to set a breakpoint. 
  709.  
  710. Cancel 
  711.   Click on Cancel to close this dialog box. 
  712.  
  713. Help 
  714.   Click on Help to display help information that tells you how to use this 
  715.   dialog box. 
  716.  
  717.  
  718. ΓòÉΓòÉΓòÉ 3.3.17. List ΓòÉΓòÉΓòÉ
  719.  
  720. Use the List container dialog box to display a list of the breakpoints that 
  721. have been set. The following information is also provided for each breakpoint. 
  722. The container allows multiple selections. 
  723.  
  724. o The enablement state 
  725. o The type of breakpoint 
  726. o The position of the breakpoint (program name, line number, or address) 
  727. o The conditions under which the breakpoint is activated. 
  728.  
  729. When selctions are made, press and hold down the right mouse button to activate 
  730. the action pop-up menu.  This menu contains the following: 
  731.  
  732. Action Menu Summary 
  733.  
  734. Modify 
  735.   You can change the parameters that define the highlighted breakpoint. The 
  736.   Set/Modify dialog box appears. When you modify a breakpoint, it is 
  737.   automatically activated. When more than one breakpoint has been selected, the 
  738.   modify option will be disabled. 
  739.  
  740. Delete 
  741.   Remove the highlighted breakpoint. 
  742.  
  743. Enable 
  744.   Activate the highlighted breakpoint if it is deactivated. 
  745.  
  746. Disable 
  747.   Disable the highlighted breakpoint if it is activated. 
  748.  
  749. Delete all 
  750.   Remove all of the breakpoints displayed in the dialog box. 
  751.  
  752. Pushbutton Summary 
  753.  
  754. Set 
  755.   Set a new breakpoint in your program. When you click on the Set pushbutton, 
  756.   the Set/Modify dialog box appears. 
  757.  
  758. Include 
  759.   Create a filter to display a subset of the breakpoints set in your program. 
  760.   When you click on the Include pushbutton, the Breakpoint List Include dialog 
  761.   box appears. 
  762.  
  763. OK 
  764.   Close the List dialog box. 
  765.  
  766. Help 
  767.   Displays the online help for this dialog box. 
  768.  
  769.  
  770. ΓòÉΓòÉΓòÉ 3.3.18. Breakpoint List Include ΓòÉΓòÉΓòÉ
  771.  
  772. Use the Breakpoint List Include dialog box to create a filter to display a 
  773. subset of the breakpoints set in your program. 
  774.  
  775. Breakpoints can be filtered according to the following categories of 
  776. information: 
  777.  
  778. o Breakpoint type 
  779. o Enablement state 
  780. o Thread ID 
  781. o Component. 
  782.  
  783. Click on the appropriate  pushbuttons to finish your dialog. 
  784.  
  785. Type 
  786.  
  787. You can select one of the following types of breakpoints from the Type list: 
  788.  
  789. o All 
  790. o Address 
  791. o Change - Address. 
  792. o Entry 
  793. o Line 
  794. o Load 
  795.  
  796. The default is All. 
  797.  
  798. To select a breakpoint type, highlight the type of breakpoint you want to view. 
  799. If you select All, every type of breakpoint you have set in your program is 
  800. displayed. 
  801.  
  802. Display Format 
  803.  
  804. Select either of the following Display Format radio buttons: 
  805.  
  806. Concise     Displays a short description for each breakpoint listed 
  807.  
  808. Detailed    Displays a more detailed description for each breakpoint listed. 
  809.  
  810. The default is Concise. 
  811.  
  812. State 
  813.  
  814. You can select one of the following states: 
  815.  
  816. o All 
  817. o Enabled 
  818. o Disabled. 
  819.  
  820. The default is All. 
  821.  
  822. To select a breakpoint state, do the following: 
  823.  
  824.  1. Open the State list by selecting the arrow with your mouse. 
  825.  
  826.  2. Highlight the state that classifies the breakpoints you want to view. The 
  827.     state is placed in the State entry field. 
  828.  
  829.     If you select All, both the enabled and disabled breakpoints are displayed. 
  830.  
  831. Thread 
  832.  
  833. You can select one of the following thread IDs: 
  834.  
  835. o All 
  836. o Every 
  837. o thread_number, where the thread_number IDs are added and deleted from the 
  838.   list as threads are started and stopped by your program. 
  839.  
  840. The default is All. 
  841.  
  842. To select a thread ID, do the following: 
  843.  
  844.  1. Open the Thread list by selecting the arrow with your mouse. 
  845.  
  846.  2. Highlight the thread ID that contains the breakpoints you want to view. The 
  847.     thread ID is placed in the Thread entry field. 
  848.  
  849.     If you select All, the breakpoints for all of the threads will be 
  850.     displayed. 
  851.  
  852. Component 
  853.  
  854. You can select one of the following components: 
  855.  
  856. o All 
  857. o program_part_name. 
  858.  
  859. The default is All. 
  860.  
  861. To select a component, do the following: 
  862.  
  863.  1. Open the Component list by selecting the arrow with your mouse. 
  864.  
  865.  2. Highlight the name of the component that contains the breakpoints you want 
  866.     to view. The name of the component you select is placed in the Part entry 
  867.     field. 
  868.  
  869.     If you select All, the breakpoints in all of the components of your program 
  870.     will be displayed. 
  871.  
  872. Keep Selections 
  873.  
  874. Select the Keep Selections check box to save all of the parameters you have 
  875. selected for the duration of the debugging session. When you close the 
  876. debugger, these settings for the parameters are lost. 
  877.  
  878.  
  879. ΓòÉΓòÉΓòÉ 3.4. Thread ΓòÉΓòÉΓòÉ
  880.  
  881. Select choices from the Thread pull-down to control whether or not a 
  882. highlighted thread will be executed when the program runs, to control the 
  883. display of the monitor list windows, and to display information about the 
  884. storage, registers, and call stacks for your program. All of these choices are 
  885. specific to one thread, except for Show  Storage. 
  886.  
  887. Pull-Down Summary 
  888.  
  889. Enabled 
  890.   Either enable or disable threads. 
  891.  
  892. Show 
  893.   Display specific thread information. 
  894.  
  895.  
  896. ΓòÉΓòÉΓòÉ 3.4.1. Show ΓòÉΓòÉΓòÉ
  897.  
  898. Select choices from the Show cascading menu to display information about the 
  899. current program and environment. 
  900.  
  901. Pull-Down Summary 
  902.  
  903. Local variables 
  904.   Display the local variables for the program's current function. 
  905.  
  906. Registers 
  907.   Monitor registers and flags for a particular component or thread. 
  908.  
  909. Stack 
  910.   Monitor the call chain stack for a particular thread. 
  911.  
  912. Program monitor 
  913.   Create or focus the Program Monitor List window. 
  914.  
  915. Storage 
  916.   Monitor the storage for a component or thread in your program. 
  917.  
  918. Window Analysis 
  919.   Display the program in a ................... 
  920.  
  921.  
  922. ΓòÉΓòÉΓòÉ 3.4.2. Enabled ΓòÉΓòÉΓòÉ
  923.  
  924. Select the Enabled pull-down choice so that the thread that is highlighted in 
  925. the Threads box to execute when the program runs. When threads are enabled ΓêÜ 
  926. appears beside the Enabled pull-down choice. When threads are not enabled (ΓêÜ is 
  927. not displayed), the highlighted thread is not executed when the program runs. 
  928.  
  929.  
  930. ΓòÉΓòÉΓòÉ 3.4.3. Storage ΓòÉΓòÉΓòÉ
  931.  
  932. Select the Storage pull-down choice to display the contents of storage used by 
  933. your program. You can choose to open a new Storage window, or you can choose to 
  934. locate a Storage window that is already window. 
  935.  
  936. Pull-Down Summary 
  937.  
  938. New 
  939.   Open a new Storage window. 
  940.  
  941. storage_address 
  942.   Locate a Storage window that is already open. 
  943.  
  944.  
  945. ΓòÉΓòÉΓòÉ 3.4.4. New ΓòÉΓòÉΓòÉ
  946.  
  947. Select the New pull-down choice to open a new Storage window. You can monitor 
  948. storage in multiple windows. When the program state changes (through execution 
  949. or when data is updated), the data displayed in the Storage windows is updated 
  950. to reflect these changes. 
  951.  
  952. The storage information displayed in the Storage window consists of the storage 
  953. contents and the address to the storage. Multiple storage windows can display 
  954. the same storage. Double-click on using the storage window for more information 
  955. about manipulating the storage content and addresses displayed. 
  956.  
  957.  
  958. ΓòÉΓòÉΓòÉ 3.4.5. Using the Storage Window ΓòÉΓòÉΓòÉ
  959.  
  960. You can scroll through storage using the up or down arrow keys and the PageUp 
  961. or PageDown keys. 
  962.  
  963. To update the storage contents, type over the contents displayed in the Storage 
  964. window. The display is updated when an elapsed time of one second occurs after 
  965. the last keystroke has been entered. The contents of all affected windows are 
  966. updated for each character changed in the Storage window. 
  967.  
  968. To specify a new address location, type over the address field displayed in the 
  969. Storage window. When an elapsed time of one second occurs after the last 
  970. keystroke has been entered, the window scrolls to the appropriate storage 
  971. location. 
  972.  
  973.  
  974. ΓòÉΓòÉΓòÉ 3.4.6. Storage Data Displayed ΓòÉΓòÉΓòÉ
  975.  
  976. The following types of storage data can be monitored in the Storage window: 
  977.  
  978. o Fields for the displayed addresses. You can select one of the following 
  979.   memory models for the addresses that are displayed: 
  980.  
  981.    - Segmented memory addresses 
  982.    - Flat memory model addresses 
  983.    - Both segmented and flat memory model addresses. 
  984.  
  985. o Fields for the data storage contents. The number of fields displayed and 
  986.   their display characteristics depend on the storage style you select. 
  987.  
  988. o Titles for the displayed addresses and storage content fields. 
  989.  
  990.  
  991. ΓòÉΓòÉΓòÉ 3.4.7. Registers ΓòÉΓòÉΓòÉ
  992.  
  993. Select the Registers pull-down choice to display the processor registers and 
  994. the math coprocessor information. 
  995.  
  996.  
  997. ΓòÉΓòÉΓòÉ 3.4.8. Stack ΓòÉΓòÉΓòÉ
  998.  
  999. Select the Stack pull-down choice to list all of the active functions or 
  1000. procedures for a particular thread. 
  1001.  
  1002. One call stack exists for each thread. Each Stack window displays the call 
  1003. stack information for one thread only. The functions are displayed in the order 
  1004. that they were called. 
  1005.  
  1006. The Stack view contains a line of data for each call stack entry. Each line 
  1007. contains the entry name of the procedure or function followed by the data you 
  1008. select in the Display Style dialog box. You can display the following 
  1009. information for call stack items: 
  1010.  
  1011. o Entry number 
  1012. o Entry name 
  1013. o Part name 
  1014. o Recursion level. 
  1015.  
  1016.  
  1017. ΓòÉΓòÉΓòÉ 3.4.9. Local variables ΓòÉΓòÉΓòÉ
  1018.  
  1019. Select the Local variables pull-down choice to display the local variables 
  1020. (static, automatic, and parameters) for the current function. The local 
  1021. variables are displayed in the Local Variable Monitor List window. You can use 
  1022. the data manipulation icons in the Local Variable Monitor List window to show 
  1023. the contents of structures, arrays, and pointers. 
  1024.  
  1025.  
  1026. ΓòÉΓòÉΓòÉ 3.4.10. Window Analysis ΓòÉΓòÉΓòÉ
  1027.  
  1028. Select the Window analysis pull-down choice to display the 
  1029.  
  1030.  
  1031. ΓòÉΓòÉΓòÉ 3.5. Options ΓòÉΓòÉΓòÉ
  1032.  
  1033. Select choices from the Options pull-down to access various utility dialog 
  1034. boxes that allow you to set debugger options. These debugger options control 
  1035. the operation of the debugger. 
  1036.  
  1037. Pull-Down Summary 
  1038.  
  1039. Window settings 
  1040.   Control how the items in the Debug Session Controls window are displayed. 
  1041.  
  1042. Session settings 
  1043.   Set various debugger options. 
  1044.  
  1045. Profile 
  1046.   Change the location of the IPMD.INI file and delete restart information for 
  1047.   programs that you have debugged. 
  1048.  
  1049.  
  1050. ΓòÉΓòÉΓòÉ 3.5.1. Window settings ΓòÉΓòÉΓòÉ
  1051.  
  1052. Select choices from the Window settings cascading menu to change the font for 
  1053. the Debug Session Controls window and to select which components are displayed 
  1054. in the Components list. 
  1055.  
  1056. Pull-Down Summary 
  1057.  
  1058. Fonts 
  1059.   Select the font you want to use for the text displayed in the active window. 
  1060.  
  1061. Display all components 
  1062.   Filter the components list. 
  1063.  
  1064. Sort threads 
  1065.   Sort the threads in ........... 
  1066.  
  1067. Sort components 
  1068.   Sort the components .... 
  1069.  
  1070. Titles 
  1071.   Select to have titles .. 
  1072.  
  1073.  
  1074. ΓòÉΓòÉΓòÉ 3.5.2. Display all components ΓòÉΓòÉΓòÉ
  1075.  
  1076. You can specify which components are displayed in the Components list. If this 
  1077. option is enabled (ΓêÜ appears beside the Display all components pull-down 
  1078. choice), all components are listed. If it is not, only components containing 
  1079. debug information are listed. 
  1080.  
  1081.  
  1082. ΓòÉΓòÉΓòÉ 3.5.3. Session settings ΓòÉΓòÉΓòÉ
  1083.  
  1084. Select choices from the Session settings cascading menu to set various debugger 
  1085. options that control how your program is executed and is displayed. These 
  1086. settings affect the behavior of the debugger and remain in effect for the 
  1087. duration of the debugging session. If you select Save settings, they apply to 
  1088. future debugging sessions. 
  1089.  
  1090. Pull-Down Summary 
  1091.  
  1092. Animation rate 
  1093.   Specify the rate at which you can automatically execute lines of code in your 
  1094.   program. 
  1095.  
  1096. Display order 
  1097.   Select the initial view for components and threads and control the isolation 
  1098.   of the view for a stopping thread. 
  1099.  
  1100. Initial window placement 
  1101.   Select the position and size of the debugger windows. 
  1102.  
  1103. Monitor properties 
  1104.   Select the default settings for the variable monitor windows. 
  1105.  
  1106. PM debugging mode 
  1107.   Set parameters that control how the C Set/2* debugger handles messages passed 
  1108.   within the debugger and between other PM applications. 
  1109.  
  1110. Initial window placement 
  1111.   Set the initial position and size of windows. 
  1112.  
  1113. Debug session controls 
  1114.   Focus the Debug Session Controls window and move it in front of the other 
  1115.   windows. 
  1116.  
  1117.  
  1118. ΓòÉΓòÉΓòÉ 3.5.4. Sort threads ΓòÉΓòÉΓòÉ
  1119.  
  1120.  
  1121. ΓòÉΓòÉΓòÉ 3.5.5. Sort components ΓòÉΓòÉΓòÉ
  1122.  
  1123.  
  1124. ΓòÉΓòÉΓòÉ 3.5.6. Titles ΓòÉΓòÉΓòÉ
  1125.  
  1126.  
  1127. ΓòÉΓòÉΓòÉ 3.5.7. PM debugging mode ΓòÉΓòÉΓòÉ
  1128.  
  1129. The PM system is a message based system. As program events are encountered by 
  1130. PM programs, the programs communicate with each other by passing messages and 
  1131. by receiving user input through input messages. When a PM program encounters an 
  1132. enabled breakpoint, the input queue can become blocked and dependent program 
  1133. events, or processes, canalso become blocked as a result.  For example, the 
  1134. input queue can become blocked when your program is halted at a breakpoint that 
  1135. has been triggered by an input event. 
  1136.  
  1137. The C Set/2* debugger provides two modes of operation by which PM messages can 
  1138. be processed while the debugger has control.  These two modes are: 
  1139.  
  1140. o Synchronous 
  1141. o Asynchronous. 
  1142. When you select PM debugging mode, the PM Debugging Mode dialog box appers.. 
  1143.  
  1144.  
  1145. ΓòÉΓòÉΓòÉ 3.5.8. Asynchronous ΓòÉΓòÉΓòÉ
  1146.  
  1147. When the C Set/2* debugger is operating in asynchronous mode and the program 
  1148. you are debugging is stopped, the debugger immediately responds to messages 
  1149. that have been sent to the program being debugged on this program's behalf. The 
  1150. C Set/2* debugger answers the messages with a simple default response, freeing 
  1151. up other processes to operate while the debugger has control. When you are 
  1152. running the C Set/2* debugger in asynchronous mode, other PM applications 
  1153. running in the system are not blocked when the program being debugged stops. 
  1154.  
  1155. Warning: Do not operate the C Set/2* debugger in asynchronous mode if the PM 
  1156. application that you are debugging requires the appropriate response to its 
  1157. messages. For example, a dynamic data exchange (DDE) message would require the 
  1158. appropriate response. 
  1159.  
  1160.  
  1161. ΓòÉΓòÉΓòÉ 3.5.9. Synchronous ΓòÉΓòÉΓòÉ
  1162.  
  1163. When the C Set/2* debugger is operating in synchronous mode, the messages that 
  1164. are passed between PM applications are answered by their target applications in 
  1165. the order that they were created. The messages that are passed within the C 
  1166. Set/2* debugger take priority over any other messages that are passed in the 
  1167. system. 
  1168.  
  1169. When the program being debugged is stopped and the debugger is in synchronous 
  1170. mode, other PM applications are locked, leaving the debugger free to operate. 
  1171. In synchronous mode, you will not be able to use any other PM applications that 
  1172. are running. 
  1173.  
  1174.  
  1175. ΓòÉΓòÉΓòÉ 3.6. Animation Rate ΓòÉΓòÉΓòÉ
  1176.  
  1177. When you select Animate from the Run pull-down, the debugger automatically does 
  1178. Step over commands to execute your code one line at a time. The animation rate 
  1179. specifies the rate at which the debugger is automatically executed. 
  1180.  
  1181. To change the speed at which single lines of code are automatically executed: 
  1182.  
  1183.  1. Set the speed of execution by positioning the slider between the slow and 
  1184.     fast limits or by entering a number in the entry field. 
  1185.  
  1186.     The numbers (1 to 20) are for reference purposes only. The true speed of 
  1187.     animation depends on the: 
  1188.  
  1189.    o Processor speed 
  1190.  
  1191.    o Number of open windows 
  1192.  
  1193.    o The types of instructions being stepped over. 
  1194.  
  1195.  2. Click on the appropriate pushbuttons to end your dialog. 
  1196.  
  1197. To stop the animation, select SysRq (Alt + Print Screen) or select Animate 
  1198. again. 
  1199.  
  1200.  
  1201. ΓòÉΓòÉΓòÉ 3.6.1. PM Debugging Mode ΓòÉΓòÉΓòÉ
  1202.  
  1203. Use the PM Debugging Mode dialog box to set the debugging mode to asynchronous 
  1204. or synchronous, and control the interaction between the application windows and 
  1205. PM, while the application has stopped executing. This interaction is controlled 
  1206. by the choices under the Application windows group heading. 
  1207.  
  1208. After you have selected the parameters you want from this dialog box, click on 
  1209. the appropriate pushbuttons. 
  1210.  
  1211. Mode 
  1212.  
  1213. Select the PM Debugging mode you want:  either Synchronous or Asynchronous. 
  1214.  
  1215. Invalid area color 
  1216.  
  1217. Select the color that is to be used to repaint the invalid or damaged area of 
  1218. an application window. Depending on the original color of the application 
  1219. window, certain colors will be more appropriate for repainting. The color you 
  1220. choose is used when you select the Color invalid areas, Restore, or Repaint 
  1221. options. 
  1222.  
  1223. No repainting 
  1224.  
  1225. None of the damaged or invalid areas of the window is repainted. 
  1226.  
  1227. Color invalid areas 
  1228.  
  1229. The Color invalid areas option works only in asynchronous mode. This option 
  1230. paints the damaged or invalid areas in a solid fill color. The color can be 
  1231. changed by selecting a different color from the Invalid area color combination 
  1232. box. 
  1233.  
  1234. Restore 
  1235.  
  1236. The Restore option works only in asynchronous mode. This option restores the 
  1237. application window with the last available image of the window. The image that 
  1238. you can regain consists of the last available image when a step or run command 
  1239. ended minus any parts of the window that were covered when the step or run 
  1240. command ended. The parts of the window that were covered are filled with the 
  1241. solid color you chose from the Invalid area color combination box. 
  1242.  
  1243. Repaint 
  1244.  
  1245. Restores that application window with the last available image. The image that 
  1246. you can regain consists of the last available image when a step or run command 
  1247. ended minus any parts of the window that were covered when the step or run 
  1248. command ended. The parts of the window that were covered are filled with the 
  1249. solid color you chose from the Invalid area color combination box. 
  1250.  
  1251. The Repaint option differs from the Restore option. It interrupts the normal 
  1252. debugging process of the window as follows: 
  1253.  
  1254. o The application windows will not receive any screen interaction messages 
  1255.   while the application is stopped. For example, the application will not 
  1256.   receive any of the WM_MOUSEMOVE or WM_PAINT messages that were generated 
  1257.   while the application was stopped. 
  1258.  
  1259. o An extra WM_PAINT message is generated for the application windows when 
  1260.   execution resumes. 
  1261.  
  1262.   Note:  The application windows might not process the WM_PAINT message 
  1263.   depending on where the breakpoints are set or on which step or run command 
  1264.   was selected. 
  1265.  
  1266. Save settings 
  1267.  
  1268. Select Save settings to save your selections for the next debugging session. 
  1269.  
  1270.  
  1271. ΓòÉΓòÉΓòÉ 3.6.2. Debug session controls ΓòÉΓòÉΓòÉ
  1272.  
  1273. Select the Debug session controls pull-down choice to make the Debug Session 
  1274. Controls window the active window and move it in front of any other windows 
  1275. that are open. 
  1276.  
  1277.  
  1278. ΓòÉΓòÉΓòÉ 3.7. Help ΓòÉΓòÉΓòÉ
  1279.  
  1280. Select choices from the Help pull-down to complement the online help 
  1281. information that you can get for the debugger when you press F1 or select the 
  1282. Help pushbutton. 
  1283.  
  1284. Pull-Down Summary 
  1285.  
  1286. Help index 
  1287.   An alphabetical index of all available debugger help topics. 
  1288.  
  1289. General help 
  1290.   Help information for the active window. 
  1291.  
  1292. Using help 
  1293.   How to use the C Set/2* debugger help facility. 
  1294.  
  1295.  
  1296. ΓòÉΓòÉΓòÉ 3.7.1. Using help ΓòÉΓòÉΓòÉ
  1297.  
  1298. Select the Using help pull-down choice to display online help information about 
  1299. the OS/2* help facility. 
  1300.  
  1301.  
  1302. ΓòÉΓòÉΓòÉ 3.7.2. General help ΓòÉΓòÉΓòÉ
  1303.  
  1304. Select the General help pull-down choice to display online help for the active 
  1305. debugger window. The online help panel displayed is the same panel that is 
  1306. displayed when you place your cursor inside the window and press F1. 
  1307.  
  1308.  
  1309. ΓòÉΓòÉΓòÉ 3.7.3. Shortcut Keys ΓòÉΓòÉΓòÉ
  1310.  
  1311. This help panel lists the  shortcut keys you use to invoke C Set/2* debugger 
  1312. pull-down choices. When two key names are joined by a plus sign (+), use these 
  1313. two keys together. Hold down the first key and press the second key. 
  1314.  
  1315. You can use shortcut keys for most of the pull-down choices in these windows: 
  1316.  
  1317. o Debug Session Controls 
  1318. o Source View 
  1319. o Disassembly View 
  1320. o Mixed View 
  1321. o Storage 
  1322. o Register 
  1323. o Stack 
  1324. o Data Pop-up 
  1325. o Private Monitor List 
  1326. o Program Monitor List 
  1327. o Local Variables Monitor List. 
  1328.  
  1329.  
  1330. ΓòÉΓòÉΓòÉ 3.7.4. Debug Session Controls ΓòÉΓòÉΓòÉ
  1331.  
  1332. For choices in the File pull-down, use the following keys: 
  1333.  
  1334. Where                                   Ctrl+W 
  1335. Close debug                             F3 
  1336.  
  1337. For choices in the Thread pull-down, use the following keys: 
  1338.  
  1339. Show  Local variables                  Ctrl+V 
  1340. Show  Registers                        Ctrl+E 
  1341. Show  Stack                            Ctrl+K 
  1342. Show  Storage  New                    Ctrl+G 
  1343.  
  1344.  
  1345. ΓòÉΓòÉΓòÉ 3.7.5. Source View ΓòÉΓòÉΓòÉ
  1346.  
  1347. For choices in the File pull-down, use the following keys: 
  1348.  
  1349. Where                                   Ctrl+W 
  1350. Search                                  Ctrl+S 
  1351. Find next                               Ctrl+F 
  1352. Close debug                             F3 
  1353.  
  1354. For choices in the Variable pull-down, use the following keys: 
  1355.  
  1356. Monitor expression                      Ctrl+M 
  1357.  
  1358. For choices in the Thread pull-down, use the following keys: 
  1359.  
  1360. Show  Local variables                  Ctrl+V 
  1361. Show  Registers                        Ctrl+E 
  1362. Show  Stack                            Ctrl+K 
  1363. Show  Storage  New                    Ctrl+G 
  1364.  
  1365. For choices in the Run pull-down, use the following keys: 
  1366.  
  1367. Step over                               O or Ctrl+O 
  1368. Step into                               I or Ctrl+I 
  1369. Step return                             T or Ctrl+T 
  1370. Step debug                              D or Ctrl+D 
  1371. Run                                     R or Ctrl+R 
  1372. Run to location                         L or Ctrl+L 
  1373. Halt step or run                        SysRq 
  1374. Animate                                 A or Ctrl+A 
  1375.  
  1376.  
  1377. ΓòÉΓòÉΓòÉ 3.7.6. Disassembly View ΓòÉΓòÉΓòÉ
  1378.  
  1379. For choices in the File pull-down, use the following keys: 
  1380.  
  1381. Where                                   Ctrl+W 
  1382. Search                                  Ctrl+S 
  1383. Find next                               Ctrl+F 
  1384. Close debug                             F3 
  1385.  
  1386. For choices in the Thread pull-down, use the following keys: 
  1387.  
  1388. Show  Local variables                  Ctrl+V 
  1389. Show  Registers                        Ctrl+E 
  1390. Show  Stack                            Ctrl+K 
  1391. Show  Storage  New                    Ctrl+G 
  1392.  
  1393. For choices in the Run pull-down, use the following keys: 
  1394.  
  1395. Step over                               O or Ctrl+O 
  1396. Step into                               I or Ctrl+I 
  1397. Step return                             T or Ctrl+T 
  1398. Step debug                              D or Ctrl+D 
  1399. Run                                     R or Ctrl+R 
  1400. Run to location                         L or Ctrl+L 
  1401. Halt step or run                        SysRq 
  1402.  
  1403.  
  1404. ΓòÉΓòÉΓòÉ 3.7.7. Mixed View ΓòÉΓòÉΓòÉ
  1405.  
  1406. For choices in the File pull-down, use the following keys: 
  1407.  
  1408. Where                                   Ctrl+W 
  1409. Search                                  Ctrl+S 
  1410. Find next                               Ctrl+F 
  1411. Close debug                             F3 
  1412.  
  1413. For choices in the Thread pull-down, use the following keys: 
  1414.  
  1415. Show  Local variables                  Ctrl+V 
  1416. Show  Registers                        Ctrl+E 
  1417. Show  Stack                            Ctrl+K 
  1418. Show  Storage  New                    Ctrl+G 
  1419.  
  1420. For choices in the Run pull-down, use the following keys: 
  1421.  
  1422. Step over                               O or Ctrl+O 
  1423. Step into                               I or Ctrl+I 
  1424. Step return                             T or Ctrl+T 
  1425. Step debug                              D or Ctrl+D 
  1426. Run                                     R or Ctrl+R 
  1427. Run to location                         L or Ctrl+L 
  1428. Halt step or run                        SysRq 
  1429.  
  1430.  
  1431. ΓòÉΓòÉΓòÉ 3.7.8. Register ΓòÉΓòÉΓòÉ
  1432.  
  1433. For choices in the Options pull-down, use the following keys: 
  1434.  
  1435. Close debug                             F3 
  1436.  
  1437.  
  1438. ΓòÉΓòÉΓòÉ 3.7.9. Stack ΓòÉΓòÉΓòÉ
  1439.  
  1440. For choices in the File pull-down, use the following keys: 
  1441.  
  1442. Close debug                             F3 
  1443.  
  1444.  
  1445. ΓòÉΓòÉΓòÉ 3.7.10. Storage ΓòÉΓòÉΓòÉ
  1446.  
  1447. For choices in the Options pull-down, use the following keys: 
  1448.  
  1449. Close debug                             F3 
  1450.  
  1451.  
  1452. ΓòÉΓòÉΓòÉ 3.7.11. Data Pop-up ΓòÉΓòÉΓòÉ
  1453.  
  1454. For choices in the Options pull-down, use the following keys: 
  1455.  
  1456. Enabled                                 Ctrl+E 
  1457. Show context                            Ctrl+X 
  1458.  
  1459. See Keyboard Sequences for a list of keys that let you move among, and within, 
  1460. monitors. 
  1461.  
  1462.  
  1463. ΓòÉΓòÉΓòÉ 3.7.12. Private Monitor List ΓòÉΓòÉΓòÉ
  1464.  
  1465. For choices in the Options pull-down, use the following keys: 
  1466.  
  1467. Delete                                  Ctrl+D 
  1468. Enable                                  Ctrl+E 
  1469. Disable                                 Ctrl+I 
  1470. Show context                            Ctrl+X 
  1471. Hide Context                            Ctrl+H 
  1472.  
  1473. See Keyboard Sequences for a list of keys that let you move among, and within, 
  1474. monitors. 
  1475.  
  1476.  
  1477. ΓòÉΓòÉΓòÉ 3.7.13. Program Monitor List ΓòÉΓòÉΓòÉ
  1478.  
  1479. For choices in the Options pull-down, use the following keys: 
  1480.  
  1481. Delete                                  Ctrl+D 
  1482. Enable                                  Ctrl+E 
  1483. Disable                                 Ctrl+I 
  1484. Show context                            Ctrl+X 
  1485. Hide Context                            Ctrl+H 
  1486. Close debug                             F3 
  1487.  
  1488. See Keyboard Sequences for a list of keys that let you move among, and within, 
  1489. monitors. 
  1490.  
  1491.  
  1492. ΓòÉΓòÉΓòÉ 3.7.14. Local Variables Monitor List ΓòÉΓòÉΓòÉ
  1493.  
  1494. For choices in the Options pull-down, use the following keys: 
  1495.  
  1496. Show context                            Ctrl+X 
  1497. Hide context                            Ctrl+H 
  1498. Close debug                             F3 
  1499.  
  1500. See Keyboard Sequences for a list of keys that let you move among, and within, 
  1501. monitors. 
  1502.  
  1503.  
  1504. ΓòÉΓòÉΓòÉ 3.7.15. Help index ΓòÉΓòÉΓòÉ
  1505.  
  1506. Select the Index pull-down choice display an alphabetical list of index topics 
  1507. for the C Set/2* debugger. Use the Search pull-down choice provided with the 
  1508. online help facility to locate topics in the index. 
  1509.  
  1510.  
  1511. ΓòÉΓòÉΓòÉ 4. Program Views ΓòÉΓòÉΓòÉ
  1512.  
  1513. The Source, Disassembly, and the Mixed views offer the same pull-down options, 
  1514. except that: 
  1515.  
  1516. o The Variable pull-down is not available in the Disassembly view. 
  1517.  
  1518. o The Change file choice is not available in the File pull-down for the 
  1519.   Disassembly view. 
  1520.  
  1521. These program views differ, however, in the way they display the program code. 
  1522. Although only one program view is initially displayed, you can display 
  1523. additional program views at any time. Each view is displayed in its own window. 
  1524.  
  1525. Source View 
  1526.  
  1527. The Source view displays the source code for the component you have selected. 
  1528.  
  1529. When you start the C Set/2* debugger, the source view is displayed if the 
  1530. source code is available. If it is not, the Part - Filename Specifications 
  1531. dialog box is displayed. (You can change the order of the views displayed using 
  1532. the Display Orderdialog box.) 
  1533.  
  1534. Disassembly View 
  1535.  
  1536. The Disassembly view displays your program as assembler instructions, without 
  1537. symbolic information. 
  1538.  
  1539. Mixed View 
  1540.  
  1541. This view displays each source statement followed by the assembler instructions 
  1542. that the particular source statement generates. 
  1543.  
  1544. The Mixed view works as follows: 
  1545.  
  1546. o Each source line is prefixed with its line number as it is in the Source 
  1547.   view. 
  1548.  
  1549. o Each disassembled line is prefixed with an address as it is in the 
  1550.   Disassembly view. 
  1551.  
  1552. o Source comment lines are included in the display. 
  1553.  
  1554. o The lines of source code are treated as comments within the lines of 
  1555.   disassembly code. The execution of the program and breakpoints only relate to 
  1556.   the lines of disassembly code. 
  1557.  
  1558. o The Mixed view cannot be opened if the source code is not available or if the 
  1559.   part was compiled with optimization on. 
  1560.  
  1561. Menu Bar Summary 
  1562.  
  1563. File 
  1564.   Start and end the C Set/2* debugger and control the way in which program 
  1565.   units are accessed by the C Set/2* debugger. 
  1566.  
  1567. Edit 
  1568.   Select...... 
  1569.  
  1570. Breakpoints 
  1571.   Set and manipulate breakpoints in your program. 
  1572.  
  1573. Variable 
  1574.   Display the contents of program variables and expressions. 
  1575.  
  1576. Thread 
  1577.   Control whether or not a thread executes when you run the program, and to 
  1578.   display information about the current program and environment. 
  1579.  
  1580. Run 
  1581.   Execute your program in several ways. 
  1582.  
  1583. Options all.Change the parameters that control how your program is displayed 
  1584. and executed. 
  1585.  
  1586. Help 
  1587.   Online help information that complements the information you get when you 
  1588.   press F1 or click on a Help pushbutton. 
  1589.  
  1590.  
  1591. ΓòÉΓòÉΓòÉ 4.1. File ΓòÉΓòÉΓòÉ
  1592.  
  1593. You can start programs and look at them, find the current line, search for text 
  1594. strings, replace your current program file with a program file in another 
  1595. location or with a different name, restart the current debugging session, 
  1596. restart a previous debugging session for this program, and end the debugging 
  1597. session. 
  1598.  
  1599. Pull-Down Summary 
  1600.  
  1601. Open as 
  1602.   Open a view of your program. 
  1603.  
  1604. Inheritance 
  1605.   Look at classes of C++ programs. 
  1606.  
  1607. Locate entries 
  1608.   Locate ............. 
  1609.  
  1610. Open module 
  1611.   Open  ............. 
  1612.  
  1613. Where 
  1614.   Quickly locate the next line to be executed. Search for the next occurrence 
  1615.   of a search string. 
  1616.  
  1617. Change file 
  1618.   Replace the source you are currently debugging with the source code in 
  1619.   another location, or with a different name. 
  1620.  
  1621. Startup 
  1622.   Allows you to start the program you want to debug, or restart a previous 
  1623.   debugging session. 
  1624.  
  1625. Restart 
  1626.   Restart the current debugging session. 
  1627.  
  1628. Close debug 
  1629.   Close the debugging session. 
  1630.  
  1631.  
  1632. ΓòÉΓòÉΓòÉ 4.1.1. Open as ΓòÉΓòÉΓòÉ
  1633.  
  1634. Select Open as to open a view of your program or change current window to the 
  1635. notebook format. The selected view is displayed in a new window and previous 
  1636. views are not affected. Each type of view can be opened only once for a program 
  1637. part; program views are thread-specific. Any lines that are highlighted in the 
  1638. existing view are also highlighted in the new view, and any breakpoints 
  1639. highlighted in the prefix area of the existing view are also shown in the new 
  1640. view. If you select a view that is already open, that view is focused and moved 
  1641. in front of the other windows. You can view the program as: 
  1642.  
  1643. o Source 
  1644. o Disassembly 
  1645. o Mixed. 
  1646.  
  1647. The Source and Mixed views can be displayed in a notebook format. This is the 
  1648. default.  You can enable or disable the Notebook option by toggling the enabled 
  1649. choice in the Notebook option box.  When the checkmark is displayed, it is 
  1650. enabled and the views will be displayed in notebook format.  When the checkmark 
  1651. is not displayed, it is disabled. 
  1652.  
  1653.  
  1654. ΓòÉΓòÉΓòÉ 4.1.2. Source ΓòÉΓòÉΓòÉ
  1655.  
  1656. Select the Source pull-down choice to display the source code for your program. 
  1657.  
  1658. The initial Source view displays the source code for the component that 
  1659. contains the main entry to the program being debugged. If it is available, the 
  1660. Source view appears along with the Debug Session Controls window when the 
  1661. debugging session is started. Otherwise, the Disassembly view appears. 
  1662.  
  1663. You can change the order of program views that are opened by setting the 
  1664. display order in the Display Order dialog box.) 
  1665.  
  1666.  
  1667. ΓòÉΓòÉΓòÉ 4.1.3. Disassembly ΓòÉΓòÉΓòÉ
  1668.  
  1669. Select the Disassembly pull-down choice to display the assembler instructions 
  1670. for your program, without symbolic information. The pull-down choices available 
  1671. in the Disassembly view are the same as for the Source view except that the 
  1672. Variable pull-down and the Change file choice in the File pull-down are not 
  1673. available. 
  1674.  
  1675.  
  1676. ΓòÉΓòÉΓòÉ 4.1.4. Mixed ΓòÉΓòÉΓòÉ
  1677.  
  1678. Select the Mixed pull-down choice to display each source statement followed by 
  1679. the assembler instructions that the particular source statement generates. 
  1680.  
  1681. The Mixed view works as follows: 
  1682.  
  1683. o Each source line is prefixed with its line number as it is in the Source 
  1684.   view. 
  1685.  
  1686. o Each disassembled line is prefixed with an address as it is in the 
  1687.   Disassembly view. 
  1688.  
  1689. o Source comment lines are included in the display. 
  1690.  
  1691. o The lines of source code are treated as comments within the lines of 
  1692.   disassembly code. The execution of the program and breakpoints only relate to 
  1693.   the lines of disassembly code. 
  1694.  
  1695. o The Mixed view cannot be opened if the source code is not available, or the 
  1696.   part was compiled with optimization on. 
  1697.  
  1698.  
  1699. ΓòÉΓòÉΓòÉ 4.1.5. Inheritance ΓòÉΓòÉΓòÉ
  1700.  
  1701. Select the Inheritance pull-down choice to view the class heirarchy of a C++ 
  1702. program.  This view allows you to see 
  1703.  
  1704.  
  1705. ΓòÉΓòÉΓòÉ 4.1.6. Locate entries ΓòÉΓòÉΓòÉ
  1706.  
  1707. Select the Locate entries pull-down choice to 
  1708.  
  1709.  
  1710. ΓòÉΓòÉΓòÉ 4.1.7. Open module ΓòÉΓòÉΓòÉ
  1711.  
  1712. Select the Open module pull-down choice to 
  1713.  
  1714.  
  1715. ΓòÉΓòÉΓòÉ 4.1.8. Where ΓòÉΓòÉΓòÉ
  1716.  
  1717. Select the Where pull-down choice to quickly locate the next line to be 
  1718. executed in the thread. If you select Where from the Debug Session Controls 
  1719. window, the line is highlighted in the view with the highest display order 
  1720. priority. (You select the display order in the Display Order dialog box.) 
  1721. Otherwise the line is highlighted in the view from which you selected the Where 
  1722. pull-down choice. 
  1723.  
  1724.  
  1725. ΓòÉΓòÉΓòÉ 4.1.9. Change file ΓòÉΓòÉΓòÉ
  1726.  
  1727. Select the Change file pull-down choice to specify the file name for the C 
  1728. Set/2* debugger to use as the source for the component in the current view. 
  1729.  
  1730. When you select the Change file pull-down choice, the Change File dialog box is 
  1731. displayed. 
  1732.  
  1733.  
  1734. ΓòÉΓòÉΓòÉ 4.1.10. Restart ΓòÉΓòÉΓòÉ
  1735.  
  1736. Select the Restart pull-down choice to save and terminate the current session, 
  1737. and prepare the program for execution from the beginning with the following 
  1738. restored: 
  1739.  
  1740. o Breakpoints 
  1741. o Monitors (registers, stack, storage, data pop-up windows) 
  1742. o Monitor list information (program, private, and local variables). 
  1743.  
  1744. Note:  Only information relating to the primary thread is restored (for 
  1745. executable files and preloaded DLLs). 
  1746.  
  1747.  
  1748. ΓòÉΓòÉΓòÉ 4.1.11. Close debug ΓòÉΓòÉΓòÉ
  1749.  
  1750. Select the Close debug pull-down choice to close your current debugging 
  1751. session. The Close Debug dialog box prompts you to confirm that you wantto end 
  1752. the debugging session. Click on OK to end the debugging session, or select 
  1753. Cancel to remain in the debugging session. 
  1754.  
  1755.  
  1756. ΓòÉΓòÉΓòÉ 4.2. Edit ΓòÉΓòÉΓòÉ
  1757.  
  1758. You can search for strings of text or for the next occurrence of a search 
  1759. string. 
  1760.  
  1761. Pull-Down Summary 
  1762.  
  1763. Cut 
  1764.   Cut 
  1765.  
  1766. Cut 
  1767.   Copy 
  1768.  
  1769. Cut 
  1770.   Copy 
  1771.  
  1772. Search 
  1773.   Search for strings of text in the active program view. 
  1774.  
  1775. Find next 
  1776.  
  1777.  
  1778. ΓòÉΓòÉΓòÉ 4.2.1. Cut ΓòÉΓòÉΓòÉ
  1779.  
  1780. Select the Cut pull-down choice to search for a 
  1781.  
  1782.  
  1783. ΓòÉΓòÉΓòÉ 4.2.2. Copy ΓòÉΓòÉΓòÉ
  1784.  
  1785. Select the Copy pull-down choice to search for a 
  1786.  
  1787.  
  1788. ΓòÉΓòÉΓòÉ 4.2.3. Paste ΓòÉΓòÉΓòÉ
  1789.  
  1790. Select the Paste pull-down choice to search for a 
  1791.  
  1792.  
  1793. ΓòÉΓòÉΓòÉ 4.2.4. Search ΓòÉΓòÉΓòÉ
  1794.  
  1795. Select the Search pull-down choice to search for a string of text in the active 
  1796. program view. You can search for simple text strings that do not use wildcards. 
  1797. The search is not case-sensitive. The debugger beeps if the text is not found. 
  1798.  
  1799. When you select Search, the Search dialog box appears prompting you to type 
  1800. text string you want to find. If you are searching in the same program part, 
  1801. the default text string is the string you entered the last time you completed 
  1802. the Search pull-down choice for this component. 
  1803.  
  1804.  
  1805. ΓòÉΓòÉΓòÉ 4.2.5. Find next ΓòÉΓòÉΓòÉ
  1806.  
  1807. Select the Find next pull-down choice to search for the next occurrence of a 
  1808. string of text. The last text string that was typed in the Search dialog box 
  1809. for this component is used. 
  1810.  
  1811.  
  1812. ΓòÉΓòÉΓòÉ 4.3. Search ΓòÉΓòÉΓòÉ
  1813.  
  1814. To use the Search dialog box to search for a text string: 
  1815.  
  1816.  1. Type the text string you want to search for in the Enter Search String 
  1817.     entry field. 
  1818.  
  1819.  2. Click on the appropriate pushbutton to end your dialog. 
  1820.  
  1821. Enter Search String 
  1822.  
  1823. Type the text string you want to search for. 
  1824.  
  1825. The search string can have: 
  1826.  
  1827. o Both alphabetic and numeric characters 
  1828. o A maximum of 251 characters 
  1829. o Both uppercase and lowercase characters. 
  1830.  
  1831. If you have already used the Search pull-down choice for this component and in 
  1832. this debugging session, the default value is the string that you typed the last 
  1833. time you used Search. 
  1834.  
  1835.  
  1836. ΓòÉΓòÉΓòÉ 4.3.1. Change File ΓòÉΓòÉΓòÉ
  1837.  
  1838. Use the Change File dialog box to replace the path name or file name of the 
  1839. program you are debugging with a new path name or file name. 
  1840.  
  1841. To replace the file name: 
  1842.  
  1843.  1. Type the path name or file name of the program you are currently debugging 
  1844.     in the Current File field. 
  1845.  
  1846.  2. Type the new path name or file name in the New File field. 
  1847.  
  1848.  3. Click on the appropriate pushbutton to end your dialog. 
  1849.  
  1850. Current File 
  1851.  
  1852. The path name or file name of the program you are currently debugging. It can 
  1853. be up to 251 characters in length. 
  1854.  
  1855. New File 
  1856.  
  1857. The path name or file name of the program with which you want to replace the 
  1858. program you are currently debugging. It can be up to 251 characters in length. 
  1859.  
  1860.  
  1861. ΓòÉΓòÉΓòÉ 4.3.2. Pushbuttons ΓòÉΓòÉΓòÉ
  1862.  
  1863. OK 
  1864.   Click on OK to accept the information you have entered and to close this 
  1865.   dialog box. 
  1866.  
  1867. Apply 
  1868.   Click on Apply to substitute the file name or path name and leave this dialog 
  1869.   box open. 
  1870.  
  1871. Cancel 
  1872.   Click on Cancel to close this dialog box. 
  1873.  
  1874. Help 
  1875.   Click on Help to display help information that tells you how to use this 
  1876.   dialog box. 
  1877.  
  1878.  
  1879. ΓòÉΓòÉΓòÉ 4.4. Variable ΓòÉΓòÉΓòÉ
  1880.  
  1881. Note:  Bit fields are supported for C Set/2 compiled code only. You can display 
  1882. and update bit fields, but you cannot use them in expressions. 
  1883.  
  1884. Note:  You cannot look at variables that have been defined using the define 
  1885.        preprocessor directive. 
  1886.  
  1887. Select choices from the Variable pull-down to display the variables and 
  1888. expressions in your program. You can select the variables or expressions you 
  1889. want to display: 
  1890.  
  1891. o Using the mouse 
  1892.  
  1893. o Using the mouse and the Monitor Expression dialog box 
  1894.  
  1895. o Using the keyboard. 
  1896.  
  1897. You must select an expression with: 
  1898.  
  1899. o A valid operand type 
  1900. o A valid operator 
  1901. o A valid typecasting operation 
  1902.  
  1903. For more information about manipulating the variable monitors, double-click on 
  1904. Using the data pop-up and monitor list windows. 
  1905.  
  1906. Pull-Down Summary 
  1907.  
  1908. Popup expression 
  1909.   Monitors the highlighted variable or expression in a data pop-up window. 
  1910.  
  1911. Add to private monitor 
  1912.   Adds the highlighted variable or expression to the Private Monitor List 
  1913.   window. 
  1914.  
  1915. Add to program monitor 
  1916.   Adds the highlighted variable or expression to the Program Monitor List 
  1917.   window. 
  1918.  
  1919. Monitor expression 
  1920.   Type the variable or expression you want to monitor. 
  1921.  
  1922.  
  1923. ΓòÉΓòÉΓòÉ 4.4.1. Popup expression ΓòÉΓòÉΓòÉ
  1924.  
  1925. Select the Popup expression pull-down choice to monitor the highlighted 
  1926. variable or expression in a data pop-up window. 
  1927.  
  1928.  
  1929. ΓòÉΓòÉΓòÉ 4.4.2. Add to private monitor ΓòÉΓòÉΓòÉ
  1930.  
  1931. Select the Add to private monitor pull-down choice to add the highlighted 
  1932. variable or expression to the Private Monitor List window. 
  1933.  
  1934. To use the Add to private monitor pull-down choice: 
  1935.  
  1936.  1. Highlight the variable or expression you want to monitor by dragging the 
  1937.     mouse across the variable or expression while holding down button 1. 
  1938.  
  1939.  2. Select the Add to private monitor pull-down choice. 
  1940.  
  1941.     The variable or expression you highlighted is added to the Private Monitor 
  1942.     List window. 
  1943.  
  1944.  
  1945. ΓòÉΓòÉΓòÉ 4.4.3. Add to program monitor ΓòÉΓòÉΓòÉ
  1946.  
  1947. Select the Add to program monitor pull-down choice to add the highlighted 
  1948. variable or expression to the Program Monitor List window. 
  1949.  
  1950. To use the Add to program monitor pull-down choice: 
  1951.  
  1952.  1. Highlight the variable or expression you want to monitor by dragging the 
  1953.     mouse across the variable or expression while holding down button 1. 
  1954.  
  1955.  
  1956.  2. Select the Add to program monitor pull-down choice. 
  1957.  
  1958.     The variable or expression you highlighted is added to the Program Monitor 
  1959.     List window. 
  1960.  
  1961.  
  1962. ΓòÉΓòÉΓòÉ 4.4.4. Monitor expression ΓòÉΓòÉΓòÉ
  1963.  
  1964. Select the Monitor expression pull-down choice if you want to use the keyboard 
  1965. to type the variable or expression you want to monitor. The expression you type 
  1966. does not have to be in your program. 
  1967.  
  1968. Note:  If you highlight the expression before selecting the Monitor expression 
  1969. pull-down choice, the expression is automatically placed into the Monitor 
  1970. Expression dialog box. 
  1971.  
  1972. When you select Monitor expression, the Monitor Expression dialog box is 
  1973. displayed. 
  1974.  
  1975.  
  1976. ΓòÉΓòÉΓòÉ 4.4.5. With the Mouse ΓòÉΓòÉΓòÉ
  1977.  
  1978. To select a variable or expression for display using the mouse, use one of the 
  1979. following methods: 
  1980.  
  1981. o Point to any character within the variable name and double-click mouse button 
  1982.   1 
  1983.  
  1984. o Highlight the variable name or expression by dragging the mouse while 
  1985.   pressing mouse button 1, and then double-click mouse button 1 anywhere within 
  1986.   the name. 
  1987.  
  1988. o Highlight the variable name or expression and select Add to program monitor 
  1989.   or Add to private monitor from the Variable pull-down. 
  1990.  
  1991. To select an expression for display using the mouse: 
  1992.  
  1993.  1. Highlight the expression by dragging the mouse while pressing mouse button 
  1994.     1. 
  1995.  2. Double-click mouse button 1 anywhere within the expression. 
  1996.  
  1997.  
  1998. ΓòÉΓòÉΓòÉ 4.4.6. With the Mouse and Monitor Expression ΓòÉΓòÉΓòÉ
  1999.  
  2000. To monitor a variable or an expression using the mouse and the Monitor 
  2001. Expression dialog box, use one of the following methods: 
  2002.  
  2003. o For a single variable name: 
  2004.  
  2005.     1. Highlight the variable name using either of the following methods: 
  2006.  
  2007.       - Point to the variable name and click mouse button 1. 
  2008.  
  2009.       - Point to the variable name and drag the mouse across the entire 
  2010.         variable name while pressing mouse button 1. 
  2011.  
  2012.     2. Select Monitor expression from the Variable pull-down. 
  2013.  
  2014.        The Monitor Expression dialog box appears, and the highlighted variable 
  2015.        name is placed in the Expression entry field. 
  2016.  
  2017.     3. If you want to change the defaults that control how a variable is 
  2018.        displayed in a monitor list or data pop-up window: 
  2019.  
  2020.        a. Click on the Monitor Properties pushbutton to display the Monitor 
  2021.           Properties dialog box. 
  2022.  
  2023.        b. Click on OK to close the Monitor Properties dialog box. 
  2024.  
  2025.     4. Click on OK to close the Monitor Expression dialog box. 
  2026.  
  2027. o For an expression 
  2028.  
  2029.     1. Highlight the expression by pointing to the beginning of the expression 
  2030.        with the mouse and dragging the mouse across the entire expression while 
  2031.        pressing mouse button 1. 
  2032.  
  2033.     2. Select Monitor expression from the Variable pull-down. 
  2034.  
  2035.        The Monitor Expression dialog box appears, and the highlighted 
  2036.        expression is placed in the Expression entry field. 
  2037.  
  2038.     3. If you want to change the defaults that control how a expression is 
  2039.        displayed in a monitor list or data pop-up window: 
  2040.  
  2041.        a. Click on the Monitor Properties pushbutton to display the Monitor 
  2042.           Properties dialog box. 
  2043.  
  2044.        b. Click on OK to close the Monitor Properties dialog box. 
  2045.  
  2046.     4. Click on OK to close the Monitor Expression dialog box. 
  2047.  
  2048.  
  2049. ΓòÉΓòÉΓòÉ 4.4.7. With the Keyboard ΓòÉΓòÉΓòÉ
  2050.  
  2051. To monitor a variable or expression using the keyboard: 
  2052.  
  2053.  1. Select Monitor expression from the Variable pull-down.  The Monitor 
  2054.     Expression dialog box appears. 
  2055.  
  2056.  2. Type the variable or expression in the Expression entry field. 
  2057.  
  2058.  3. If you want to change the defaults that control how a variable or 
  2059.     expression is displayed in a monitor list or data pop-up window: 
  2060.  
  2061.     a. Select Monitor Properties pushbutton to display the Monitor Properties 
  2062.        dialog box. 
  2063.  
  2064.     b. Select OK to close the Monitor Properties dialog box. 
  2065.  
  2066.  4. Select OK to close the Monitor Expression dialog box. 
  2067.  
  2068.  
  2069. ΓòÉΓòÉΓòÉ 4.4.8. Using the Variable Monitors ΓòÉΓòÉΓòÉ
  2070.  
  2071. After you have selected a variable or expression for monitoring, you can: 
  2072.  
  2073. o Use the data manipulation icons 
  2074.  
  2075. o Use the keyboard to move around a monitor list 
  2076.  
  2077. o Enable or disable monitors 
  2078.  
  2079. o Display context 
  2080.  
  2081. o Change the value of a variable or expression 
  2082.  
  2083. o Change the representation of a variable or expression. 
  2084.  
  2085.  
  2086. ΓòÉΓòÉΓòÉ 4.4.9. Keyboard Sequences ΓòÉΓòÉΓòÉ
  2087.  
  2088. You can use various combinations of keys to move around the monitor windows. 
  2089. The key combinations you can use and the function they provide are: 
  2090.  
  2091. Action    Key Sequence 
  2092.  
  2093. Alt+     Move to the next monitor 
  2094.  
  2095. Alt+     Move to the previous monitor 
  2096.  
  2097. Tab       Move to the next monitor part. (The cursor moves in a circular 
  2098.           fashion from part to part. The monitor, itself, is included in the 
  2099.           circular path.) 
  2100.  
  2101. BackTab   Move to the previous monitor part 
  2102.  
  2103. Alt+     Dereference a highlighted pointer 
  2104.  
  2105. Enter     Open or close data structures (structures or arrays) 
  2106.  
  2107. Alt+PageUp, Alt+PageDown Scroll through the monitor list 
  2108.  
  2109. , , PageUp, and PageDown Scroll through the monitor parts 
  2110.  
  2111.  
  2112. ΓòÉΓòÉΓòÉ 4.4.10. Enabling and Disabling Monitors ΓòÉΓòÉΓòÉ
  2113.  
  2114. You can enable or disable monitors. In the enabled state, when the debugger 
  2115. stops, the displayed value in the monitor is changed to reflect the actual 
  2116. value in storage. A disabled monitor suspends this updating, and reflects the 
  2117. value the debugged program held when the monitor was disabled. When a monitor 
  2118. is disabled, the data entry field is greyed and you cannot change the value 
  2119. displayed. When a disabled monitor is enabled, the current program values are 
  2120. displayed. 
  2121.  
  2122.  
  2123. ΓòÉΓòÉΓòÉ 4.4.11. Displaying Context ΓòÉΓòÉΓòÉ
  2124.  
  2125. Monitors display the data value in their context. The context consists of: 
  2126.  
  2127. o Component 
  2128. o Line number 
  2129. o Thread 
  2130. o Variable or expression name. 
  2131.  
  2132.  
  2133. ΓòÉΓòÉΓòÉ 4.4.12. Changing the Value Displayed ΓòÉΓòÉΓòÉ
  2134.  
  2135. You can change the value that is displayed in a monitor. To change the 
  2136. displayed value: 
  2137.  
  2138.  1. Select the monitor with your mouse or the Tab key. The monitor turns black 
  2139.     when it is selected. 
  2140.  
  2141.  2. Type in the new value. 
  2142.  
  2143.  3. Press Enter (or select another part of the debugger). 
  2144.  
  2145.  
  2146. ΓòÉΓòÉΓòÉ 4.4.13. Changing the Representation ΓòÉΓòÉΓòÉ
  2147.  
  2148. You change the representation of the value displayed in a monitor to: 
  2149.  
  2150. o Hexadecimal 
  2151. o Decimal 
  2152. o String 
  2153. o Character 
  2154. o Floating-point 
  2155. o Hexadecimal pointer 
  2156. o Decimal pointer 
  2157. o Array. 
  2158. To change the representation: 
  2159.  
  2160.  1. Select the monitor or data item. 
  2161.  
  2162.  2. Select an alternate representation from the Options  Representation 
  2163.     cascading pull-down menu. The new representation takes effect immediately. 
  2164.  
  2165. Note:  The representation you can select varies with the data type being 
  2166. displayed. 
  2167.  
  2168.  
  2169. ΓòÉΓòÉΓòÉ 4.4.14. Supported Expression Operands ΓòÉΓòÉΓòÉ
  2170.  
  2171. You can monitor an expression that uses the following types of operands only: 
  2172.  
  2173. Variable          A variable 
  2174.  
  2175. Constant          The constant can be one of the following types: 
  2176.  
  2177.    o A fixed or floating-point constant 
  2178.  
  2179.      Note:  The largest floating-point constant is 1.8E308. The smallest 
  2180.      floating-point number supported is 2.23E-308. 
  2181.  
  2182.    o A string constant (enclosed in " ") 
  2183.  
  2184.    o A character constant (enclosed in ' ') 
  2185.  
  2186.    o Segment: Offset address specification (0000:0000) 
  2187.  
  2188.      When you are specifying a segment offset address for monitoring in a 
  2189.      variable monitor window, specify the offset address in the format 
  2190.      0x0000:0x0000. 
  2191.  
  2192. Register          One of the following register names: AX, BX, CX, DX, SP, BP, 
  2193.                   SI, DI, AL, BL, CL, DL, AH, BH, CH, DH, EAX, EBX, ECX, EDX, 
  2194.                   ESP, EBP, ESI, EDI, EIP, CS, DS, ES, FS, GS, SS, EFLAGS. One 
  2195.                   of the following floating-point register names: ST0 through 
  2196.                   ST7, FPCW, FPSW, FPTW, FPEIP, FPCS, FPEDP, FPDS. 
  2197.  
  2198.                   In the case of conflicting names, the program variable names 
  2199.                   take precedence over the register names. For conversions that 
  2200.                   are done automatically when the registers appear in 
  2201.                   mixed-mode expressions. General purpose registers are treated 
  2202.                   as unsigned arithmetic items with a length appropriate to the 
  2203.                   register. For example, EAX is 32 bits, AX is 16 bits, and AL 
  2204.                   is 8 bits. 
  2205.  
  2206.  
  2207. ΓòÉΓòÉΓòÉ 4.4.15. Supported Expression Operators ΓòÉΓòÉΓòÉ
  2208.  
  2209. You can monitor an expression that uses the following types of operators only: 
  2210.  
  2211. Operator                      Coded as 
  2212.  
  2213. Complement                    -a 
  2214. Bitwise negate                ~a 
  2215. Logical negation              !a 
  2216. Dereference                   *a 
  2217. Address of                    &a 
  2218. Multiply                      a * b 
  2219. Divide                        a / b 
  2220. Modulo                        a % b 
  2221. Add                           a + b 
  2222. Subtract                      a - b 
  2223. Shift left                    a << b 
  2224. Shift right                   a >> b 
  2225. Less than                     a < b 
  2226. Greater than                  a > b 
  2227. Less than or equal to         a <= b 
  2228. Greater than or equal to      a >= b 
  2229. Equal                         a == b 
  2230. Not equal                     a != b 
  2231. Bitwise AND                   a & b 
  2232. Bitwise OR                    a | b 
  2233. Bitwise exclusive OR          a ╨║ b 
  2234. Logical AND                   a && b 
  2235. Logical OR                    a || b 
  2236. Structure element             a.b 
  2237. Array element                 a[b] 
  2238. Subfield select               a->b 
  2239. Segment: Offset address specification When you are specifying a segment offset 
  2240.                               address for monitoring in a variable monitor 
  2241.                               window, specify the offset address in the format 
  2242.                               0x0000:0x0000. 
  2243. Cast                          (dt)(exp), where dt is one of the supported data 
  2244.                               types, and exp is an expression that evaluates to 
  2245.                               one of these data types. 
  2246.  
  2247.  
  2248. ΓòÉΓòÉΓòÉ 4.4.16. Supported Data Types ΓòÉΓòÉΓòÉ
  2249.  
  2250. You can monitor an expression that uses the following typecasting operations 
  2251. only: 
  2252.  
  2253. o 8 bit signed byte 
  2254. o 8 bit unsigned byte 
  2255. o 16 bit signed integer 
  2256. o 16 bit unsigned integer 
  2257. o 32 bit signed integer 
  2258. o 32 bit unsigned integer 
  2259. o 32 bit floating-point 
  2260. o 64 bit floating-point 
  2261. o 80 bit floating-point 
  2262. o Pointers. 
  2263.  
  2264.  
  2265. ΓòÉΓòÉΓòÉ 4.5. Monitor Expression ΓòÉΓòÉΓòÉ
  2266.  
  2267. Use this dialog box to type in the expression that you want to monitor. 
  2268.  
  2269. This dialog box lists the following contextual information: 
  2270.  
  2271. o The component you are in 
  2272. o The view of the program that is active 
  2273. o The line of the source code active (highlighted) 
  2274. o The thread you are in. 
  2275.  
  2276. The expression language supported by the debugger is a subset of the C 
  2277. language. You can monitor only expressions with: 
  2278.  
  2279. o A supported operand type 
  2280. o A supported operator 
  2281. o A supported typecasting operation. 
  2282.  
  2283. To specify an expression to be monitored: 
  2284.  
  2285.  1. Type the variable or expression you want to monitor. 
  2286.  
  2287.  2. Click on the Monitor properties pushbutton. The Monitor Properties dialog 
  2288.     box appear 
  2289.  
  2290.  3. If you want the context of the monitored variable or expression to be 
  2291.     displayed, select the Show context check box. 
  2292.  
  2293.  4. Select a radio button from under the Monitor location group heading to 
  2294.     indicate the window where you want the variable or expression to be 
  2295.     monitored. 
  2296.  
  2297.  5. If you want the displayed contents of the monitored variable or expression 
  2298.     to be updated as the program executes, select the Enabled check box. 
  2299.  
  2300.  6. If you selected Popup in step 4, select a radio button from under the 
  2301.     Duration group heading to indicate when you want the monitor window to 
  2302.     close. 
  2303.  
  2304.  7. Select Save settings to save your selections for the next debugging 
  2305.     session. 
  2306.  
  2307.  8. Click on the appropriate  pushbutton to end the dialog. 
  2308.  
  2309. Expression 
  2310.  
  2311. Type the variable name or expression you want to monitor. 
  2312.  
  2313. The following fields are in the Monitor Properties dialog box: 
  2314.  
  2315. Show context 
  2316.  
  2317. Select the Show context check box to display the context of the variable or 
  2318. expression as well as the contents of the variable or expression. 
  2319.  
  2320. Monitor location 
  2321.  
  2322. Select a radio button to choose the window in which you want the variable or 
  2323. expression monitored. The radio buttons and the corresponding windows are: 
  2324.  
  2325. Popup          A data pop-up window 
  2326.  
  2327. Private        The Private Monitor List window 
  2328.  
  2329. Program        The Program Monitor List window. 
  2330.  
  2331. Enabled 
  2332.  
  2333. Select the Enabled check box to update the displayed contents of the variable 
  2334. or expression as the program executes. 
  2335.  
  2336. Duration 
  2337.  
  2338. Select a radio button to choose when you want the monitor window to close: 
  2339.  
  2340. Step/run       The monitor window closes when the next step command or Run is 
  2341.                executed. 
  2342.  
  2343. New part       The monitor window closes when a new component is entered. 
  2344.  
  2345. Permanent      The monitor window stays open for the remainder of the debugging 
  2346.                session. 
  2347.  
  2348.  
  2349. ΓòÉΓòÉΓòÉ 4.6. Thread ΓòÉΓòÉΓòÉ
  2350.  
  2351. Select choices from the Thread pull-down to control whether or not a 
  2352. highlighted thread will be executed when the program runs, to display the 
  2353. automatic variables for the current line, to display the Program Monitor List 
  2354. window, to display the Private Monitor List window, and to display information 
  2355. about the storage, registers, and call stacks. 
  2356.  
  2357. Pull-Down Summary 
  2358.  
  2359. Enabled 
  2360.   Enable or disable the highlighted thread. 
  2361.  
  2362. Show 
  2363.   Display information about the current program and environment. 
  2364.  
  2365.  
  2366. ΓòÉΓòÉΓòÉ 4.6.1. Show ΓòÉΓòÉΓòÉ
  2367.  
  2368. Select choices from the Show cascading menu to display information about the 
  2369. current program and environment. 
  2370.  
  2371. Pull-Down Summary 
  2372.  
  2373. Local variables 
  2374.   Display the local variables for the program's current line. 
  2375.  
  2376. Registers 
  2377.   Monitor registers and flags for a particular thread. 
  2378.  
  2379. Stack 
  2380.   Monitor the call chain stack for a particular thread. 
  2381.  
  2382. Private monitor 
  2383.   Create or focus the Private Monitor List window. 
  2384.  
  2385. Program monitor 
  2386.   Create or focus the Program Monitor List window. 
  2387.  
  2388. Storage 
  2389.   Monitor the storage that a program thread is using. 
  2390.  
  2391.  
  2392. ΓòÉΓòÉΓòÉ 4.7. Run ΓòÉΓòÉΓòÉ
  2393.  
  2394. Select choices from the Run pull-down to control the execution of your program. 
  2395. The execution of the line of code is reflected in all open views. You can 
  2396. choose from several ways to step through your program, or you can execute your 
  2397. program until a breakpoint is encountered or your program is terminated. 
  2398.  
  2399. You can access any of the choices in the Run pull-down by using the shortcut 
  2400. keys. In the case of the Step over command, you can use the mouse. 
  2401.  
  2402. When you select a choice from the Run pull-down, a clock icon indicates that 
  2403. the application is running and might require input to continue to the next 
  2404. breakpoint or termination of the program. 
  2405.  
  2406. Pull-Down Summary 
  2407.  
  2408. Step over 
  2409.   Execute the current line and step over any called functions. 
  2410.  
  2411. Step into 
  2412.   Step into any called program or function. 
  2413.  
  2414. Step return 
  2415.   Step through the current function until the return is executed. 
  2416.  
  2417. Step debug 
  2418.   Execute the current line in the program. 
  2419.  
  2420. Run 
  2421.   Execute the program from the current line until a breakpoint is encountered 
  2422.   or the program terminates. 
  2423.  
  2424. Run to location 
  2425.   Execute your program from the current line up to the line that is highlighted 
  2426.   with gray in the prefix area. 
  2427.  
  2428. Go to location 
  2429.  
  2430. Halt step or run 
  2431.   Interrupt the program you are debugging. 
  2432.  
  2433. Animate 
  2434.   Automatically repeat Step over commands. 
  2435.  
  2436.  
  2437. ΓòÉΓòÉΓòÉ 4.7.1. Step debug ΓòÉΓòÉΓòÉ
  2438.  
  2439. Select the Step debug pull-down choice to execute the current line in the 
  2440. program. The debugger steps over any function for which debug information is 
  2441. not available, (for example, library and system functions) and steps into any 
  2442. function for which debugging information is available. The execution of the 
  2443. line of code is reflected in all open views. 
  2444.  
  2445.  
  2446. ΓòÉΓòÉΓòÉ 4.7.2. Step into ΓòÉΓòÉΓòÉ
  2447.  
  2448. Select the Step into pull-down choice to execute the current line and enter any 
  2449. called program, or function. 
  2450.  
  2451.  
  2452. ΓòÉΓòÉΓòÉ 4.7.3. Step over ΓòÉΓòÉΓòÉ
  2453.  
  2454. Select the Step over pull-down choice to execute the current line of the 
  2455. program, without entering any called function. You can also access the Step 
  2456. over function by placing the mouse cursor in a program view window and 
  2457. single-clicking mouse button 2 to execute one line. 
  2458.  
  2459. All enabled threads will continue executing. 
  2460.  
  2461. Note:  The debugger stops in a called function if it encounters a breakpoint. 
  2462.  
  2463.  
  2464. ΓòÉΓòÉΓòÉ 4.7.4. Step return ΓòÉΓòÉΓòÉ
  2465.  
  2466. Select the Step return pull-down choice to automatically execute the lines of 
  2467. code up to, and including, the return statement of the current function (unless 
  2468. a breakpoint is encountered). 
  2469.  
  2470. Note:  If a user program steps into a system routine that does not chain the 
  2471. EBP register, the Step return function will return to the statement following 
  2472. the call to the routine that calls the system routine, not the statement after 
  2473. the call to the system routine. 
  2474.  
  2475. All enabled threads will continue executing. 
  2476.  
  2477. Note:  This function is unavailable if you are debugging a PM application. 
  2478.  
  2479.  
  2480. ΓòÉΓòÉΓòÉ 4.7.5. Run ΓòÉΓòÉΓòÉ
  2481.  
  2482. Select the Run pull-down choice to execute the program, including all enabled 
  2483. threads, from the current line until a breakpoint is encountered or the program 
  2484. is terminated. 
  2485.  
  2486.  
  2487. ΓòÉΓòÉΓòÉ 4.7.6. Run to location ΓòÉΓòÉΓòÉ
  2488.  
  2489. You can execute your program from the current line up to the line that is 
  2490. highlighted with gray in the prefix area. The Run to location choice stops only 
  2491. on executable lines. If a highlighted line is not encountered, the run is not 
  2492. performed. 
  2493.  
  2494. To use the Run to location pull-down choice: 
  2495.  
  2496.  1. Single-click in the prefix area of the line you want to become the current 
  2497.     line. 
  2498.  
  2499.     The prefix area turns gray. 
  2500.  
  2501.  2. Select the Run to cursor pull-down choice. 
  2502.  
  2503.     The program is executed up to the line that you marked. 
  2504.  
  2505.  
  2506. ΓòÉΓòÉΓòÉ 4.7.7. Go to location ΓòÉΓòÉΓòÉ
  2507.  
  2508. To use the Go to location pull-down choice: 
  2509.  
  2510.      1.
  2511.  
  2512.  
  2513. ΓòÉΓòÉΓòÉ 4.7.8. Halt step or run ΓòÉΓòÉΓòÉ
  2514.  
  2515. Select the Halt step or run pull-down choice to interrupt the program that you 
  2516. are debugging. You can also access this pull-down choice by pressing SysRq 
  2517. (Alt+PrintScreen). 
  2518.  
  2519.  
  2520. ΓòÉΓòÉΓòÉ 4.7.9. Animate ΓòÉΓòÉΓòÉ
  2521.  
  2522. When you select Animate, the debugger automatically performs Step over 
  2523. commands. As the program runs, the position of the current line changes and the 
  2524. values of the monitored variables correspondingly change in the monitor 
  2525. windows. 
  2526.  
  2527. To stop the animation, select Animate again or press SysRq (Alt + Print 
  2528. Screen). 
  2529.  
  2530.  
  2531. ΓòÉΓòÉΓòÉ 4.8. Options ΓòÉΓòÉΓòÉ
  2532.  
  2533. Select choices from the Options pull-down to change the parameters that control 
  2534. how your program is displayed and executed, and to set the default settings for 
  2535. the variable monitor windows. 
  2536.  
  2537. Pull-Down Summary 
  2538.  
  2539. Fonts 
  2540.   Select the font you want to use for the text displayed in the active window. 
  2541.  
  2542. Session settings 
  2543.   Set various debugger options. 
  2544.  
  2545. Debug session controls 
  2546.   Activate the Debug Session Controls window and moves it in front of any other 
  2547.   windows that are open. 
  2548.  
  2549.  
  2550. ΓòÉΓòÉΓòÉ 4.8.1. Monitor properties ΓòÉΓòÉΓòÉ
  2551.  
  2552. Select the Monitor Properties pull-down choice to select the default settings 
  2553. for monitoring variables or expressions. 
  2554.  
  2555. When you select the Monitor properties pull-down choice, the Monitor Properties 
  2556. dialog box is displayed. 
  2557.  
  2558.  
  2559. ΓòÉΓòÉΓòÉ 4.8.2. Monitor Properties ΓòÉΓòÉΓòÉ
  2560.  
  2561. Use the Monitor Properties dialog box to select the default settings for 
  2562. monitoring variables or expressions. You can set the following default options: 
  2563.  
  2564. o Whether or not the context for variables or expressions is displayed in the 
  2565.   variable monitor windows 
  2566.  
  2567. o The window into which the variable or expression being monitored is placed 
  2568.  
  2569. o Whether or not the displayed contents of the variable or expression are 
  2570.   updated as the state of the program changes. 
  2571.  
  2572. o For data pop-up windows, the duration of time that the monitor windows are 
  2573.   displayed. 
  2574.  
  2575. After you have selected the settings you want from this dialog box, click on 
  2576. one of the pushbuttons to complete your dialog. 
  2577.  
  2578. For a description of the option settings that you can select from this dialog 
  2579. box, double-click on one of the following topics: 
  2580.  
  2581. o Show context 
  2582. o Monitor location 
  2583. o Enabled 
  2584. o Duration 
  2585.  
  2586.  
  2587. ΓòÉΓòÉΓòÉ 4.8.3. Show context ΓòÉΓòÉΓòÉ
  2588.  
  2589. Select the Show context check box to display the context for variables or 
  2590. expressions when they are selected for monitoring. 
  2591.  
  2592.  
  2593. ΓòÉΓòÉΓòÉ 4.8.4. Monitor location ΓòÉΓòÉΓòÉ
  2594.  
  2595. Choose one of the following radio buttons to select the default type of monitor 
  2596. window that is opened when a variable or expression is selected for monitoring. 
  2597. The selections you can make and the corresponding windows are: 
  2598.  
  2599. Popup               Display the variable or expression in a variable data 
  2600.                     pop-up window. 
  2601.  
  2602. Private monitor     Display the variable or expression in a Private Monitor 
  2603.                     List window. 
  2604.  
  2605. Program monitor     Display the variable or expression in a Program Monitor 
  2606.                     List window. 
  2607.  
  2608.  
  2609. ΓòÉΓòÉΓòÉ 4.8.5. Enabled ΓòÉΓòÉΓòÉ
  2610.  
  2611. Select the Enabled check box to update the displayed contents of variables or 
  2612. expressions when they are selected for monitoring. 
  2613.  
  2614.  
  2615. ΓòÉΓòÉΓòÉ 4.8.6. Duration ΓòÉΓòÉΓòÉ
  2616.  
  2617. If you select Popup from under the Monitor location group heading, select one 
  2618. of the following radio buttons to select the default length of time that the 
  2619. data pop-up window will stay displayed: 
  2620.  
  2621. Step/run        The monitor window closes when the next step command or Run is 
  2622.                 executed. 
  2623.  
  2624. New part        The monitor window closes when a new component is entered. 
  2625.  
  2626. Permanent       The monitor window stays open for the remainder of the 
  2627.                 debugging session. 
  2628.  
  2629.  
  2630. ΓòÉΓòÉΓòÉ 4.8.7. Initial Window Placement ΓòÉΓòÉΓòÉ
  2631.  
  2632. Select the Initial window placement pull-down choice to set the position and 
  2633. size of the debugger windows when they are first created. When you select 
  2634. Initial window placement, the Initial Window Placement dialog box is displayed. 
  2635.  
  2636.  
  2637. ΓòÉΓòÉΓòÉ 4.8.8. Profile ΓòÉΓòÉΓòÉ
  2638.  
  2639. Select the Profile pull-down choice to specify the location in which you want 
  2640. the IPMD.INI file placed, or to delete restart information for a program that 
  2641. you have debugged. 
  2642.  
  2643. Pull-Down Summary 
  2644.  
  2645. Change location 
  2646.   Allows you to change the location of the file that holds the debugger 
  2647.   settings. 
  2648.  
  2649. Delete restart information 
  2650.   Allows you to delete restart information for a program that you have 
  2651.   debugged. 
  2652.  
  2653.  
  2654. ΓòÉΓòÉΓòÉ 4.8.9. Change location ΓòÉΓòÉΓòÉ
  2655.  
  2656. Select the Change location pull-down choice to specify the location in which 
  2657. you want the IPMD.INI file placed. The IPMD.INI file contains your selections 
  2658. for most of the debugger options and the restart information. You choose 
  2659. whether or not you want your selections saved for the next debugging session by 
  2660. selecting Save settings at the time you make your selections in an option 
  2661. dialog box. 
  2662.  
  2663. When you select the Change location pull-down choice, the Change Location 
  2664. dialog box appears displayed. 
  2665.  
  2666.  
  2667. ΓòÉΓòÉΓòÉ 4.8.10. Delete restart information ΓòÉΓòÉΓòÉ
  2668.  
  2669. Select the Delete restart information pull-down choice to delete restart 
  2670. information for a program that you have previously debugged. 
  2671.  
  2672. When you select Delete restart information, the Delete Restart Information 
  2673. dialog box is displayed. 
  2674.  
  2675.  
  2676. ΓòÉΓòÉΓòÉ 4.8.11. Delete Restart Information ΓòÉΓòÉΓòÉ
  2677.  
  2678. Use the Delete Restart Information dialog box to delete the restart information 
  2679. from the IPMD.INI file for a program that you have previously debugged. 
  2680.  
  2681. Note:  You can delete restart information to minimize the amount of space your 
  2682. IPMD.INI file takes up. 
  2683.  
  2684. To delete restart information: 
  2685.  
  2686.  1. Select the path names of the programs whose restart information you want to 
  2687.     delete. 
  2688.  
  2689.  2. Click on the Delete pushbutton. 
  2690.  
  2691.  3. Click on Cancel to close the Delete Restart Information dialog box. 
  2692.  
  2693.  
  2694. ΓòÉΓòÉΓòÉ 4.8.12. Initial Window Placement ΓòÉΓòÉΓòÉ
  2695.  
  2696. Use the Initial Window Placement dialog box to set the position and size of the 
  2697. debugger windows when they are first opened. The windows you can edit this way 
  2698. are: 
  2699.  
  2700. o Local Monitor 
  2701. o Debug Session Controls 
  2702. o Monitor List 
  2703. o Register 
  2704. o Source, Disassembly, or Mixed 
  2705. o Stack 
  2706. o Storage. 
  2707.  
  2708. The rectangle area under the Window group heading represents your screen. The 
  2709. Width and Height of the representational screen are shown under the Screen Size 
  2710. group heading. 
  2711.  
  2712. Double-click on one of the following topics to see the procedures for changing 
  2713. the initial opening position and opening size of the windows: 
  2714.  
  2715. o Changing Initial Opening Positions 
  2716. o Changing Initial Opening Sizes 
  2717.  
  2718. Click on one of the pushbuttons to complete your dialog. 
  2719.  
  2720. Window Title List Box 
  2721.  
  2722. Use the window title list to select the title of the window you want to edit. 
  2723. (The titles might not be fully displayed for all of the windows.) Select the 
  2724. arrow to open the window title list. Then, highlight the title of the window 
  2725. you want to edit. The new title is displayed in the window title entry field. 
  2726.  
  2727. Placement Values 
  2728.  
  2729. X         The coordinate of the horizontal axis. 
  2730.  
  2731. Y         The coordinate of the vertical axis. 
  2732.  
  2733. Width     The width of the window, in units. 
  2734.  
  2735. Height    The height of the window in units. 
  2736.  
  2737. Click on the Edit Window pushbutton to make the window displayed in the window 
  2738. title entry field, the current window. 
  2739.  
  2740. Screen Size 
  2741.  
  2742. Under the Screen Size group heading are displayed the maximum height and width 
  2743. for a window with coordinates (0,0). 
  2744.  
  2745. Note:  The sum of the X coordinate and the Width cannot be greater than the 
  2746. value displayed under the Screen Size group heading. The sum of the Y 
  2747. coordinate and the Height cannot be greater than the value displayed under the 
  2748. Screen Size group heading. 
  2749.  
  2750.  
  2751. ΓòÉΓòÉΓòÉ 4.8.13. Changing Initial Opening Positions ΓòÉΓòÉΓòÉ
  2752.  
  2753. You can move any window to a new opening position by dragging it with the 
  2754. mouse. The new X (horizontal axis) and Y (vertical axis) coordinates are 
  2755. displayed after it has been moved. 
  2756.  
  2757. You can also change the opening position of a window by doing the following: 
  2758.  
  2759.  1. Select the window you want to edit in either of the following ways: 
  2760.  
  2761.    o With the mouse 
  2762.  
  2763.    o By selecting the arrow in the window title entry field to open the window 
  2764.      title list, and highlighting the title of the window you want to 
  2765.      reposition. 
  2766.  
  2767.      The window you have chosen to edit is now displayed in the window title 
  2768.      entry field. 
  2769.  
  2770.  2. Click on the Edit pushbutton. 
  2771.  
  2772.  3. Type in the new X (horizontal axis) and Y (vertical axis) coordinates. 
  2773.  
  2774.     The position of the window changes as you type in the new coordinates. 
  2775.  
  2776.     Note:  The sum of the X coordinate and the Width cannot be greater than the 
  2777.     value displayed under the Screen Size group heading. The sum of the Y 
  2778.     coordinate and the Height cannot be greater than the value displayed under 
  2779.     the Screen Size group heading. 
  2780.  
  2781.  4. Click on the appropriate pushbutton to complete your dialog. 
  2782.  
  2783.  
  2784. ΓòÉΓòÉΓòÉ 4.8.14. Changing Initial Opening Sizes ΓòÉΓòÉΓòÉ
  2785.  
  2786. You can change the opening size of a window by dragging it with the mouse. The 
  2787. new Width and Height are displayed after you have resized it. 
  2788.  
  2789. You can also change the opening size of a window by doing the following: 
  2790.  
  2791.  1. Select the window you want to edit in either of the following ways: 
  2792.  
  2793.    o With the mouse 
  2794.  
  2795.    o By selecting the arrow in the window title entry field to open the title 
  2796.      list, and highlighting the title of the window you want to resize. 
  2797.  
  2798.      The window you have chosen to edit is now displayed in the window title 
  2799.      entry field. 
  2800.  
  2801.  2. Click on the Edit pushbutton. 
  2802.  
  2803.  3. Type in the new Height and Width values. 
  2804.  
  2805.     The size of the window changes as you type in the new values. 
  2806.  
  2807.     Note:  The sum of the X coordinate and the Width cannot be greater than 
  2808.     640. The sum of the Y coordinate and the Height cannot be greater than 480. 
  2809.  
  2810.  4. Click on the appropriate pushbutton to complete your dialog. 
  2811.  
  2812.  
  2813. ΓòÉΓòÉΓòÉ 4.8.15. Pushbuttons ΓòÉΓòÉΓòÉ
  2814.  
  2815. OK 
  2816.   Click on OK to accept the information you have entered and to close this 
  2817.   dialog box. 
  2818.  
  2819. Reset 
  2820.   Click on Reset to clear any changes you have made in this dialog session. 
  2821.  
  2822. Default 
  2823.   Click on Default to replace the current window positions and sizes with the 
  2824.   debugger defaults. 
  2825.  
  2826. Cancel 
  2827.   Click on Cancel to close this dialog box. 
  2828.  
  2829. Help 
  2830.   Click on Help to display help information that tells you how to use this 
  2831.   dialog box. 
  2832.  
  2833.  
  2834. ΓòÉΓòÉΓòÉ 4.8.16. Change Location ΓòÉΓòÉΓòÉ
  2835.  
  2836. Use the Change Location dialog box to specify the directory where you want the 
  2837. IPMD.INI default options file saved. 
  2838.  
  2839. After you have completed your dialog, click on the appropriate pushbutton. 
  2840.  
  2841. Path 
  2842.  
  2843. Type the full path name of the directory where you want the IPMD.INI file 
  2844. stored. The path name can be a maximum of 251 characters. 
  2845.  
  2846.  
  2847. ΓòÉΓòÉΓòÉ 4.8.17. Pushbuttons ΓòÉΓòÉΓòÉ
  2848.  
  2849. OK 
  2850.   Click on OK to accept the information you have entered and to close this 
  2851.   dialog box. 
  2852.  
  2853. Reset 
  2854.   Click on Reset to clear any changes you have made in this dialog session. 
  2855.  
  2856. Default 
  2857.   Click on Default to replace the current settings with the debugger default 
  2858.   options. 
  2859.  
  2860. Cancel 
  2861.   Click on Cancel to close this dialog box. 
  2862.  
  2863. Help 
  2864.   Click on Help to display help information that tells you how to use this 
  2865.   dialog box. 
  2866.  
  2867.  
  2868. ΓòÉΓòÉΓòÉ 4.8.18. Fonts ΓòÉΓòÉΓòÉ
  2869.  
  2870. Select the Fonts pull-down choice to set the font you want to use for the text 
  2871. that is displayed in the active window. The Font Selection dialog box is 
  2872. displayed. 
  2873.  
  2874.  
  2875. ΓòÉΓòÉΓòÉ 4.8.19. Private monitor ΓòÉΓòÉΓòÉ
  2876.  
  2877. Select the Private monitor pull-down choice to create or focus the Private 
  2878. Monitor List window. 
  2879.  
  2880.  
  2881. ΓòÉΓòÉΓòÉ 4.8.20. Program monitor ΓòÉΓòÉΓòÉ
  2882.  
  2883. Select the Program monitor pull-down choice to create or focus the Program 
  2884. Monitor List window. 
  2885.  
  2886.  
  2887. ΓòÉΓòÉΓòÉ 4.8.21. Animation rate ΓòÉΓòÉΓòÉ
  2888.  
  2889. Select the Animation rate pull-down choice to set the rate that you will 
  2890. automatically step through your program. 
  2891.  
  2892. When you select Animation rate, the Animation Rate dialog box is displayed. 
  2893.  
  2894.  
  2895. ΓòÉΓòÉΓòÉ 4.8.22. Display order ΓòÉΓòÉΓòÉ
  2896.  
  2897. Select the Display order pull-down choice to determine how your threads and 
  2898. components are initially displayed and how they are handled when they halt or 
  2899. are no longer active. When you select Display order, the Display Order dialog 
  2900. box is displayed. 
  2901.  
  2902.  
  2903. ΓòÉΓòÉΓòÉ 4.9. Font Selection ΓòÉΓòÉΓòÉ
  2904.  
  2905. Use this dialog box to change the font that is used for the text displayed in 
  2906. this window. You can select larger fonts to make the text larger in the windows 
  2907. or you can use smaller fonts to display more text at one time. The font is 
  2908. immediately applied to the current window. If you select the Save settings 
  2909. option, it is applied to all new windows. 
  2910.  
  2911. The Selection prompt displays the font that is currently being used. 
  2912.  
  2913. To select a new font: 
  2914.  
  2915.  1. Highlight the font that you want in the Font Family scroll box. 
  2916.  
  2917.     The font you selected is placed under the Current Font Selection group 
  2918.     heading, and a sample of the font is displayed beside the Font Sample 
  2919.     prompt. 
  2920.  
  2921.  2. Click on the appropriate  pushbutton to end your dialog. 
  2922.  
  2923. Note:  You can also double-click on the font you want, to select the font and 
  2924. to close the dialog box at the same time. 
  2925.  
  2926.  
  2927. ΓòÉΓòÉΓòÉ 4.9.1. Pushbuttons ΓòÉΓòÉΓòÉ
  2928.  
  2929. OK 
  2930.   Click on OK to accept the information you have entered and to close this 
  2931.   dialog box. 
  2932.  
  2933. Apply 
  2934.   Click on Apply to apply the font to the window. The change applies only until 
  2935.   you close the dialog box. Click on OK to select the new font. 
  2936.  
  2937. Reset 
  2938.   Click on Reset to change the font back to your earlier selection. 
  2939.  
  2940. Default 
  2941.   Click on Default to replace the current font selection with the default font. 
  2942.   The default font is System Monospaced 8x8. 
  2943.  
  2944. Cancel 
  2945.   Click on Cancel to close this dialog box. 
  2946.  
  2947. Help 
  2948.   Click on Help to display help information that tells you how to use this 
  2949.   dialog box. 
  2950.  
  2951.  
  2952. ΓòÉΓòÉΓòÉ 4.10. Display Order ΓòÉΓòÉΓòÉ
  2953.  
  2954. Use this dialog box to define: 
  2955.  
  2956. o The program view that is to be displayed when the C Set/2* debugger is 
  2957.   started and when a program view is first displayed in the course of debugging 
  2958.  
  2959. o How to process view windows from which execution has just left. These 
  2960.   components and threads can: 
  2961.  
  2962.    - Remain displayed 
  2963.    - Be turned into an Icon 
  2964.    - Be discarded. 
  2965.  
  2966. o Whether or not the Old part disposition is applied to all of the view windows 
  2967.   for all threads, or applied to all of the view windows except for the view 
  2968.   windows of the stopping thread. 
  2969.  
  2970. New part view priority 
  2971.  
  2972. When a program view is created, this setting indicates the view that is to be 
  2973. displayed (subject to the availability of the source code). 
  2974.  
  2975. The views that can be displayed are: 
  2976.  
  2977. Source                Displays the source code for the thread or component that 
  2978.                       has started 
  2979.  
  2980. Disassembly           Displays the unassembled machine code for the thread or 
  2981.                       component that has started 
  2982.  
  2983. Mixed                 Displays a line of source code followed by the compressed 
  2984.                       image code for that line of source code. The Mixed view 
  2985.                       is displayed for the thread or component that has 
  2986.                       started. 
  2987.  
  2988. The default New part view priority is Source. 
  2989.  
  2990. You can change the priority by dragging the view icons with mouse button 2 to 
  2991. arrange the items in the order you want, and you can use the tab keys to move 
  2992. around to the other parts of the dialog box. You can also rearrange the view 
  2993. icons using the Alt+Up and Alt+Down arrow keystrokes. 
  2994.  
  2995. You can choose to display the program views in the New part view priority as 
  2996. icons or text. Click on the appropriate pushbutton to set the display mode. 
  2997.  
  2998. Old part disposition 
  2999.  
  3000. In the course of debugging, these selections allow you to control the behavior 
  3001. of view windows from which execution has just left. The Old part disposition 
  3002. controls the behavior of view windows within a thread. 
  3003.  
  3004. The dispositions that the views can take are: 
  3005.  
  3006. Keep           Leaves open the views that contain the components and threads 
  3007.                that you select with Display at stop. 
  3008.  
  3009. Iconize        Changes into icons the views that contain the components and 
  3010.                threads that you select with Display at stop. 
  3011.  
  3012. Discard        Disposes of the views that contain the components and threads 
  3013.                that you select with Display at stop. 
  3014.  
  3015. The default Old part disposition is Discard. 
  3016.  
  3017. Display at stop 
  3018.  
  3019. You can control how many windows are displayed at one time by centralizing the 
  3020. visual activity only on part windows that apply to the thread that stops 
  3021. execution. The Display at stop selections control the behavior of view windows 
  3022. across threads. 
  3023.  
  3024. The choices are: 
  3025.  
  3026. Only stopping thread     Either keeps, iconizes, or discards all views that are 
  3027.                          not the stopping thread. 
  3028.  
  3029. All threads              Keeps, iconizes, or discards the views for old 
  3030.                          components within each thread. 
  3031.  
  3032. For example, if you select Only stopping thread, the Old part disposition 
  3033. applies to all of the view windows except the current view of the stopping 
  3034. thread. If you select All threads, the Old part disposition applies only to the 
  3035. view windows for the components from which execution has just left within a 
  3036. thread. 
  3037.  
  3038. The default Display at stop choice is Only stopping thread. 
  3039.  
  3040. Save session settings 
  3041.  
  3042. You can choose to save your selections for the next debugging session. This is 
  3043. the default. 
  3044.  
  3045. Save as Notebook 
  3046.  
  3047. You can choose to save your session in a notebook format. This is the default. 
  3048.  
  3049. Click on the appropriate pushbutton to complete your dialog. 
  3050.  
  3051.  
  3052. ΓòÉΓòÉΓòÉ 5. Storage ΓòÉΓòÉΓòÉ
  3053.  
  3054. Use the Storage window to view and update the contents of the storage used by 
  3055. your program. 
  3056.  
  3057. You can open multiple storage windows to view different storage locations at 
  3058. the same time. When of the state of your program changes, the contents of the 
  3059. Storage window is updated to reflect the change. 
  3060.  
  3061. Storage can be displayed in various styles. You can display only one storage 
  3062. style at a time. 
  3063.  
  3064. To scroll through memory, use one of the following methods: 
  3065.  
  3066. o Scroll bars 
  3067. o Up and Down cursor keys 
  3068. o PageUp and PageDown keys. 
  3069.  
  3070. You can update the contents of storage, or you can view the contents of storage 
  3071. at a new address location. Double-click on one of the following topics to find 
  3072. out how to update the contents of storage or specify a new address location: 
  3073.  
  3074. o Update storage method 
  3075. o Specify address location method. 
  3076.  
  3077. Menu Bar Summary 
  3078.  
  3079. Options 
  3080.   Set options that control how the storage content and addresses are displayed, 
  3081.   set the debugger options, and display additional window control attributes. 
  3082.  
  3083. Help 
  3084.   Provides you with several kinds of help information. 
  3085.  
  3086.  
  3087. ΓòÉΓòÉΓòÉ 5.1. Storage Display Styles ΓòÉΓòÉΓòÉ
  3088.  
  3089. Storage can be displayed in the following value styles: 
  3090.  
  3091. o Hexadecimal and character text (default) 
  3092. o Character text 
  3093. o 16 bit integer 
  3094. o 16 bit unsigned integer 
  3095. o 16 bit integer in hexadecimal (byte reversed) 
  3096. o 32 bit integer 
  3097. o 32 bit unsigned integer 
  3098. o 32 bit integer in hexadecimal (byte reversed) 
  3099. o 32 bit floating point 
  3100. o 64 bit floating point 
  3101. o 80 bit floating point 
  3102. o 16 bit near pointers 
  3103. o 16:16 bit far pointers 
  3104. o 32 bit flat pointers. 
  3105.  
  3106. Storage can be displayed in the following address styles: 
  3107.  
  3108. o Flat and 16:16 
  3109. o Flat only 
  3110. o 16:16 only. 
  3111.  
  3112. You can also change the number of bytes per line that are displayed. This 
  3113. number varies depending on the content style you have selected. 
  3114.  
  3115.  
  3116. ΓòÉΓòÉΓòÉ 5.2. Update storage methods ΓòÉΓòÉΓòÉ
  3117.  
  3118. To update the contents of storage, type over the current contents in the 
  3119. storage field. 
  3120.  
  3121. The contents of storage are updated on a character-by-character basis. As each 
  3122. character is changed, the window scrolls to the appropriate storage location. 
  3123.  
  3124.  
  3125. ΓòÉΓòÉΓòÉ 5.3. Specify address location methods ΓòÉΓòÉΓòÉ
  3126.  
  3127. To view the storage at a different address, type over the contents of the 
  3128. address field with the new address. You can choose to update either the Flat 
  3129. address field or the 16:16 address field. 
  3130.  
  3131. The contents of the address are updated on a character-by-character basis. The 
  3132. Storage window is scrolled to the appropriate address each time you change a 
  3133. character in the address. 
  3134.  
  3135.  
  3136. ΓòÉΓòÉΓòÉ 5.4. Options ΓòÉΓòÉΓòÉ
  3137.  
  3138. Select choices from the Options pull-down to control how the storage contents 
  3139. and addresses are displayed, control the display of the window control 
  3140. attributes, set the debugger options, and end your debugging session. 
  3141.  
  3142. Pull-Down Summary 
  3143.  
  3144. Window settings 
  3145.   Change the storage display format, and display additional window control 
  3146.   parts. 
  3147.  
  3148. Session settings 
  3149.   Set the debugger options. 
  3150.  
  3151. Debug session controls 
  3152.   Activates the Debug Session Controls window. 
  3153.  
  3154. Close debug 
  3155.   Ends your debugging session. 
  3156.  
  3157.  
  3158. ΓòÉΓòÉΓòÉ 5.4.1. Window settings ΓòÉΓòÉΓòÉ
  3159.  
  3160. Select the Window settings pull-down choice to display additional parts of the 
  3161. Storage window where yo can control how the storage is displayed. 
  3162.  
  3163. Pull-Down Summary 
  3164.  
  3165. Fonts 
  3166.   Change the font used to display text in the Storage window. 
  3167.  
  3168. Content style 
  3169.   Select the display format for the contents of storage. 
  3170.  
  3171. Address style 
  3172.   Select the display format for storage addresses. 
  3173.  
  3174. Window controls 
  3175.   Control the display of the horizontal scroll bar and the headings in the 
  3176.   Storage window. 
  3177.  
  3178.  
  3179. ΓòÉΓòÉΓòÉ 5.4.2. Content style ΓòÉΓòÉΓòÉ
  3180.  
  3181. Select the Content pull-down choice to select the display format for the 
  3182. contents of storage. You can select from several storage display styles. 
  3183.  
  3184. When you select the Content pull-down choice, the Storage Content Style dialog 
  3185. box is displayed. 
  3186.  
  3187.  
  3188. ΓòÉΓòÉΓòÉ 5.4.3. Address style ΓòÉΓòÉΓòÉ
  3189.  
  3190. Select the Address pull-down choice to display the format of the storage 
  3191. addresses, and the number of bytes per line displayed. You can select from 
  3192. several  storage display styles. 
  3193.  
  3194. When you select the Address pull-down choice, the Storage Address Style dialog 
  3195. box is displayed. 
  3196.  
  3197.  
  3198. ΓòÉΓòÉΓòÉ 5.4.4. Window controls ΓòÉΓòÉΓòÉ
  3199.  
  3200. Select the Display window controls pull-down choice to select the options that 
  3201. control the display of: 
  3202.  
  3203. o Titles in the Storage window 
  3204. o The horizontal scroll bar. 
  3205.  
  3206. When you select the Display window controls, the Storage Window Controls dialog 
  3207. box is displayed. 
  3208.  
  3209.  
  3210. ΓòÉΓòÉΓòÉ 5.4.5. Storage Window Controls ΓòÉΓòÉΓòÉ
  3211.  
  3212. Use the Storage Window Controls dialog box to control the display of the 
  3213. horizontal scroll bar and the titles in the Storage window. 
  3214.  
  3215. After you have finished selecting the options from the Storage Window Controls 
  3216. dialog box, select one of the pushbuttons. 
  3217.  
  3218. Display 
  3219.  
  3220. Select the following check boxes to control the display of the horizontal 
  3221. scroll bar and the titles in the Storage window: 
  3222.  
  3223. Horizontal scroll bars 
  3224.   Select this check box to display the horizontal scroll bar. 
  3225.  
  3226. Titles 
  3227.   Select this check box to display the column titles in the Storage window. 
  3228.  
  3229. Save settings 
  3230.  
  3231. Select the Save settings check box to save the selections you make in this 
  3232. dialog box for the next debugging session. 
  3233.  
  3234.  
  3235. ΓòÉΓòÉΓòÉ 5.4.6. Storage Content Style ΓòÉΓòÉΓòÉ
  3236.  
  3237. Use the Storage Content Style dialog box to select the parameters that control 
  3238. how the storage contents are displayed. 
  3239.  
  3240. After you have completed your dialog, select the appropriate pushbutton. 
  3241.  
  3242. Style 
  3243.  
  3244. You can select from the following storage value styles: 
  3245.  
  3246. o HEX and character 
  3247. o Character 
  3248. o 16 bit integer 
  3249. o 16 bit unsigned integer 
  3250. o 16 bit integers in HEX 
  3251. o 32 bit integer 
  3252. o 32 bit unsigned integer 
  3253. o 32 bit integers in HEX 
  3254. o 32 bit float 
  3255. o 64 bit float 
  3256. o 80 bit float 
  3257. o 16 bit near pointers 
  3258. o 16:16 bit far pointers 
  3259. o 32 bit flat pointers. 
  3260.  
  3261. To select a value style: 
  3262.  
  3263.  1. Select the arrow to open the Style list. 
  3264.  
  3265.  2. Highlight the value style you want to select. 
  3266.  
  3267.     The value style you highlighted is placed in the Style entry field. 
  3268.  
  3269. Bytes per line 
  3270.  
  3271. You can select from a range of quantities of bytes per line. The available 
  3272. choices for the number of bytes per line you can display vary with the storage 
  3273. content style you select. 
  3274.  
  3275. To select the number of bytes per line: 
  3276.  
  3277.  1. Select the arrow to open the Bytes per line list. 
  3278.  
  3279.  2. Highlight the number of bytes per line you want to select. 
  3280.  
  3281.     The number of bytes per line you highlighted is placed in the Bytes per 
  3282.     line entry field. 
  3283.  
  3284. Save settings 
  3285.  
  3286. Select the Save settings check box to save the selections you make in this 
  3287. dialog box for the next debugging session. 
  3288.  
  3289.  
  3290. ΓòÉΓòÉΓòÉ 5.4.7. Storage Address Style ΓòÉΓòÉΓòÉ
  3291.  
  3292. Use the Storage Address Style dialog box to select the parameters that control 
  3293. how the storage addresses are displayed. 
  3294.  
  3295. After you have completed your dialog, select the appropriate pushbutton. 
  3296.  
  3297. Style 
  3298.  
  3299. You can select from the following address styles: 
  3300.  
  3301. o Flat and 16:16 
  3302. o Flat only 
  3303. o 16:16 only. 
  3304.  
  3305. To select an address style: 
  3306.  
  3307.  1. Select the arrow to open the Style list. 
  3308.  
  3309.  2. Highlight the address style you want to select. 
  3310.  
  3311.     The address style you highlighted is placed in the Style entry field. 
  3312.  
  3313. Save settings 
  3314.  
  3315. Select the Save settings check box to save the selections you make in this 
  3316. dialog box for the next debugging session. 
  3317.  
  3318.  
  3319. ΓòÉΓòÉΓòÉ 5.4.8. Push Buttons ΓòÉΓòÉΓòÉ
  3320.  
  3321. OK 
  3322.   Click on OK to accept the information you have entered and to close this 
  3323.   dialog box. 
  3324.  
  3325. Reset 
  3326.   Click on Reset to clear any changes you have made in this dialog session. 
  3327.  
  3328. Default 
  3329.   Click on Default to replace the current default display style with the 
  3330.   debugger default display style. 
  3331.  
  3332. Cancel 
  3333.   Click on Cancel to close this dialog box. 
  3334.  
  3335. Help 
  3336.   Click on Help to display Help information that tells you how to use this 
  3337.   dialog box. 
  3338.  
  3339.  
  3340. ΓòÉΓòÉΓòÉ 6. Register ΓòÉΓòÉΓòÉ
  3341.  
  3342. Use the Register window to view or modify the contents of the registers 
  3343. monitored for your program. One set of processor registers exists for each 
  3344. thread. 
  3345.  
  3346. Menu Bar Summary 
  3347.  
  3348. Options 
  3349.   Enable or disable monitoring, change the fonts used for the text displayed in 
  3350.   the Register window, and end your debugging session. 
  3351.  
  3352. Help 
  3353.   Provides you with online help information that complements the online help 
  3354.   that you can get press F1 or click on a Help push button. 
  3355.  
  3356.  
  3357. ΓòÉΓòÉΓòÉ 6.1. Options ΓòÉΓòÉΓòÉ
  3358.  
  3359. Select the Options menu-bar choice to change the fonts used for the text 
  3360. displayed in the Register window, set debugger options, and end the debugging 
  3361. session. 
  3362.  
  3363. Pull-Down Summary 
  3364.  
  3365. Fonts 
  3366.   Change the fonts for the text displayed in the Register window. 
  3367.  
  3368. Session settings 
  3369.   Set various debugger options. 
  3370.  
  3371. Debug session controls 
  3372.   Activates the Debug Session Controls window. 
  3373.  
  3374. Close debug 
  3375.   End your C Set/2* debugger session. 
  3376.  
  3377.  
  3378. ΓòÉΓòÉΓòÉ 7. Stack ΓòÉΓòÉΓòÉ
  3379.  
  3380. The Stack window lists all of the active functions for a particular thread, 
  3381. including PM calls. The functions are displayed in the order that they were 
  3382. called. Each Stack window displays call stack information for one thread only. 
  3383. When the state of the program changes (as you execute the program, or you 
  3384. update displayed data) the Stack window is updated to reflect the current 
  3385. state. You can double-click on any call stack entry to display a view for that 
  3386. program. 
  3387.  
  3388. Menu Bar Summary 
  3389.  
  3390. File 
  3391.   Open different views of your program, and end your debugging session. 
  3392.  
  3393. Options 
  3394.   Select the font you want to use for the text displayed in the Stack window, 
  3395.   select the parameters that control how the items on the stack are displayed, 
  3396.   and set the debugger options, 
  3397.  
  3398. Help 
  3399.   Provides you with online help information that complements the online help 
  3400.   you can get when you press F1 or click on a Help pushbutton. 
  3401.  
  3402.  
  3403. ΓòÉΓòÉΓòÉ 7.1. File ΓòÉΓòÉΓòÉ
  3404.  
  3405. Select the File menu bar choice to open different views of r your program and 
  3406. to end your debugging session. 
  3407.  
  3408. Pull-down Summary 
  3409.  
  3410. Open as 
  3411.   Open program views of the call stack items. 
  3412.  
  3413. Close debug 
  3414.   End your debugging session. 
  3415.  
  3416.  
  3417. ΓòÉΓòÉΓòÉ 7.2. Options ΓòÉΓòÉΓòÉ
  3418.  
  3419. Select the Options menu bar choice to control how the items on the stack are 
  3420. displayed, and to set various debugger options. 
  3421.  
  3422. Pull-down Summary 
  3423.  
  3424. Window settings 
  3425.   Control how the items on the call stack are displayed. 
  3426.  
  3427. Session settings 
  3428.   Set the debugger options. 
  3429.  
  3430. Debug session controls 
  3431.   Activate the Debug Session Controls window. 
  3432.  
  3433.  
  3434. ΓòÉΓòÉΓòÉ 7.2.1. Window settings ΓòÉΓòÉΓòÉ
  3435.  
  3436. Select choices from the Window settings cascading menu to change the font for 
  3437. the Stack window and to select the information that is displayed for the items 
  3438. on the call stack. 
  3439.  
  3440. Pull-down Summary 
  3441.  
  3442. Fonts 
  3443.   Select the font you want to use for the text displayed in the Stack window. 
  3444.  
  3445. Display style 
  3446.   Select the parameters that control how the items on the stack are displayed. 
  3447.  
  3448.  
  3449. ΓòÉΓòÉΓòÉ 7.2.2. Display style ΓòÉΓòÉΓòÉ
  3450.  
  3451. Select the Display style pull-down choice to select the parameters that control 
  3452. how the items on the stack are displayed. You can select the type of 
  3453. information you want displayed for all of the stack items and you can choose to 
  3454. display new stack items on the top or the bottom of the stack. 
  3455.  
  3456. When you select the Display style pull-down choice, the Display Style dialog 
  3457. box appears. 
  3458.  
  3459.  
  3460. ΓòÉΓòÉΓòÉ 7.3. Display Style ΓòÉΓòÉΓòÉ
  3461.  
  3462. Use the Display Style dialog box to select the parameters that control how the 
  3463. items on the stack are displayed. You can select the type of descriptive 
  3464. information you want displayed for all of the call stack items and you can 
  3465. choose to display new call stack items on the top or the bottom of the stack. 
  3466.  
  3467. To change how stack items are displayed: 
  3468.  
  3469.  1. Select one or more of the check boxes under Items to select the information 
  3470.     you want displayed for each stack entry. 
  3471.  
  3472.  2. Select one Growth radio button to display new call stack items at the top 
  3473.     of the stack or at the bottom of the stack. 
  3474.  
  3475.  3. Click on one of the pushbuttons to finish your dialog. 
  3476.  
  3477. Items 
  3478.  
  3479. Select one or more of these check boxes to select the information you want 
  3480. displayed for each stack entry: 
  3481.  
  3482. Entry number          The entry number represents the entry level of the call 
  3483.                       stack item. Entry level 1 is the first function invoked. 
  3484.  
  3485. Entry name            The name of the program or the address of the function 
  3486.                       call that created the new stack entry. 
  3487.  
  3488. Part name             The name of the program part that has been entered. The 
  3489.                       name displayed corresponds with a name listed in the 
  3490.                       Parts scroll box in the Debug Session Controls window. 
  3491.  
  3492. Recursion level       Recursion level 0 is the first invocation. 
  3493.  
  3494. Growth Direction 
  3495.  
  3496. Select one radio button to display new stack items at the top or the bottom of 
  3497. the stack: 
  3498.  
  3499. Up        Displays new stack items at the top of the stack. 
  3500.  
  3501. Down      Displays new stack items at the bottom of the stack. 
  3502.  
  3503. Keep settings 
  3504.  
  3505. Select the Keep settings check box to save the selections you made in this 
  3506. dialog box for this debugging sessions. 
  3507.  
  3508.  
  3509. ΓòÉΓòÉΓòÉ 8. Data Pop-up ΓòÉΓòÉΓòÉ
  3510.  
  3511. The data pop-up window displays the contents of the variable or expression you 
  3512. select for monitoring. As you execute the statements in your program, the 
  3513. contents of the variable or expression you are monitoring can change. 
  3514.  
  3515. You can have these changes displayed in the data pop-up window as they occur, 
  3516. or you can disable the variable or expression so that these updates are not 
  3517. displayed. 
  3518.  
  3519. You can use the data manipulation icons to show the contents of structures, 
  3520. arrays, and pointers. 
  3521.  
  3522. Menu Bar Summary 
  3523.  
  3524. Options 
  3525.   Transfer a variable to the Private Monitor List or Program Monitor List 
  3526.   window, select the length of time a variable is monitored, and control how 
  3527.   the contents of the variable are displayed. 
  3528.  
  3529. Help 
  3530.   Provides you with online help information that complements the online help 
  3531.   you can get when you press F1 or click on a Help push button. 
  3532.  
  3533.  
  3534. ΓòÉΓòÉΓòÉ 8.1. Options ΓòÉΓòÉΓòÉ
  3535.  
  3536. Select choices from the Options pull-down menu to control how the contents of 
  3537. the monitored variable are displayed, the updating of the displayed contents, 
  3538. the length of time that the data pop-up window remains open, and the window to 
  3539. which you can transfer the variable. 
  3540.  
  3541. Pull-Down Summary 
  3542.  
  3543. Representation 
  3544.   Change the representation of the displayed contents. 
  3545.  
  3546. Enabled 
  3547.   Control the updating of the displayed contents. 
  3548.  
  3549. Show Context 
  3550.   Display the contextual information for a variable. 
  3551.  
  3552. Duration 
  3553.   Select when the data pop-up window is dismissed. 
  3554.  
  3555. Transfer to 
  3556.   Transfer the variable to the Program Monitor window or the Private Monitor 
  3557.   window. 
  3558.  
  3559. Fonts 
  3560.   Choose the font for the text displayed in the data pop-up window. 
  3561.  
  3562.  
  3563. ΓòÉΓòÉΓòÉ 8.1.1. Enabled ΓòÉΓòÉΓòÉ
  3564.  
  3565. Select the Enabled pull-down choice to update the displayed value of the 
  3566. variables or expressions you are monitoring as the state of the program 
  3567. changes. The Enabled pull-down choice is selected when ΓêÜ is displayed. To 
  3568. disable the variable, select the Enabled pull-down choice again, to remove ΓêÜ. 
  3569.  
  3570.  
  3571. ΓòÉΓòÉΓòÉ 8.1.2. Enable ΓòÉΓòÉΓòÉ
  3572.  
  3573. Select the Enable pull-down choice to have the displayed contents of a variable 
  3574. or expression updated as the state of the program changes. 
  3575.  
  3576.  
  3577. ΓòÉΓòÉΓòÉ 8.1.3. Disable ΓòÉΓòÉΓòÉ
  3578.  
  3579. Select the Disable pull-down choice to prevent the displayed contents of a 
  3580. variable or expression from being updated as the state of the program changes. 
  3581.  
  3582.  
  3583. ΓòÉΓòÉΓòÉ 8.1.4. Duration ΓòÉΓòÉΓòÉ
  3584.  
  3585. Select the Duration pull-down choice to set the conditions under which the data 
  3586. pop-up window is dismissed. 
  3587.  
  3588. Pull-Down Summary 
  3589.  
  3590. Step/run 
  3591.   The monitor window closes when the next step command or Run is executed. 
  3592.  
  3593. New part 
  3594.   The monitor window closes when a new program part is entered. 
  3595.  
  3596. Permanent 
  3597.   The monitor window stays open for the remainder of the debugging session. 
  3598.  
  3599.  
  3600. ΓòÉΓòÉΓòÉ 8.1.5. Step/run ΓòÉΓòÉΓòÉ
  3601.  
  3602. Select the Step/run pull-down choice to close the data pop-up window the next 
  3603. time a step command or Run is executed. 
  3604.  
  3605.  
  3606. ΓòÉΓòÉΓòÉ 8.1.6. New part ΓòÉΓòÉΓòÉ
  3607.  
  3608. Select the New part pull-down choice to close the data pop-up window when the 
  3609. current line moves to a different part of the program. 
  3610.  
  3611.  
  3612. ΓòÉΓòÉΓòÉ 8.1.7. Permanent ΓòÉΓòÉΓòÉ
  3613.  
  3614. Select the Permanent pull-down choice to cause the data pop-up window to remain 
  3615. open for the remainder of the debugging session. 
  3616.  
  3617.  
  3618. ΓòÉΓòÉΓòÉ 8.1.8. Transfer to ΓòÉΓòÉΓòÉ
  3619.  
  3620. Select the Transfer pull-down choice to move the variable or expression you are 
  3621. monitoring to the Private Monitor List or Program Monitor List window. Any 
  3622. variable or expression can be transferred to either the Private Monitor List 
  3623. window or to the Program Monitor List window. It does not matter whether the 
  3624. variable or expression is used throughout the program. The Private Monitor List 
  3625. window, however, is a secondary window to the program view window for which it 
  3626. was opened.  It closes when its associated program view window closes. You 
  3627. should, therefore, monitor local variables in the Private Monitor List window, 
  3628. and monitor global variables in the Program Monitor List window. 
  3629.  
  3630. Pull-Down Summary 
  3631.  
  3632. Private monitor 
  3633.   Move the variable or expression you are monitoring to the Private Monitor 
  3634.   List window. 
  3635.  
  3636. Program monitor 
  3637.   Move the variable or expression you are monitoring to the Program Monitor 
  3638.   List window. 
  3639.  
  3640.  
  3641. ΓòÉΓòÉΓòÉ 8.1.9. Private monitor ΓòÉΓòÉΓòÉ
  3642.  
  3643. Select the Private monitor pull-down choice to move the variable or expression 
  3644. you are monitoring to the Private Monitor List window. 
  3645.  
  3646.  
  3647. ΓòÉΓòÉΓòÉ 8.1.10. Program monitor ΓòÉΓòÉΓòÉ
  3648.  
  3649. Select the Program monitor pull-down choice to move the variable or expression 
  3650. you are monitoring to the Program Monitor List window. 
  3651.  
  3652.  
  3653. ΓòÉΓòÉΓòÉ 8.1.11. Data Manipulation Icons ΓòÉΓòÉΓòÉ
  3654.  
  3655. You can select any of the following icons from the data pop-up window to 
  3656. manipulate the data parts of variables: 
  3657.  
  3658.  
  3659.           Expands the contracted parts of an array. 
  3660.  
  3661.           Expands the contracted parts of a structure. 
  3662.  
  3663.           Contracts the parts of an array or structure that has been expanded. 
  3664.  
  3665.           Displays the object referenced by a pointer in a new monitor. 
  3666.  
  3667.  
  3668. ΓòÉΓòÉΓòÉ 8.1.12. Show context ΓòÉΓòÉΓòÉ
  3669.  
  3670. Select the Show context pull-down choice to display contextual information for 
  3671. the variables you are monitoring. The following information is displayed: 
  3672.  
  3673. o Line number 
  3674. o Part name 
  3675. o Thread number 
  3676. o Variable name. 
  3677.  
  3678. The Show context pull-down choice is selected when ΓêÜ is displayed. To hide the 
  3679. contextual information, select the Show context pull-down choice again to 
  3680. remove ΓêÜ. 
  3681.  
  3682.  
  3683. ΓòÉΓòÉΓòÉ 8.1.13. Show context ΓòÉΓòÉΓòÉ
  3684.  
  3685. Select the Show context pull-down choice to display the contextual information 
  3686. for the variable you are monitoring. The following information is displayed: 
  3687.  
  3688. o Line number 
  3689. o Part name 
  3690. o Thread number 
  3691. o Variable name. 
  3692.  
  3693.  
  3694. ΓòÉΓòÉΓòÉ 8.1.14. Hide context ΓòÉΓòÉΓòÉ
  3695.  
  3696. Select the Hide context pull-down choice to hide the contextual information for 
  3697. the variable you are monitoring. 
  3698.  
  3699.  
  3700. ΓòÉΓòÉΓòÉ 9. Local Variables Monitor List ΓòÉΓòÉΓòÉ
  3701.  
  3702. The Local Variables Monitor List window is displayed when you select the Show  
  3703. Local variables choice from the Thread pull-down. 
  3704.  
  3705. The Local Variables Monitor List window displays the local variables for the 
  3706. current line of your program. You can use the data manipulation icons in the 
  3707. Local Variables Monitor List window to show the contents of structures, arrays, 
  3708. and pointers. 
  3709.  
  3710. Note:  When your program returns from a called function, the data display 
  3711. options you previously selected (for example, representation) are lost. If you 
  3712. want to save these display options, monitor the variable or expression in a 
  3713. Private Monitor List window, the Program Monitor List window, or a data pop-up 
  3714. window. 
  3715.  
  3716. Menu Bar Summary 
  3717.  
  3718. Options 
  3719.   Control how the contents of variables are displayed, to set the debugger 
  3720.   options, and end your debugging session. 
  3721.  
  3722. Help 
  3723.   Provides you with online help information that complements the online help 
  3724.   you can get when you press F1 or click on a Help pushbutton. 
  3725.  
  3726.  
  3727. ΓòÉΓòÉΓòÉ 9.1. Options ΓòÉΓòÉΓòÉ
  3728.  
  3729. Select choices from the Options pull-down to control how the contents of 
  3730. variables are displayed, to set the debugger options, and end your debugging 
  3731. session. 
  3732.  
  3733. Pull-Down Summary 
  3734.  
  3735. Representation 
  3736.   Display the contents of a monitored variable in a different format. 
  3737.  
  3738. Show context 
  3739.   Display the contextual information for a variable being monitored. 
  3740.  
  3741. Hide context 
  3742.   Prevent the contextual information for a monitored variable from being 
  3743.   displayed. 
  3744.  
  3745. Fonts 
  3746.   Select the font you want to use for the text displayed in the Local Variables 
  3747.   Monitor List window. 
  3748.  
  3749. Session settings 
  3750.   Set the debugger options. 
  3751.  
  3752. Debug session controls 
  3753.   Activate the Debug Session Controls window. 
  3754.  
  3755. Close debug 
  3756.   Close the debugging session. 
  3757.  
  3758.  
  3759. ΓòÉΓòÉΓòÉ 9.1.1. Representation ΓòÉΓòÉΓòÉ
  3760.  
  3761. Select the Representation pull-down choice to display the contents of the 
  3762. variable in a new representation. The types of representation that appear on 
  3763. the pull-down depend on the data type of the variable you are monitoring. 
  3764.  
  3765. The following are possible representations: 
  3766.  
  3767. Hexadecimal 
  3768.   Displays the contents of the monitored variable in hexadecimal notation. 
  3769.  
  3770. Decimal 
  3771.   Displays the contents of the monitored variable in decimal notation. 
  3772.  
  3773. String 
  3774.   Displays the contents of the monitored variable as a character string. 
  3775.  
  3776. Hexadecimal pointer 
  3777.   Displays the contents of the monitored variable as a hexadecimal pointer. 
  3778.  
  3779. Decimal pointer 
  3780.   Displays the contents of the monitored variable as a decimal pointer. 
  3781.  
  3782. Array 
  3783.   Displays the contents of the monitored variable as an array. 
  3784.  
  3785.  
  3786. ΓòÉΓòÉΓòÉ 9.1.2. Hexadecimal ΓòÉΓòÉΓòÉ
  3787.  
  3788. Select the Hexadecimal pull-down choice to display the contents of a variable 
  3789. that is being monitored in hexadecimal notation. 
  3790.  
  3791.  
  3792. ΓòÉΓòÉΓòÉ 9.1.3. Decimal ΓòÉΓòÉΓòÉ
  3793.  
  3794. Select the Decimal pull-down choice to display the contents of a variable that 
  3795. is being monitored in decimal notation. 
  3796.  
  3797.  
  3798. ΓòÉΓòÉΓòÉ 9.1.4. String ΓòÉΓòÉΓòÉ
  3799.  
  3800. Select the String pull-down choice to display the contents of a monitored 
  3801. variable as a character string. 
  3802.  
  3803.  
  3804. ΓòÉΓòÉΓòÉ 9.1.5. Hexadecimal pointer ΓòÉΓòÉΓòÉ
  3805.  
  3806. Select the Hexadecimal pointer pull-down choice to display the contents of a 
  3807. monitored variable as a hexadecimal pointer. 
  3808.  
  3809.  
  3810. ΓòÉΓòÉΓòÉ 9.1.6. Decimal pointer ΓòÉΓòÉΓòÉ
  3811.  
  3812. Select the Decimal pointer pull-down choice to display the contents of a 
  3813. monitored variable as a decimal pointer. 
  3814.  
  3815.  
  3816. ΓòÉΓòÉΓòÉ 9.1.7. Array ΓòÉΓòÉΓòÉ
  3817.  
  3818. Select the Array pull-down choice to display the contents of a monitored 
  3819. variable as an array. 
  3820.  
  3821.  
  3822. ΓòÉΓòÉΓòÉ 9.1.8. Floating point ΓòÉΓòÉΓòÉ
  3823.  
  3824. Select the Floating point pull-down choice to display the contents of a 
  3825. monitored variable in floating point notation. 
  3826.  
  3827.  
  3828. ΓòÉΓòÉΓòÉ 10. Program Monitor List ΓòÉΓòÉΓòÉ
  3829.  
  3830. The Program Monitor List window is displayed when you: 
  3831.  
  3832. o Select the Show  Program monitor choice from the Thread pull-down. 
  3833.  
  3834. o Click on the Program monitor radio button in the Monitor Properties dialog 
  3835.   box, and then highlight or double-click on a variable or expression to select 
  3836.   it for monitoring. 
  3837.  
  3838. Use the Program Monitor List window to display the global variables that are 
  3839. used in your program because this window remains open as your program enters 
  3840. and exits components and threads. You can use the data manipulation icons in 
  3841. the Program Monitor List window to show the contents of structures, arrays, and 
  3842. pointers. 
  3843.  
  3844. Menu Bar Summary 
  3845.  
  3846. Options 
  3847.   Control how variables or expression are displayed, delete variables or 
  3848.   expressions from the monitor list, set the debugger options, and close your 
  3849.   debugging session. 
  3850.  
  3851. Help 
  3852.   Provides you with online help information that complements the online help 
  3853.   you can get when you press F1 or click on a Help pushbutton. 
  3854.  
  3855.  
  3856. ΓòÉΓòÉΓòÉ 10.1. Options ΓòÉΓòÉΓòÉ
  3857.  
  3858. Select choices from the Options pull-down to change the representation of a 
  3859. variable or expression, delete a variable or expression from the Program 
  3860. Monitor List window, control the updating of the displayed contents, control 
  3861. the display of context, change the font for the text displayed in the monitor 
  3862. list, set the debugger options, and end your debugging session. 
  3863.  
  3864. Pull-Down Summary 
  3865.  
  3866. Representation 
  3867.   Display the contents of a monitored variable or expression in either 
  3868.   hexadecimal or decimal notation. 
  3869.  
  3870. Delete 
  3871.   Delete all of the selected data items that are being monitored. 
  3872.  
  3873. Enable 
  3874.   Displays the contents of a variable or expression as it is updated. 
  3875.  
  3876. Disable 
  3877.   Prevent the displayed contents of a variable or expression from being 
  3878.   updated. 
  3879.  
  3880. Show context 
  3881.   Display the contextual information for a variable or expression being 
  3882.   monitored. 
  3883.  
  3884. Hide context 
  3885.   Prevent the contextual information for a monitored variable or expression 
  3886.   from being displayed. 
  3887.  
  3888. Fonts 
  3889.   Select the font you want to use for the text displayed in the Program Monitor 
  3890.   List window. 
  3891.  
  3892. Session settings 
  3893.   Set various debugger options. 
  3894.  
  3895. Debug session controls 
  3896.   Activates the Debug Session Controls window. 
  3897.  
  3898. Close debug 
  3899.   Closes the debugging session. 
  3900.  
  3901.  
  3902. ΓòÉΓòÉΓòÉ 10.1.1. Delete ΓòÉΓòÉΓòÉ
  3903.  
  3904. Select the Delete pull-down choice to delete variables or expressions that are 
  3905. being monitored from a monitor list window. 
  3906.  
  3907. To delete a variable or expression from a monitor list window: 
  3908.  
  3909.  1. Select the variable or expression with your mouse. The monitor for the 
  3910.     variable or expression is highlighted. 
  3911.  
  3912.  2. Select the Delete pull-down choice from the Options pull-down. 
  3913.  
  3914.  
  3915. ΓòÉΓòÉΓòÉ 11. Private Monitor List ΓòÉΓòÉΓòÉ
  3916.  
  3917. The Private Monitor List window is displayed when you: 
  3918.  
  3919. o Select the Show  Private monitor choice from the Thread pull-down. 
  3920.  
  3921. o Click on the Private monitor radio button in the Monitor Properties dialog 
  3922.   box, and then highlight or double-click on a variable or expression to select 
  3923.   it for monitoring. 
  3924.  
  3925. Use the Pivate Monitor List window to display the variables or expressions that 
  3926. are particular to a program part or thread because this window closes when its 
  3927. associated view closes. You can use the data manipulation icons in the Private 
  3928. Monitor List window to show the contents of structures, arrays, and pointers. 
  3929.  
  3930. Action Bar Summary 
  3931.  
  3932. Options 
  3933.   Delete selected monitor items, select all of items in a monitor window, reset 
  3934.   the values for the selected monitor items, change the font used for the 
  3935.   displayed text, and show or hide the data manipulation icons. 
  3936.  
  3937. Help 
  3938.   Provides you with several kinds of help information. 
  3939.  
  3940.  
  3941. ΓòÉΓòÉΓòÉ 11.1. Options ΓòÉΓòÉΓòÉ
  3942.  
  3943. Select choices from the Options pull-down to change the representation of a 
  3944. variable or expression, delete a variable or expression from the Private 
  3945. Monitor List window, control the updating of the displayed contents, display 
  3946. context, and change the font for the text displayed in this window. 
  3947.  
  3948. Pull-Down Summary 
  3949.  
  3950. Representation 
  3951.   Display the contents of a monitored variable or expression in a different 
  3952.   representation. 
  3953.  
  3954. Delete 
  3955.   Delete all of the selected data items that are being monitored. 
  3956.  
  3957. Enable 
  3958.   Displays the contents of a variable or expression as it is updated. 
  3959.  
  3960. Disable 
  3961.   Prevent the displayed contents of a variable or expression from being 
  3962.   updated. 
  3963.  
  3964. Show context 
  3965.   Display the contextual information for a variable or expression being 
  3966.   monitored. 
  3967.  
  3968. Hide context 
  3969.   Prevent the contextual information for a monitored variable or expression 
  3970.   from being displayed. 
  3971.  
  3972. Fonts 
  3973.   Select the font you want to use for the text displayed in the Private Monitor 
  3974.   List window. 
  3975.