home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / icat.zip / icatos2.zip / icatos2 / help / gam5help.hlp (.txt) < prev    next >
OS/2 Help File  |  2000-11-26  |  196KB  |  7,984 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Notices ΓòÉΓòÉΓòÉ
  3.  
  4. References in this online information to IBM products, programs, or services do 
  5. not imply that IBM intends to make these available in all countries in which 
  6. IBM operates. Any reference to an IBM licensed program in this publication is 
  7. not intended to state or imply that only IBM's licensed program may be used. 
  8. Any functionally equivalent product, program or service that does not infringe 
  9. any of IBM's intellectual property rights may be used instead of the IBM 
  10. product, program, or service. Evaluation and verification of operation in 
  11. conjunction with other products, except those expressly designated by IBM, is 
  12. the user's 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.  
  22. ΓòÉΓòÉΓòÉ 1.1. Trademarks and Service Marks ΓòÉΓòÉΓòÉ
  23.  
  24. The following terms, denoted by an asterisk (*) in this online documentation, 
  25. are trademarks of the IBM Corporation in the United States and/or other 
  26. countries: 
  27.  
  28.      IBM 
  29.  
  30.      Operating System/2 
  31.  
  32.      OS/2 
  33.  
  34.  
  35. ΓòÉΓòÉΓòÉ 2. Initialization Window ΓòÉΓòÉΓòÉ
  36.  
  37. Use the Initialization window to attach to the OS2KRNL. 
  38.  
  39. To attach to the OS2KRNL, select the Attach push button. 
  40.  
  41. Use program profile Check Box 
  42.  
  43. Select the Use program profile check box to start the debugging session with 
  44. program profile information. 
  45.  
  46. Push Buttons 
  47.  
  48.  Attach 
  49.            Attaches the process so that you can begin debugging. 
  50.  
  51.  Settings 
  52.            Displays the Debugger Properties Window, which allows you to select 
  53.            how threads and source files initially display and set environment 
  54.            variables. 
  55.  
  56.  Cancel 
  57.            Closes the window without accepting any changes or selections that 
  58.            you may have made. 
  59.  
  60.  Help 
  61.            Displays help information for this window. 
  62.  
  63.  
  64. ΓòÉΓòÉΓòÉ 3. Debug Session Control Window ΓòÉΓòÉΓòÉ
  65.  
  66. The Debug Session Control window is the control window of the debugger and 
  67. displays during the entire debugging session.  This window contains buttons, 
  68. which allow for easy access to frequently used features.  It also contains a 
  69. status line which allows you to see the status of the debugger at all times. 
  70. The window is divided into two panes which can be sized. One pane contains the 
  71. threads and corresponding process IDs, process names, kernel thread IDs, and 
  72. process number (when applicable). The other pane shows the components for the 
  73. program that you are debugging. 
  74.  
  75. The Threads:Slots pane contains the threads. It shows the state of the threads 
  76. and the priority of the threads that are started by your program. 
  77.  
  78. To display the state of a thread, select the plus icon to the left of the 
  79. thread. 
  80.  
  81. Thread popup menu 
  82.  
  83. The Thread popup menu contains choices to take you to different debugger 
  84. windows. The popup menu is shown when you click mouse button 2 with the mouse 
  85. pointer on a highlighted thread name, unless the Step with mouse button 2 check 
  86. box on the Debugger Properties window is enabled. (If the check box is enabled, 
  87. clicking mouse button 2 performs a step over command.) 
  88.  
  89. The following are the popup choices: 
  90.  
  91.  Execution point 
  92.    Open a source window containing the next line to be run. 
  93.  
  94.  Disable 
  95.    Disable a thread stopping it from being executed. 
  96.  
  97.  Enable 
  98.    Enable a thread allowing it be executed. 
  99.  
  100.  Registers 
  101.    Display the Registers window. 
  102.  
  103.  Call stack 
  104.    Display the Call Stack window. 
  105.  
  106.  Local variables 
  107.    Display the Local variables window. 
  108.  
  109.  The components pane shows the path name of the executable file that is 
  110.  associated with the program you are debugging. 
  111.  
  112.  To display a list of object files contained within an executable file, select 
  113.  the plus icon to the left of the executable file name. To open a source window 
  114.  of an object file, double-click on the object file name. 
  115.  
  116.  To display a list of functions for a specific object file, select the plus 
  117.  icon to the left of the object file name. To open a source window to a 
  118.  specific function, double-click on the function name. 
  119.  
  120.  Note:  If you have more than one source file that contains executable code, 
  121.  expanding the object file will display the other source files. Click on any of 
  122.  the source files to display the functions for that particular source file. 
  123.  
  124.  Object or Function Popup Menu 
  125.  
  126.  The Object or Function Popup Menu contains a choice that allows you to display 
  127.  the object or function in the current source window. The popup menu displays 
  128.  when you click mouse button 2 with the mouse pointer on a highlighted object 
  129.  or function name, unless the Step with mouse button 2 check box on the 
  130.  Debugger Properties window is enabled. (If the check box is enabled, clicking 
  131.  mouse button 2 performs a step over command.) 
  132.  
  133.  The choices in the popup menu are: 
  134.  
  135.  View 
  136.                 Bring up the object or function a source window. 
  137.  
  138.  Set function breakpoint 
  139.                 Set a function breakpoint to stop the execution of your program 
  140.                 after calling a specific function. 
  141.  
  142.  Set breakpoint (every) 
  143.                 Set a breakpoint to stop the execution of your program after 
  144.                 calling the specific function in all threads. 
  145.  
  146.  Set instruction fetch breakpoint 
  147.                 Sets a watchpoint for the selected address. 
  148.  
  149.  You can display any component by double-clicking on the component name that 
  150.  displays in the components pane or by highlighting the component name and 
  151.  selecting a view from the View menu. 
  152.  
  153.  You specify which components display in the components list by selecting 
  154.  Options  Window Settings  Display style. When the Show all components check 
  155.  box is enabled, only components compiled and linked with debugging data are 
  156.  listed. Otherwise, all components are listed. 
  157.  
  158.  There are tool buttons active in this window. Double-click on any of the 
  159.  following for a description of that button.                  / 
  160.  
  161.  You can also access any debugger window that is already open and hidden or 
  162.  minimized by selecting the menu choice that displays that window from the 
  163.  Windows menu. 
  164.  
  165.  Menu Bar Summary 
  166.  
  167.  File 
  168.            Start or end a debugging session, open a new source file, locate a 
  169.            specific function, or open a source window that contains the next 
  170.            line to be executed. 
  171.  
  172.  Breakpoints 
  173.            Set and manipulate breakpoints in your program. 
  174.  
  175.  Monitors 
  176.            Select other debugger windows. 
  177.  
  178.  Run 
  179.            Execute the program, halt execution, or enable and disable threads. 
  180.  
  181.  Options 
  182.            Access various utility windows where you can set debugger options. 
  183.            These debugger options control the various debugger windows. 
  184.  
  185.  Windows 
  186.            Displays the active debugger windows. 
  187.  
  188.  Help 
  189.            Displays online help that compliments the information you get when 
  190.            you press F1 or select the Help push button. 
  191.  
  192.  Related Information 
  193.  
  194.      Source Windows 
  195.      Registers Window 
  196.      Call Stack Window 
  197.      Local Variables Window 
  198.      Messages Window 
  199.      Passthru Window 
  200.      Program Monitor Window 
  201.      Private Monitor Window 
  202.      Popup Expression Window 
  203.      Storage Window 
  204.      Breakpoints List Window 
  205.      Monitor Properties 
  206.  
  207.  
  208. ΓòÉΓòÉΓòÉ <hidden> Execution Point Choice ΓòÉΓòÉΓòÉ
  209.  
  210. Select the Execution point choice to locate the next line to be run. When you 
  211. select Execution point, a source window containing the next line to be run is 
  212. shown. 
  213.  
  214.  
  215. ΓòÉΓòÉΓòÉ <hidden> Call Stack Choice ΓòÉΓòÉΓòÉ
  216.  
  217. Select the Call stack choice to display the Call Stack window. 
  218.  
  219.  
  220. ΓòÉΓòÉΓòÉ <hidden> Disable Choice ΓòÉΓòÉΓòÉ
  221.  
  222. Select the Disable choice to disable the highlighted thread.  This stops the 
  223. thread from being executed. 
  224.  
  225.  
  226. ΓòÉΓòÉΓòÉ <hidden> Enable Choice ΓòÉΓòÉΓòÉ
  227.  
  228. Select the Enable choice to allow the highlighted thread to be executed. 
  229.  
  230.  
  231. ΓòÉΓòÉΓòÉ <hidden> Registers Choice ΓòÉΓòÉΓòÉ
  232.  
  233. Select the Register choice to display the Registers window. 
  234.  
  235.  
  236. ΓòÉΓòÉΓòÉ <hidden> Local Variables Choice ΓòÉΓòÉΓòÉ
  237.  
  238. Select the Local variables choice to display the Local Variables window. 
  239.  
  240.  
  241. ΓòÉΓòÉΓòÉ <hidden> View Choice ΓòÉΓòÉΓòÉ
  242.  
  243. Select the View choice to show the highlighted object or function in the 
  244. current source window. 
  245.  
  246.  
  247. ΓòÉΓòÉΓòÉ <hidden> Set Function Breakpoint Choice ΓòÉΓòÉΓòÉ
  248.  
  249. Select the Set function breakpoint choice to set a function breakpoint on the 
  250. highlighted function in the specified thread. A function breakpoint stops the 
  251. execution of your program after calling a specific function. 
  252.  
  253. To set a function breakpoint: 
  254.  
  255.    1. Highlight the function. 
  256.    2. Select the Set function breakpoint choice. 
  257.  
  258.  The Function Breakpoint window displays. 
  259.  
  260.  
  261. ΓòÉΓòÉΓòÉ <hidden> Set Breakpoint (Every) Choice ΓòÉΓòÉΓòÉ
  262.  
  263. Select the Set breakpoint (every) choice to set a breakpoint on the highlighted 
  264. variable or expression in all the threads. A function breakpoint stops the 
  265. execution of your program after calling a specific function. 
  266.  
  267. To set the breakpoint: 
  268.  
  269.    1. Highlight the variable or expression. 
  270.    2. Select the Set breakpoint (every) choice. 
  271.  
  272.  
  273. ΓòÉΓòÉΓòÉ <hidden> Set Instruction Fetch Breakpoint ΓòÉΓòÉΓòÉ
  274.  
  275. Select the Set instruction fetch breakpoint choice to set a watchpoint for the 
  276. selected function's address. When the code at this address is to be executed by 
  277. the processor, a watchpoint notification will be generated. 
  278.  
  279.  
  280. ΓòÉΓòÉΓòÉ 3.1. File Menu ΓòÉΓòÉΓòÉ
  281.  
  282. Select choices from the File menu of the Debug Session Control window to start 
  283. a program, find the current line, replace your current program file with a 
  284. program file from another location or with a different name, or end the 
  285. debugging session. 
  286.  
  287. Menu Summary 
  288.  
  289.  Open new source 
  290.            Display a new source file. 
  291.  
  292.  Find function 
  293.            Open a source window to a particular function. 
  294.  
  295.  Where is execution point 
  296.            Open a source window containing the next line to be executed. 
  297.  
  298.  Reboot target 
  299.            Reboots the victim machine while the debugger stays attached. 
  300.  
  301.  Save thread list in file 
  302.            Save the contents of the Threads pane into a file. 
  303.  
  304.  Save component list in file 
  305.            Save the contents of the Components pane into a file. 
  306.  
  307.  Initialization... 
  308.            Display the Initialization window. 
  309.  
  310.  Close debugger 
  311.            End the debugging session. 
  312.  
  313.  
  314. ΓòÉΓòÉΓòÉ 3.1.1. Open New Source Choice ΓòÉΓòÉΓòÉ
  315.  
  316. Select the Open new source choice to open a new source file. When you select 
  317. Open new source, the Open New Source window displays. 
  318.  
  319.  
  320. ΓòÉΓòÉΓòÉ 3.1.2. Find Function Choice ΓòÉΓòÉΓòÉ
  321.  
  322. Select the Find function choice to open a source window to a particular 
  323. function. When you select Find function, the Find Function window displays. 
  324.  
  325.  
  326. ΓòÉΓòÉΓòÉ 3.1.2.1. List Window ΓòÉΓòÉΓòÉ
  327.  
  328. This window displays a list of items derived from your search criteria. Select 
  329. an item and then click OK to display it. 
  330.  
  331. Push Buttons 
  332.  
  333.  OK 
  334.            Displays the item you selected. 
  335.  
  336.  Cancel 
  337.            Closes the window without accepting any changes or selections that 
  338.            you may have made. 
  339.  
  340.  Help. 
  341.            Displays help information for this window. 
  342.  
  343.  
  344. ΓòÉΓòÉΓòÉ 3.1.2.2. List Window ΓòÉΓòÉΓòÉ
  345.  
  346. This window displays a list of items derived from your search criteria. Select 
  347. an item and then click OK to display it. 
  348.  
  349. Push Buttons 
  350.  
  351.  OK 
  352.            Displays the item you selected. 
  353.  
  354.  Cancel 
  355.            Closes the window without accepting any changes or selections that 
  356.            you may have made. 
  357.  
  358.  Help. 
  359.            Displays help information for this window. 
  360.  
  361.  
  362. ΓòÉΓòÉΓòÉ 3.1.2.3. List Window ΓòÉΓòÉΓòÉ
  363.  
  364. This window displays a list of items derived from your search criteria. Select 
  365. an item and then click OK to display it. 
  366.  
  367. Push Buttons 
  368.  
  369.  OK 
  370.            Displays the item you selected. 
  371.  
  372.  Cancel 
  373.            Closes the window without accepting any changes or selections that 
  374.            you may have made. 
  375.  
  376.  Help. 
  377.            Displays help information for this window. 
  378.  
  379.  
  380. ΓòÉΓòÉΓòÉ 3.1.3. Where Is Execution Point Choice ΓòÉΓòÉΓòÉ
  381.  
  382. Select the Where is execution point choice to locate the next line to be 
  383. executed in the thread. 
  384.  
  385.  
  386. ΓòÉΓòÉΓòÉ 3.1.4. Reboot target ΓòÉΓòÉΓòÉ
  387.  
  388. Reboots the victim machine while the debugger stays attached. 
  389.  
  390.  
  391. ΓòÉΓòÉΓòÉ 3.1.5. Save Thread List in File Choice ΓòÉΓòÉΓòÉ
  392.  
  393. Saves the contents of the Threads pane into a file.  The default file name is 
  394. threads.out.  To change the default file name, select Options -> Window 
  395. settings -> Display style... from the Debug Session Control window. 
  396.  
  397.  
  398. ΓòÉΓòÉΓòÉ 3.1.6. Save Component List in File Choice ΓòÉΓòÉΓòÉ
  399.  
  400. Saves the contents of the Components pane into a file.  The default file name 
  401. is comps.out.  To change the default file name, select Options -> Window 
  402. settings -> Display style... from the Debug Session Control window. 
  403.  
  404.  
  405. ΓòÉΓòÉΓòÉ 3.1.7. Initialization Choice ΓòÉΓòÉΓòÉ
  406.  
  407. Select the Initialization choice to start a debugging session by attaching to 
  408. the OS2KRNL. 
  409.  
  410. When you select Initialization, the Initialization window displays. 
  411.  
  412.  
  413. ΓòÉΓòÉΓòÉ 3.1.8. Close Debugger Choice ΓòÉΓòÉΓòÉ
  414.  
  415. Select the Close debugger choice to close your current debugging session.  When 
  416. you select Close debugger, the Close Debugger message box prompts you to 
  417. confirm that you want to end the debugging session. 
  418.  
  419.  
  420. ΓòÉΓòÉΓòÉ 3.2. View Choice ΓòÉΓòÉΓòÉ
  421.  
  422. Select the View choice to show the highlighted object or function in the 
  423. current source window. If a source window is not currently active, the Source 
  424. window is shown. If the Source window is not available, the Disassembly window 
  425. is shown. 
  426.  
  427.  
  428. ΓòÉΓòÉΓòÉ 3.3. Breakpoints Menu ΓòÉΓòÉΓòÉ
  429.  
  430. Select choices from the Breakpoints menu to set breakpoints and stop the 
  431. execution of your program at any point. You can set as many breakpoints as you 
  432. want. 
  433.  
  434. Breakpoints can be set from the Debug Session Control window or from the source 
  435. window. When you set a breakpoint in the source window of your program, it is 
  436. reflected in the other views. 
  437.  
  438. There are five types of breakpoints that you can set. You can customize the 
  439. breakpoints using the various breakpoint windows. 
  440.  
  441. Menu Summary 
  442.  
  443.  Set line 
  444.            Set a line breakpoint to stop the execution of your program at a 
  445.            specific line number. 
  446.  
  447.  Set function 
  448.            Set a function breakpoint to stop the execution of your program 
  449.            after calling a specific function. 
  450.  
  451.  Set address 
  452.            Set an address breakpoint to stop the execution of your program at a 
  453.            specific address. 
  454.  
  455.  Set watchpoint 
  456.            Set a watchpoint to stop the execution of your program when contents 
  457.            of memory at a given address changes. 
  458.  
  459.  Set load occurrence 
  460.            Set a load occurrence breakpoint to stop the execution of your 
  461.            program after loading a DLL. 
  462.  
  463.  List 
  464.            List the breakpoints that have been set. 
  465.  
  466.  Delete all 
  467.            Delete all breakpoints. 
  468.  
  469.  You can also set simple line breakpoints. Double-click on one of the following 
  470.  to learn how to set or clear simple line breakpoints: 
  471.  
  472.      Setting simple line breakpoints 
  473.  
  474.      Clearing simple line breakpoints 
  475.  
  476.  
  477. ΓòÉΓòÉΓòÉ 3.3.1. Set Line Choice ΓòÉΓòÉΓòÉ
  478.  
  479. Select the Set line choice to stop the execution of your program at the line 
  480. number you select. When you select Set line, the Line Breakpoint window 
  481. displays. 
  482.  
  483. You can also set simple line breakpoints. Double-click on one of the following 
  484. for the procedures you use to set or clear simple line breakpoints: 
  485.  
  486.      Setting simple line breakpoints 
  487.  
  488.      Deleting simple line breakpoints. 
  489.  
  490.  
  491. ΓòÉΓòÉΓòÉ 3.3.2. Set Function Choice ΓòÉΓòÉΓòÉ
  492.  
  493. Select the Set function choice to stop the execution of your program after the 
  494. function that you specify is called. When you select Set function, the Function 
  495. Breakpoint window displays. 
  496.  
  497.  
  498. ΓòÉΓòÉΓòÉ <hidden> Function Breakpoint Window ΓòÉΓòÉΓòÉ
  499.  
  500. Use the Function Breakpoint window to set a function breakpoint.  Type the name 
  501. of the function. If a function is overloaded, then a window displays with a 
  502. list of all the overloaded function names. Select one of the functions from the 
  503. list. 
  504.  
  505. For a description of types of data you can enter in the entry fields, 
  506. double-click on one of the following topics: 
  507.  
  508.      Executable (optional) 
  509.  
  510.      Source (optional) 
  511.  
  512.      Function 
  513.  
  514.      Expression 
  515.  
  516.      Thread 
  517.  
  518.      From 
  519.  
  520.      To 
  521.  
  522.      Every. 
  523.  
  524.  Debugging information only Check Box 
  525.  
  526.  Enable this check box if you want to search only the object files that contain 
  527.  debugging data. 
  528.  
  529.  Case sensitive Check Box 
  530.  
  531.  Enable this check box if you want to search for the string exactly as typed. 
  532.  Disable this check box if you want to search for both uppercase and lowercase 
  533.  characters. 
  534.  
  535.  Defer breakpoint Check Box 
  536.  
  537.  Enable this check box if you want to set a breakpoint in a DLL that is not 
  538.  currently loaded. 
  539.  
  540.  Note:  If your application consists of an EXE or preloaded DLLs, do not use 
  541.  this choice. If your application consists of DLLs that are dynamically loaded, 
  542.  you must use this choice to set breakpoints in the dynamically loaded DLLs 
  543.  that have not been loaded yet. 
  544.  
  545.  If you enter an invalid source file or invalid function, the debugger is 
  546.  unable to activate the breakpoint when the DLL is loaded. Therefore, the 
  547.  invalid breakpoint remains in the deferred state even after the DLL is loaded. 
  548.  
  549.  The state of the breakpoints will change from active state to deferred state 
  550.  depending on whether the DLL has been loaded or not.  For example, if the DLL 
  551.  has been loaded and a deferred breakpoint has been set, the breakpoint becomes 
  552.  active. If you stop the program and the DLL has been freed, the breakpoint 
  553.  changes from active state to deferred state. If you set a deferred breakpoint 
  554.  in a function and that function is overloaded, the debugger sets the 
  555.  breakpoint in all of the overloaded functions when the DLL is loaded. 
  556.  
  557.  Refer to the Breakpoints List window for the current state of the breakpoints 
  558.  that have been set. 
  559.  
  560.  Setting a Function: 
  561.  
  562.  To set a function breakpoint for the function my_func, type the following in 
  563.  the Function entry field. 
  564.  
  565.        my_func
  566.  
  567.  Note:  You cannot set a function breakpoint to a function name that was 
  568.         defined using the define preprocessor directive. 
  569.  
  570.  Select the appropriate push button to continue. 
  571.  
  572.  
  573. ΓòÉΓòÉΓòÉ 3.3.3. Set Address Choice ΓòÉΓòÉΓòÉ
  574.  
  575. Select the Set address choice to stop the execution of your program at the 
  576. selected address. When you select Set address, the Address Breakpoint window 
  577. displays. 
  578.  
  579.  
  580. ΓòÉΓòÉΓòÉ <hidden> Address Breakpoint Window ΓòÉΓòÉΓòÉ
  581.  
  582. Use the Address Breakpoint window to set an address breakpoint.  Type in the 
  583. address that represents the location in your program where you want to set the 
  584. breakpoint. 
  585.  
  586. Note:  The address can be either segmented or flat format. 
  587.  
  588. To set an address breakpoint for the address 000A1FCC, you would type the 
  589. following in the Address or expression entry field. 
  590.  
  591.      A1FCC
  592.  
  593. For a description of types of data you can enter in the window entry fields, 
  594. double-click on any of the following topics: 
  595.  
  596.      Thread 
  597.  
  598.      Every 
  599.  
  600.      From 
  601.  
  602.      To 
  603.  
  604.      Expression 
  605.  
  606.  Select the appropriate push button to continue. 
  607.  
  608.  
  609. ΓòÉΓòÉΓòÉ 3.3.4. Set Watchpoint Choice ΓòÉΓòÉΓòÉ
  610.  
  611. Select the Set watchpoint choice to stop the execution of your program after 
  612. the contents of memory at a given address changes.  When you select Set 
  613. watchpoint, the Watchpoint window displays. 
  614.  
  615.  
  616. ΓòÉΓòÉΓòÉ <hidden> Watchpoint Window ΓòÉΓòÉΓòÉ
  617.  
  618. Use the Watchpoint window to set a watchpoint.  To do so, type a hexadecimal 
  619. address or an expression and select the range of bytes. The range of bytes can 
  620. only be 8. 
  621.  
  622. Note:  The debugger supports up to 4 enabled watchpoints. However, you can set 
  623. as many disabled watchpoints as you want. 
  624.  
  625. To set a watchpoint, complete the fields as follows: 
  626.  
  627. Address (or Expression) or Port # Entry Field 
  628.  
  629. Type the following in the Address (or Expression) or Port # entry field to set 
  630. a watchpoint for the expression 0xA1FCC. 
  631.  
  632.      0xA1FCC
  633.  
  634. Note:  If you type ABC in the Address (or Expression) or Port # entry field, 
  635. and there is a variable named ABC, it uses the value of the variable instead of 
  636. the hex value ABC. Also, you can type &a in the Address (or Expression) or Port 
  637. # entry field to set the watchpoint on the address of a variable a. 
  638.  
  639. Bytes to Monitor Radio Buttons 
  640.  
  641. The debugger will monitor 1, 2, or 4 bytes for the type of watchpoint operation 
  642. that you select.  This choice is made for you on the Instruction fetch type. 
  643.  
  644. Watchpoint Radio Buttons 
  645.  
  646. The debugger supports four types of watchpoints. They are as follows: 
  647.  
  648.  I/O Port            Causes a break when the port address is read from or 
  649.                      written to. 
  650.  
  651.  Write               Causes a break when the address is written to. 
  652.  
  653.  Read or write       Causes a break when the address is read from or written 
  654.                      to. 
  655.  
  656.  Instruction fetch   Causes a break when the instruction at that address is 
  657.                      fetched. 
  658.  
  659.  Warning: If you set a watchpoint that is on the call stack, you should remove 
  660.  the watchpoint prior to leaving the routine associated with the watchpoint. 
  661.  Otherwise, when you return from the routine, the routine's stack frame will be 
  662.  removed from the stack leaving the watchpoint intact.  Any other routine that 
  663.  gets loaded on the stack will then contain the watchpoint. 
  664.  
  665.  For a description of types of data you can enter in the other window entry 
  666.  fields, double-click on one of the following topics: 
  667.  
  668.      Thread 
  669.  
  670.      From 
  671.  
  672.      To 
  673.  
  674.      Every 
  675.  
  676.  Select the appropriate push button to continue. 
  677.  
  678.  Related Information 
  679.  
  680.      Expression Language Guidelines. 
  681.  
  682.  
  683. ΓòÉΓòÉΓòÉ 3.3.5. Set Load Occurrence Choice ΓòÉΓòÉΓòÉ
  684.  
  685. Select the Set load occurrence choice to stop the execution of your program 
  686. after the DLL that you specify is loaded. When you select Set load occurrence, 
  687. the Load Occurrence Breakpoint window displays. 
  688.  
  689.  
  690. ΓòÉΓòÉΓòÉ <hidden> Expression Language Guidelines ΓòÉΓòÉΓòÉ
  691.  
  692. The following are the rules for evaluating data within these fields. 
  693.  
  694.  0x0100000 
  695.            Treated as hex number (per language rules of C) 
  696.  
  697.  0100000 
  698.            Treated as hex number (C language would treat as octal) 
  699.  
  700.  100000 
  701.            Treated as hex number (C language would treat as decimal) 
  702.  
  703.  0027:0100 
  704.            Treated as segmented hex address 
  705.            (C language would treat as octal segmented address) 
  706.  
  707.  0100:1002 
  708.            Treated as segmented hex address 
  709.            (C language would treat as octal/hex segmented address) 
  710.  
  711.  0x287e8 
  712.            Treated as hex number (per language rules of C) 
  713.  
  714.  287e8 
  715.            Treated as hex number 
  716.            (C would treat as floating point 287 * 10^8) 
  717.  
  718.  abad 
  719.            Treated as hex number, unless user has a variable defined with this 
  720.            name in the current scope.  If that variable can be represented as a 
  721.            hexadecimal value, the value of the variable will be used. 
  722.            Otherwise, the hex value of 0xabad will be used.  You can force this 
  723.            to be treated as hex value by using the prefix 0x.  For example, 
  724.            0xABAD. 
  725.  
  726.  All other strings will be evaluated strictly by the language rules that apply 
  727.  to the part that is currently in scope. 
  728.  
  729.  EBP + 10 
  730.            Treated as value of EBP register plus decimal 10. 
  731.  
  732.  10 + 5 
  733.            Treated as decimal 15. 
  734.  
  735.  10 + 6F 
  736.            Cannot be evaluated. 
  737.  
  738.  Values for expressions that cannot have a hexadecimal representation will not 
  739.  be supported.  The following error message will be displayed for cases of 
  740.  invalid expression. 
  741.  
  742.      Invalid address
  743.  
  744.  
  745. ΓòÉΓòÉΓòÉ <hidden> Load Occurrence Breakpoint Window ΓòÉΓòÉΓòÉ
  746.  
  747. Use the Load Occurrence Breakpoint window to set a load occurrence breakpoint. 
  748. Type the name of the module in the Module Name entry field. Execution stops 
  749. when the module is loaded. 
  750.  
  751. Module Name Entry Field 
  752.  
  753. To set a load occurrence breakpoint when MY.DLL is loaded, type the following 
  754. in the Module Name entry field: 
  755.  
  756.      MY
  757.  
  758. or 
  759.  
  760.      MY.DLL
  761.  
  762. For a description of types of data you can enter in the other window entry 
  763. fields, double-click on one of the following topics: 
  764.  
  765.      Thread 
  766.  
  767.      From 
  768.  
  769.      To 
  770.  
  771.      Every 
  772.  
  773.  Select the appropriate push button to continue. 
  774.  
  775.  
  776. ΓòÉΓòÉΓòÉ <hidden> File List ΓòÉΓòÉΓòÉ
  777.  
  778. If the source you selected has include files with executable statements, then 
  779. the File list displays all the file names that contain executable lines. 
  780.  
  781.    1. Open the File list by selecting the arrow with your mouse. 
  782.  
  783.    2. Highlight the file where you want to set the breakpoint. 
  784.  
  785.       OR 
  786.  
  787.    3. Type the name of the file in the entry field. 
  788.  
  789.  
  790. ΓòÉΓòÉΓòÉ <hidden> Function List ΓòÉΓòÉΓòÉ
  791.  
  792. Type in the name of the function where you want to set the breakpoint or select 
  793. a function from the Function list: 
  794.  
  795.    1. Open the Function list by selecting the arrow with your mouse. 
  796.  
  797.    2. Highlight the function you want to set the breakpoint. 
  798.  
  799.       OR 
  800.  
  801.    3. Type the name of the function in the entry field. 
  802.  
  803.  
  804. ΓòÉΓòÉΓòÉ <hidden> Expression Entry Field ΓòÉΓòÉΓòÉ
  805.  
  806. If you are setting an address, function, or line breakpoint, you can also type 
  807. in an expression.  The execution of the program stops only if this condition 
  808. tests true. For example, you could type the following: 
  809.  
  810.    (i==1) || (j==k) && (k!=5)
  811.  
  812. Note:  Variables in a conditional expression associated with a Function 
  813. breakpoint are limited to any static or global variables that are known to the 
  814. called function when the function is called. Local variables and automatic 
  815. variables cannot be used. 
  816.  
  817. The maximum length of the condition is 256 characters. 
  818.  
  819.  
  820. ΓòÉΓòÉΓòÉ <hidden> Thread List ΓòÉΓòÉΓòÉ
  821.  
  822. To select a thread ID from the Thread list: 
  823.  
  824.    1. Open the Thread list by selecting the arrow with your mouse. 
  825.  
  826.    2. Highlight the thread where you want to set the breakpoint. 
  827.  
  828.  Select Every, the default, to set a breakpoint in all of the active threads in 
  829.  your program. The Every choice is thread independent. Select one of the 
  830.  individual threads to set a breakpoint in one thread only.  Threads are added 
  831.  to the Thread list as new threads are activated. 
  832.  
  833.  
  834. ΓòÉΓòÉΓòÉ <hidden> Every Entry Field ΓòÉΓòÉΓòÉ
  835.  
  836. This field is used for location breakpoints and load occurrence breakpoints. 
  837. Type in a whole integer number to indicate how often the breakpoint should be 
  838. activated within the From and To range. 
  839.  
  840.  
  841. ΓòÉΓòÉΓòÉ <hidden> From Entry Field ΓòÉΓòÉΓòÉ
  842.  
  843. This field is used for location breakpoints and load occurrence breakpoints. 
  844. Type in a whole integer number to start activating the breakpoint the nth time 
  845. the location is encountered. 
  846.  
  847.  
  848. ΓòÉΓòÉΓòÉ <hidden> To Entry Field ΓòÉΓòÉΓòÉ
  849.  
  850. This field is used for location breakpoints and load occurrence breakpoints. 
  851. Type in a whole integer number to stop activating the breakpoint after the nth 
  852. time the location is encountered. 
  853.  
  854.  
  855. ΓòÉΓòÉΓòÉ 3.3.6. List Choice ΓòÉΓòÉΓòÉ
  856.  
  857. Select the List choice to list the breakpoints that you have set.  When you 
  858. select List, the Breakpoints List window displays. 
  859.  
  860.  
  861. ΓòÉΓòÉΓòÉ 3.3.7. Delete All Choice ΓòÉΓòÉΓòÉ
  862.  
  863. Select the Delete all choice to delete all the breakpoints that you have set. 
  864.  
  865. When you select Delete all, an information box displays for verification that 
  866. you want to delete all the breakpoints. 
  867.  
  868.  
  869. ΓòÉΓòÉΓòÉ 3.4. Monitors Menu ΓòÉΓòÉΓòÉ
  870.  
  871. Select choices from the Monitors menu to display other debugger windows. 
  872.  
  873. Menu Summary 
  874.  
  875.  Call stack 
  876.            Displays the Call Stack window to allow you to monitor the call 
  877.            stack for a particular thread. 
  878.  
  879.  Registers 
  880.            Displays the Registers window to allow you to monitor registers and 
  881.            flags for a particular component or thread. 
  882.  
  883.  Storage 
  884.            Displays the Storage window to allow you to monitor the storage in 
  885.            your program. 
  886.  
  887.  Local variables 
  888.            Displays the local variables for the programs current function. 
  889.  
  890.  Messages 
  891.            Displays the printfs and direct COM port messages from the device 
  892.            drivers. 
  893.  
  894.  Passthru 
  895.            Allows you to send commands to KDB and displays the formatted KDB 
  896.            response. 
  897.  
  898.  
  899. ΓòÉΓòÉΓòÉ 3.5. Run Menu ΓòÉΓòÉΓòÉ
  900.  
  901. Select choices from the Run menu to execute your program or halt execution. 
  902.  
  903. When you select a choice from the Run menu, the mouse pointer changes to a 
  904. clock icon to indicate that the application is running and might require input 
  905. to continue to the next breakpoint or end of the program. 
  906.  
  907. Menu Summary 
  908.  
  909.  Run 
  910.            Execute the program from the current line until a breakpoint is 
  911.            encountered or the program ends. 
  912.  
  913.  Halt 
  914.            Interrupt the program you are debugging. 
  915.  
  916.  Hide debugger on Run 
  917.            Hides the debugger windows while your application is running. 
  918.  
  919.  Thread enabled 
  920.            Enable or disable threads. 
  921.  
  922.  
  923. ΓòÉΓòÉΓòÉ 3.5.1. Run Choice ΓòÉΓòÉΓòÉ
  924.  
  925. Select the Run choice to execute the program, including all enabled threads, 
  926. from the current line until a breakpoint is encountered or the program ends. 
  927.  
  928.  
  929. ΓòÉΓòÉΓòÉ 3.5.2. Halt Choice ΓòÉΓòÉΓòÉ
  930.  
  931. Select the Halt choice to interrupt the program that you are debugging. 
  932.  
  933.  
  934. ΓòÉΓòÉΓòÉ 3.5.3. Hide Debugger on Run Choice ΓòÉΓòÉΓòÉ
  935.  
  936. Select the Hide debugger on run choice to hide the debugger windows when your 
  937. program is running. 
  938.  
  939.  
  940. ΓòÉΓòÉΓòÉ 3.5.4. Thread Enabled Choice ΓòÉΓòÉΓòÉ
  941.  
  942. Select the Thread enabled choice so that the thread that is highlighted in the 
  943. Threads box is executed when the program runs. 
  944.  
  945. When threads are enabled, a check mark symbol displays beside the Thread 
  946. enabled choice.  When threads are not enabled, a check mark symbol is not 
  947. displayed and the highlighted thread is not executed when the program runs. 
  948.  
  949.  
  950. ΓòÉΓòÉΓòÉ 3.6. Options Menu ΓòÉΓòÉΓòÉ
  951.  
  952. Select choices from the Options menu of the Debug Session Control window to 
  953. control how and what the debugger windows display. 
  954.  
  955. Menu Summary 
  956.  
  957.  Window settings 
  958.            Control how the items in the Debug Session Control window display. 
  959.  
  960.  Debugger settings 
  961.            Display windows to control the debugger windows. 
  962.  
  963.  
  964. ΓòÉΓòÉΓòÉ 3.6.1. Window Settings Cascading Choice ΓòÉΓòÉΓòÉ
  965.  
  966. Select choices from the Window settings choice to modify the characteristics of 
  967. the Debug Session Control window. 
  968.  
  969. Menu Summary 
  970.  
  971.  Fonts 
  972.            Select the font you want to use for the text displayed in the active 
  973.            window. 
  974.  
  975.  Display style 
  976.            Select the debugger settings you want to use. 
  977.  
  978.  Restore defaults 
  979.            Reset all of the window settings to their original settings. 
  980.  
  981.  Tool buttons 
  982.            Enable or disable buttons from being displayed in the window. 
  983.  
  984.  Hover help 
  985.            Enable or disable the hover help from being displayed in the window. 
  986.  
  987.  Infoarea 
  988.            Enable or disable the information area from being displayed in the 
  989.            window. 
  990.  
  991.  
  992. ΓòÉΓòÉΓòÉ 3.6.1.1. Fonts Choice ΓòÉΓòÉΓòÉ
  993.  
  994. Select the Fonts choice to choose the font you want to use for the text that 
  995. displays in the active window. 
  996.  
  997. When you select Fonts, a Fonts window displays. 
  998.  
  999.  
  1000. ΓòÉΓòÉΓòÉ 3.6.1.2. Display Style Choice ΓòÉΓòÉΓòÉ
  1001.  
  1002. Select the Display style choice to set the style of the Debug Session Control 
  1003. window. When you select Display style, the Display Style window is shown. 
  1004.  
  1005.  
  1006. ΓòÉΓòÉΓòÉ <hidden> Display Style Window ΓòÉΓòÉΓòÉ
  1007.  
  1008. Use the Display Style window to select what you want displayed in the Debug 
  1009. Session Control window. 
  1010.  
  1011. Show all components Check Box 
  1012.  
  1013. If you enable this check box, the components under the Modules heading will be 
  1014. sorted in alphabetical order. If not enabled, only components compiled and 
  1015. linked with debugging data are listed. 
  1016.  
  1017. Show module path Check Box 
  1018.  
  1019. If you enable this check box, the path name and Process ID will be displayed. 
  1020.  
  1021. Sort components Check Box 
  1022.  
  1023. If you enable this check box, the components will be sorted in alphabetical 
  1024. order. 
  1025.  
  1026. Show status line Check Box 
  1027.  
  1028. If you enable this check box, the status line will be displayed.  This shows 
  1029. the debugger state. 
  1030.  
  1031. Component output file Entry Field 
  1032.  
  1033. Specify the name of the file where the component names are saved. 
  1034.  
  1035. Threads output file Entry Field 
  1036.  
  1037. Specify the name of the file where the thread names are saved. 
  1038.  
  1039.  
  1040. ΓòÉΓòÉΓòÉ 3.6.1.3. Restore Defaults Choice ΓòÉΓòÉΓòÉ
  1041.  
  1042. Reset all of the Debug Session Control window settings to their original 
  1043. settings. This includes the font, the color, the style settings, and the 
  1044. presentation of tool buttons. 
  1045.  
  1046.  
  1047. ΓòÉΓòÉΓòÉ 3.6.1.4. Tool Buttons Choice ΓòÉΓòÉΓòÉ
  1048.  
  1049. You can select to display the buttons in the Debug Session Control window. 
  1050.  
  1051. If this choice is enabled, a check mark symbol displays beside the Tool buttons 
  1052. choice and buttons display. 
  1053.  
  1054.  
  1055. ΓòÉΓòÉΓòÉ 3.6.1.5. Hover Help Choice ΓòÉΓòÉΓòÉ
  1056.  
  1057. Select the Hover help choice if you want the hover help to be shown in the 
  1058. window. 
  1059.  
  1060. The hover help provides the name of the tool button. 
  1061.  
  1062.  
  1063. ΓòÉΓòÉΓòÉ 3.6.1.6. Infoarea Choice ΓòÉΓòÉΓòÉ
  1064.  
  1065. Select the Infoarea choice if you want the information area to be shown in the 
  1066. window. 
  1067.  
  1068. The information area, which is located at the bottom of the window, provides a 
  1069. brief description of each menu item. 
  1070.  
  1071.  
  1072. ΓòÉΓòÉΓòÉ 3.6.2. Debugger Settings Cascading Choice ΓòÉΓòÉΓòÉ
  1073.  
  1074. Select choices from the Debugger settings cascading choice to set various 
  1075. debugger options that control how the debugger windows display. These settings 
  1076. affect the behavior of the debugger and remain in effect for the duration of 
  1077. the debugging session. 
  1078.  
  1079. Menu Summary 
  1080.  
  1081.  Debugger properties 
  1082.            Select the view that is to be displayed when the debugger starts and 
  1083.            how to process the views. 
  1084.  
  1085.  Monitor properties 
  1086.            Select the settings for the variable monitor windows. 
  1087.  
  1088.  Default data representation 
  1089.            Select how you want your data displayed in the monitor windows. 
  1090.  
  1091.  Program profiles 
  1092.            Change the location, save, or delete program profiles. 
  1093.  
  1094.  Save debugger window positions 
  1095.            Save the position and sizes of all debugger windows. 
  1096.  
  1097.  Global font change 
  1098.            Change the font in all the debugger windows. 
  1099.  
  1100.  Enable window cascading 
  1101.            Enable or disable the overlapping of debugger windows. 
  1102.  
  1103.  Display tool buttons 
  1104.            Display tool buttons in all the debugger windows. 
  1105.  
  1106.  Display hover help 
  1107.            Display hover help in all the windows. 
  1108.  
  1109.  Display infoarea 
  1110.            Display the information area in all debugger windows. 
  1111.  
  1112.  Place tool buttons on title bar 
  1113.            Display the tool buttons on the title bar of each window. 
  1114.  
  1115.  
  1116. ΓòÉΓòÉΓòÉ 3.6.2.1. Debugger Properties Choice ΓòÉΓòÉΓòÉ
  1117.  
  1118. Select the Debugger properties choice to determine how your threads and source 
  1119. files initially display and how they are handled when they stop or are no 
  1120. longer active. When you select Debugger properties, the Source Windows 
  1121. Properties window displays. 
  1122.  
  1123.  
  1124. ΓòÉΓòÉΓòÉ 3.6.2.2. Monitor Properties Choice ΓòÉΓòÉΓòÉ
  1125.  
  1126. Select the Monitor properties choice to select the settings for monitoring 
  1127. variables or expressions. 
  1128.  
  1129. When you select Monitor properties, the Monitor Properties window displays. 
  1130.  
  1131.  
  1132. ΓòÉΓòÉΓòÉ 3.6.2.3. Default Data Representation Cascading Choice ΓòÉΓòÉΓòÉ
  1133.  
  1134. When you select Default data representation, a cascaded menu displays with 
  1135. language choices.  This lets you change the default representation for a data 
  1136. type in the language that you select. 
  1137.  
  1138.  
  1139. ΓòÉΓòÉΓòÉ 3.6.2.3.1. Language Choices ΓòÉΓòÉΓòÉ
  1140.  
  1141. Select a language to change the default representation of the selected data 
  1142. type. For example, you can change the default representation for an integer in 
  1143. the C language from decimal to hexadecimal. 
  1144.  
  1145. When you select System, the Default Representation window displays. 
  1146.  
  1147.  
  1148. ΓòÉΓòÉΓòÉ 3.6.2.3.2. System Choice ΓòÉΓòÉΓòÉ
  1149.  
  1150. Select the System choice to change the default representation of the math 
  1151. coprocessor registers. This choice is language independent. 
  1152.  
  1153. When you select the System choice, the Default Representation window displays. 
  1154.  
  1155.  
  1156. ΓòÉΓòÉΓòÉ 3.6.2.4. Program Profiles Cascading Choice ΓòÉΓòÉΓòÉ
  1157.  
  1158. Select the Program profiles cascading choice to specify where you want the 
  1159. program profiles changed, replaced or delete program profiles. 
  1160.  
  1161. Menu Summary 
  1162.  
  1163.  Select information 
  1164.            Select the information to be saved in the program profile. 
  1165.  
  1166.  Delete program profiles 
  1167.            Delete profile information for a program that you have debugged. 
  1168.  
  1169.  Change location 
  1170.            Change the location of the files that hold the debugger settings. 
  1171.  
  1172.  
  1173. ΓòÉΓòÉΓòÉ 3.6.2.4.1. Select Information Choice ΓòÉΓòÉΓòÉ
  1174.  
  1175. Select the Select information choice to indicate what information you want 
  1176. saved in the program profiles.  You may save breakpoints, breakpoints list 
  1177. windows, settings for the Debug Session Control window, monitors, stack, and 
  1178. source views. 
  1179.  
  1180. When you select Select information, the Select information window displays. 
  1181.  
  1182.  
  1183. ΓòÉΓòÉΓòÉ 3.6.2.4.2. Delete Program Profiles Choice ΓòÉΓòÉΓòÉ
  1184.  
  1185. Select the Delete program profiles choice to delete the profile information for 
  1186. a program that you have previously debugged. 
  1187.  
  1188. When you select Delete program profiles, the Delete Program Profiles window 
  1189. displays. 
  1190.  
  1191.  
  1192. ΓòÉΓòÉΓòÉ 3.6.2.4.3. Change Location Choice ΓòÉΓòÉΓòÉ
  1193.  
  1194. Select the Change location choice to specify where you want the profile 
  1195. information file stored. The debugger program profile information file contains 
  1196. your selections for most of the debugger settings and information. You choose 
  1197. whether or not you want your selections saved for the next debugging session by 
  1198. selecting Save settings when you make your selections in an option window. 
  1199.  
  1200. When you select Change location, the Change Location window displays. 
  1201.  
  1202.  
  1203. ΓòÉΓòÉΓòÉ 3.6.2.5. Save Debugger Window Positions Choice ΓòÉΓòÉΓòÉ
  1204.  
  1205. Use the Save debugger window positions choice to save the window positions. 
  1206.  
  1207.  
  1208. ΓòÉΓòÉΓòÉ 3.6.2.6. Global Font Change Choice ΓòÉΓòÉΓòÉ
  1209.  
  1210. Select the Global font change choice to change the font in all the debugger 
  1211. windows. 
  1212.  
  1213. When you select Global font change, the Font window displays. 
  1214.  
  1215.  
  1216. ΓòÉΓòÉΓòÉ 3.6.2.7. Enable Window Cascading Choice ΓòÉΓòÉΓòÉ
  1217.  
  1218. When you enable this choice, successive windows that are opened overlap each 
  1219. other on the screen. However, they are cascaded so that you can see the 
  1220. underlying windows. When this choice is disabled, successive windows cover 
  1221. previously displayed windows so that you do not see the underlying windows. 
  1222.  
  1223.  
  1224. ΓòÉΓòÉΓòÉ 3.6.2.8. Display Tool Buttons Choice ΓòÉΓòÉΓòÉ
  1225.  
  1226. Select the Display tool buttons choice if you want the tool buttons to be shown 
  1227. in all the debugger windows. 
  1228.  
  1229. If this choice is enabled, a check mark symbol displays beside the Tool buttons 
  1230. choice and buttons display. 
  1231.  
  1232.  
  1233. ΓòÉΓòÉΓòÉ 3.6.2.9. Display Hover Help Choice ΓòÉΓòÉΓòÉ
  1234.  
  1235. Select the Display hover help choice if you want the hover help to be shown in 
  1236. all the debugger windows. 
  1237.  
  1238. The hover help shows the names of the tool buttons. 
  1239.  
  1240.  
  1241. ΓòÉΓòÉΓòÉ 3.6.2.10. Display Infoarea Choice ΓòÉΓòÉΓòÉ
  1242.  
  1243. Select the Display infoarea choice if you want the information area to be shown 
  1244. in all the debugger windows. 
  1245.  
  1246. The information area, which is located at the bottom of the window, provides a 
  1247. brief description of each menu item. 
  1248.  
  1249.  
  1250. ΓòÉΓòÉΓòÉ 3.6.2.11. Place Buttons on Title Bar Choice ΓòÉΓòÉΓòÉ
  1251.  
  1252. Select the Place buttons on title bar choice if you want the tool buttons to be 
  1253. shown in the title bar of the debugger windows. 
  1254.  
  1255.  
  1256. ΓòÉΓòÉΓòÉ 3.7. Windows Menu ΓòÉΓòÉΓòÉ
  1257.  
  1258. Select the Windows menu to display a list of all the open debugger windows. 
  1259.  
  1260.  
  1261. ΓòÉΓòÉΓòÉ 3.7.1. Local Variables Choice ΓòÉΓòÉΓòÉ
  1262.  
  1263. Select the Local variables choice to display the local variables (static, 
  1264. automatic, and parameters) for the current function.  The local variables 
  1265. display in the Local Variables window. 
  1266.  
  1267.  
  1268. ΓòÉΓòÉΓòÉ 3.7.2. Messages Choice ΓòÉΓòÉΓòÉ
  1269.  
  1270. Select the Messages choice to display kernel printfs and direct COM port 
  1271. messages from device drivers. When you select Messages, the Messages window 
  1272. displays. 
  1273.  
  1274.  
  1275. ΓòÉΓòÉΓòÉ 3.7.3. Passthru Choice ΓòÉΓòÉΓòÉ
  1276.  
  1277. Select the Passthru choice to send commands to KDB and display the formatted 
  1278. KDB response. When you select Passthru, the Passthru window displays. 
  1279.  
  1280.  
  1281. ΓòÉΓòÉΓòÉ 3.7.4. Registers Choice ΓòÉΓòÉΓòÉ
  1282.  
  1283. Select the Registers choice to display the processor and math coprocessor 
  1284. registers. 
  1285.  
  1286. When you select Registers, the Registers window displays. 
  1287.  
  1288.  
  1289. ΓòÉΓòÉΓòÉ 3.7.5. Call Stack Choice ΓòÉΓòÉΓòÉ
  1290.  
  1291. Select the Call stack choice to list the active functions or procedures for a 
  1292. particular thread. When you select Call stack, the Call Stack window displays. 
  1293.  
  1294.  
  1295. ΓòÉΓòÉΓòÉ 3.7.6. Storage Choice ΓòÉΓòÉΓòÉ
  1296.  
  1297. Select the Storage choice to display the contents of storage used by your 
  1298. program. When you select Storage, a storage window is displayed.  You can open 
  1299. multiple storage windows. 
  1300.  
  1301.  
  1302. ΓòÉΓòÉΓòÉ 3.8. Help Menu ΓòÉΓòÉΓòÉ
  1303.  
  1304. Select choices from the Help menu to complement the online help information 
  1305. that you can get for the debugger when you press F1 or select the Help push 
  1306. button. 
  1307.  
  1308.  Menu Summary 
  1309.  
  1310.  Help index 
  1311.            An alphabetical index of all available debugger help topics. 
  1312.  
  1313.  General help 
  1314.            Help information for the active window. 
  1315.  
  1316.  Using help 
  1317.            How to use the debugger help facility. 
  1318.  
  1319.  Product information 
  1320.            Display product information. 
  1321.  
  1322.  
  1323. ΓòÉΓòÉΓòÉ 3.8.1. Help Index Choice ΓòÉΓòÉΓòÉ
  1324.  
  1325. Select the Help index choice to display an alphabetical list of index topics 
  1326. for the debugger. Use the Find choice provided with the online help facility to 
  1327. locate topics in the index. 
  1328.  
  1329.  
  1330. ΓòÉΓòÉΓòÉ 3.8.2. General Help Choice ΓòÉΓòÉΓòÉ
  1331.  
  1332. Select the General help choice to display online help for the active debugger 
  1333. window. The online help panel displayed is the same panel that displays when 
  1334. you place your cursor inside the window and press F1. 
  1335.  
  1336.  
  1337. ΓòÉΓòÉΓòÉ 3.8.3. Using Help Choice ΓòÉΓòÉΓòÉ
  1338.  
  1339. Select the Using help choice to display online help information about the OS/2 
  1340. help facility. 
  1341.  
  1342.  
  1343. ΓòÉΓòÉΓòÉ 3.8.4. Product Information Choice ΓòÉΓòÉΓòÉ
  1344.  
  1345. Select the Product information choice to display the product information. 
  1346.  
  1347.  
  1348. ΓòÉΓòÉΓòÉ <hidden> Shortcut Keys ΓòÉΓòÉΓòÉ
  1349.  
  1350. This help panel lists the  shortcut keys you use to invoke debugger choices. 
  1351. When two key names are joined by a plus sign (+), use these two keys together. 
  1352. Hold down the first key and press the second key. 
  1353.  
  1354. The following shortcut keys are available for the source windows 
  1355. (Source/Disassembly/Mixed): 
  1356.  
  1357.  Step over 
  1358.            O 
  1359.  
  1360.  Step into 
  1361.            I 
  1362.  
  1363.  Step debug 
  1364.            D 
  1365.  
  1366.  Step return 
  1367.            T 
  1368.  
  1369.  Run 
  1370.            R 
  1371.  
  1372.  Run to location 
  1373.            L 
  1374.  
  1375.  Jump to location 
  1376.            N 
  1377.  
  1378.  Animate 
  1379.            A 
  1380.  
  1381.  Halt 
  1382.            SysRq 
  1383.  
  1384.  
  1385. ΓòÉΓòÉΓòÉ 4. Source Windows: Source, Mixed, and Disassembly ΓòÉΓòÉΓòÉ
  1386.  
  1387. The Source window displays the source code for the program you are debugging. 
  1388. When you start the debugger, the Source window displays if the source file is 
  1389. available. If the source file is not available, the Source Filename window 
  1390. displays. Although, only one source window initially displays, you can display 
  1391. additional source windows at any time. 
  1392.  
  1393. In each source window, executable statements initially display in blue. You can 
  1394. set breakpoints or execute your program only on executable lines. 
  1395. Non-executable lines, such as comments, initially display in black. The prefix 
  1396. area of each source line displays a line number. If your source file contains 
  1397. include files, the Source window displays in a notebook format where the tabs 
  1398. represent the include files. 
  1399.  
  1400. Note:  You can change the view priority of the source windows using the 
  1401. Debugger Properties window. 
  1402.  
  1403. The tool buttons display in each of the source windows. Double-click on any of 
  1404. the following for a description of that button. 
  1405.  
  1406. The buttons shown in the window can also be accessed from several of the menu 
  1407. items in the source windows.  For example, the step buttons can be found under 
  1408. the Run menu. 
  1409.  
  1410. Views 
  1411.  
  1412. You can display your source in three different views. 
  1413.  
  1414. The Source view  displays the source code for the program you are debugging as 
  1415. it was written. 
  1416.  
  1417. The Disassembly view displays the source code as assembler instructions without 
  1418. the symbolic information. The prefix area of each line displays the address of 
  1419. the assembler instruction. 
  1420.  
  1421. The Mixed view displays the source code for the component and the assembler 
  1422. instructions that are generated for each source line without the symbolic 
  1423. information. 
  1424.  
  1425. You can change from one view to another using one of the following two methods: 
  1426.  
  1427.      Select the View menu from a source window and then select the view you 
  1428.       want displayed. 
  1429.      Select the View button located in the tool bar.  This allows you to cycle 
  1430.       through the source windows. The order depends on the view priority. 
  1431.  
  1432.  Basic tasks from the source windows include: 
  1433.  
  1434.  Setting line breakpoints Double-click on the prefix area of any line to set a 
  1435.            simple line breakpoint. For more information about breakpoints, see 
  1436.            Breakpoints List. 
  1437.  
  1438.  Single stepping your program Press mouse button two to single step your 
  1439.            program. This performs a Step over command. 
  1440.  
  1441.  Monitoring and modifying variables Double-click on any variable name in your 
  1442.            program to display that variable in a monitor window. Drag the mouse 
  1443.            over an expression, and then double-click on the highlighted 
  1444.            expression, to display the expression in a monitor window. 
  1445.  
  1446.            Select Local Variables from the Windows menu to display a monitor 
  1447.            window of all the local variables in your program. 
  1448.  
  1449.  The four monitors for variables and expressions are: 
  1450.  
  1451.      Program monitor 
  1452.      Private monitor 
  1453.      Popup expression 
  1454.      Local Variables 
  1455.  
  1456.  Variable or Expression Popup Menu 
  1457.  
  1458.  The Variable or Expression Popup Menu contains options that you can perform on 
  1459.  a variable or expression. The popup menu is shown when you click mouse button 
  1460.  2 with the mouse pointer on a highlighted variable or expression in a source 
  1461.  window, unless the Step with mouse button 2 check box on the Debugger 
  1462.  Properties window is enabled. (If the check box is enabled, clicking mouse 
  1463.  button 2 performs a step over command.) 
  1464.  
  1465.  Menu Summary 
  1466.  
  1467.  Popup expression 
  1468.    Show the variable or expression in a popup expression window. 
  1469.  
  1470.  Add to private monitor 
  1471.    Add the variable or expression to the private monitor. 
  1472.  
  1473.  Add to program monitor 
  1474.    Add the variable or expression to the program monitor. 
  1475.  
  1476.  Add to storage monitor 
  1477.    Add the variable or expression to the storage monitor. 
  1478.  
  1479.  Copy 
  1480.    Copy the variable or expression to the copy buffer. 
  1481.  
  1482.  Find 
  1483.    Find the next occurrence of the variable or expression. 
  1484.  
  1485.  Find function 
  1486.    Find the function which contains the variable or expression. 
  1487.  
  1488.  Set function breakpoint 
  1489.    Set a function breakpoint on the selected variable or expression. 
  1490.  
  1491.  Line Popup Menu 
  1492.  
  1493.  The Line Popup Menu contains options that you can perform on breakpoints and 
  1494.  the Run to location command. The popup menu is shown when you click mouse 
  1495.  button 2 with the mouse pointer on a line number in a source window, unless 
  1496.  the Step with mouse button 2 check box on the Debugger Properties window is 
  1497.  enabled. (If the check box is enabled, clicking mouse button 2 performs a step 
  1498.  over command.) 
  1499.  
  1500.  Menu Summary 
  1501.  
  1502.  Run to location 
  1503.    Run your program from the current line up to the line that is highlighted. 
  1504.  
  1505.  Jump to location 
  1506.    Change the current line in the program without executing the code between 
  1507.    the present current line and the new current line. 
  1508.  
  1509.  Set breakpoint 
  1510.    Set a simple line breakpoint on the current line. 
  1511.  
  1512.  Set line breakpoint 
  1513.    Use the Set Line Breakpoint window to set a line breakpoint. 
  1514.  
  1515.  Clear breakpoint 
  1516.    Delete the breakpoint on the current line. 
  1517.  
  1518.  Disable breakpoint 
  1519.    Disable the breakpoint on the current line. 
  1520.  
  1521.  Enable breakpoint 
  1522.    Enable the breakpoint on the current line. 
  1523.  
  1524.  Note:  The Set breakpoint choice is shown if the line does not have a 
  1525.  breakpoint. The Clear breakpoint, Disable breakpoint, and Enable breakpoint 
  1526.  choices are shown if the line has a breakpoint. The Disable choice is shown if 
  1527.  the highlighted breakpoint is enabled. The Enable choice is shown if the 
  1528.  highlighted breakpoint is disabled. 
  1529.  
  1530.  Menu Bar Summary for the Source Windows 
  1531.  
  1532.  File 
  1533.            Start and end the debugger, and control the source window. 
  1534.  
  1535.  View 
  1536.            Search for strings in the text and select a different view of your 
  1537.            program or change the current window to a notebook format. 
  1538.  
  1539.  Breakpoints 
  1540.            Set and manipulate breakpoints in your program. 
  1541.  
  1542.  Monitors 
  1543.            Display the other debugging windows. 
  1544.  
  1545.  Run 
  1546.            Run your program in several ways. 
  1547.  
  1548.  Options 
  1549.            Change the parameters that control how your program displays and 
  1550.            runs. 
  1551.  
  1552.  Windows 
  1553.            Displays the active debugger windows. 
  1554.  
  1555.  Help 
  1556.            Display online help that compliments the information you get when 
  1557.            you press F1 or select the Help push button. 
  1558.  
  1559.  Tool Buttons Summary 
  1560.  
  1561.  The following buttons are in the tool bar of the source windows to allow easy 
  1562.  access to frequently used functions: 
  1563.  
  1564.            Step over executes the current, highlighted line in the program, but 
  1565.            does not enter any called function. 
  1566.  
  1567.            Step into executes the current, highlighted line in the program and 
  1568.            enters any called program or function. 
  1569.  
  1570.            Step debug executes the current, highlighted line in the program. 
  1571.            The debugger steps over any function for which debugging information 
  1572.            is not available (for example, library and system routines) and 
  1573.            steps into any function for which debugging information is 
  1574.            available. 
  1575.  
  1576.            Step return automatically executes the lines of code up to, and 
  1577.            including, the return statement of the current function. 
  1578.  
  1579.            Run runs the program, executing all enabled threads. Control returns 
  1580.            to the debugger when: 
  1581.  
  1582.                the program ends 
  1583.  
  1584.                execution stops at an enabled breakpoint. 
  1585.  
  1586.            When the debugger is running the run button changes to 
  1587.  
  1588.            Debug Session Control displays the Debug Session Control window. 
  1589.  
  1590.            Call Stack displays the Call Stack window. 
  1591.  
  1592.            Register displays the Register window. 
  1593.  
  1594.            Program Monitor displays the Program Monitor window. 
  1595.  
  1596.            Storage displays a new Storage window. 
  1597.  
  1598.            Breakpoints displays the Breakpoints List window. 
  1599.  
  1600.            View cycles through the source windows, depending on the view 
  1601.            priority. 
  1602.  
  1603.  Related Information 
  1604.  
  1605.      Debug Session Control Window 
  1606.      Register Window 
  1607.      Call Stack Window 
  1608.      Local Variables Window 
  1609.      Program Monitor Window 
  1610.      Private Monitor Window 
  1611.      Popup Expression Window 
  1612.      Storage Window 
  1613.      Breakpoints List Window 
  1614.      Monitor Properties 
  1615.  
  1616.  
  1617. ΓòÉΓòÉΓòÉ <hidden> Popup Expression Choice ΓòÉΓòÉΓòÉ
  1618.  
  1619. Select the Popup expression choice to show the highlighted variable or 
  1620. expression in a popup expression window. If the Popup monitor radio button in 
  1621. the Monitor Properties window is selected, the contents of the variable or 
  1622. expression is updated when they change. 
  1623.  
  1624.  
  1625. ΓòÉΓòÉΓòÉ <hidden> Add To Private Monitor Choice ΓòÉΓòÉΓòÉ
  1626.  
  1627. Select the Add to private monitor choice to add the highlighted variable or 
  1628. expression to the Private Monitor window. If the Private monitor radio button 
  1629. is enabled in the Monitor Properties window, the contents of the variable or 
  1630. expression is updated when they change. 
  1631.  
  1632.  
  1633. ΓòÉΓòÉΓòÉ <hidden> Add To Program Monitor Choice ΓòÉΓòÉΓòÉ
  1634.  
  1635. Select the Add to program monitor choice to add the highlighted variable or 
  1636. expression to the Program Monitor window. If the Program monitor radio button 
  1637. in the Monitor Properties window is selected, the contents of the variable or 
  1638. expression is updated when they change. 
  1639.  
  1640.  
  1641. ΓòÉΓòÉΓòÉ <hidden> Add To Storage Monitor Choice ΓòÉΓòÉΓòÉ
  1642.  
  1643. Select the Add to storage monitor choice to add the highlighted variable or 
  1644. expression to the Storage window. If the Storage monitor radio button in the 
  1645. Monitor Properties window is selected, the contents of the variable or 
  1646. expression is updated when they change. 
  1647.  
  1648.  
  1649. ΓòÉΓòÉΓòÉ <hidden> Copy Choice ΓòÉΓòÉΓòÉ
  1650.  
  1651. Select the Copy choice to copy the highlighted variable or expression into the 
  1652. copy buffer. 
  1653.  
  1654. To copy a variable or expression: 
  1655.  
  1656.    1. Highlight the variable or expression you want to copy. 
  1657.    2. Select the Copy choice. 
  1658.    3. Move to the desired location. 
  1659.    4. Press Shift+Insert to paste the variable or expression in the current 
  1660.       location. 
  1661.  
  1662.  
  1663. ΓòÉΓòÉΓòÉ <hidden> Find Choice ΓòÉΓòÉΓòÉ
  1664.  
  1665. Select the Find choice to find the next occurrence of the highlighted variable 
  1666. or expression. 
  1667.  
  1668. To find a variable or expression: 
  1669.  
  1670.    1. Highlight the variable or expression you want to find. 
  1671.    2. Select the Find choice. 
  1672.  
  1673.  The next occurrence of the variable or expression is shown in a source window. 
  1674.  
  1675.  
  1676. ΓòÉΓòÉΓòÉ <hidden> Find Function Choice ΓòÉΓòÉΓòÉ
  1677.  
  1678. Select the Find function  choice to find the function which contains the 
  1679. highlighted variable or expression. 
  1680.  
  1681. To find the procedure: 
  1682.  
  1683.    1. Highlight the variable or expression. 
  1684.    2. Select the Find function choice. 
  1685.  
  1686.  The beginning of the function which contains the variable or expression is 
  1687.  shown in a source window. 
  1688.  
  1689.  
  1690. ΓòÉΓòÉΓòÉ <hidden> Set Function Breakpoint Choice ΓòÉΓòÉΓòÉ
  1691.  
  1692. Select the Set function breakpoint choice to set a function breakpoint on the 
  1693. highlighted variable or expression. A function breakpoint stops the execution 
  1694. of your program after calling a specific function. 
  1695.  
  1696. To set a function breakpoint: 
  1697.  
  1698.    1. Highlight the variable or expression. 
  1699.    2. Select the Set function breakpoint choice. 
  1700.  
  1701.  The Function Breakpoint window displays. 
  1702.  
  1703.  
  1704. ΓòÉΓòÉΓòÉ <hidden> Set Breakpoint Choice ΓòÉΓòÉΓòÉ
  1705.  
  1706. Select the Set breakpoint choice to set a simple line breakpoint on the current 
  1707. line. 
  1708.  
  1709.  
  1710. ΓòÉΓòÉΓòÉ 4.1. Clear Breakpoint Choice ΓòÉΓòÉΓòÉ
  1711.  
  1712. Select the Clear breakpoint choice to delete the breakpoint on the current 
  1713. line. 
  1714.  
  1715. To clear the breakpoint: 
  1716.  
  1717.    1. Highlight the line which has the breakpoint you want to delete. 
  1718.    2. Select the Clear choice. 
  1719.  
  1720.  
  1721. ΓòÉΓòÉΓòÉ <hidden> Disable Breakpoint Choice ΓòÉΓòÉΓòÉ
  1722.  
  1723. Select the Disable breakpoint choice to disable the breakpoint on the current 
  1724. line. 
  1725.  
  1726. To disable the breakpoint: 
  1727.  
  1728.    1. Highlight the line which has the breakpoint you want to disable. 
  1729.    2. Select the Disable choice. 
  1730.  
  1731.  
  1732. ΓòÉΓòÉΓòÉ <hidden> Enable Breakpoint Choice ΓòÉΓòÉΓòÉ
  1733.  
  1734. Select the Enable breakpoint choice to enable the breakpoint on the current 
  1735. line. 
  1736.  
  1737. To enable the breakpoint: 
  1738.  
  1739.    1. Highlight the line which has the breakpoint you want to enable. 
  1740.    2. Select the Enable choice. 
  1741.  
  1742.  
  1743. ΓòÉΓòÉΓòÉ <hidden> Step Over Button ΓòÉΓòÉΓòÉ
  1744.  
  1745. Executes the current, highlighted line in the program, but does not enter any 
  1746. called function. You can also access the Step over function by placing the 
  1747. mouse pointer in a source window and clicking mouse button two to execute one 
  1748. line. 
  1749.  
  1750. All enabled threads continue execution. 
  1751.  
  1752. Note:  The debugger stops in a called function if it encounters a breakpoint. 
  1753.  
  1754.  
  1755. ΓòÉΓòÉΓòÉ <hidden> Step Into Button ΓòÉΓòÉΓòÉ
  1756.  
  1757. Executes the current, highlighted line in the program and enters any called 
  1758. program or function. 
  1759.  
  1760. Note:  If you have multiple calls on the same source line and perform a step 
  1761. into for which there is no source code available, the Disassembly view 
  1762. displays.  To return to the Source window, you have to do a step return.  To 
  1763. avoid this, perform step debug so that the debugger will step over any calls 
  1764. for which debugging data is not available, such as library and system 
  1765. functions, and steps into any function for which debugging information is 
  1766. available. 
  1767.  
  1768.  
  1769. ΓòÉΓòÉΓòÉ <hidden> Step Debug Button ΓòÉΓòÉΓòÉ
  1770.  
  1771. Executes the current, highlighted line in the program. The debugger steps over 
  1772. any function for which debugging information is not available (for example, 
  1773. library and system routines), and steps into any function for which debugging 
  1774. information is available. 
  1775.  
  1776.  
  1777. ΓòÉΓòÉΓòÉ <hidden> Step Return Button ΓòÉΓòÉΓòÉ
  1778.  
  1779. Automatically executes the lines of code up to, and including, the return 
  1780. statement of the current function. 
  1781.  
  1782.  
  1783. ΓòÉΓòÉΓòÉ <hidden> Run Button ΓòÉΓòÉΓòÉ
  1784.  
  1785. Runs the program, executing all enabled threads. Control returns to the 
  1786. debugger when: 
  1787.  
  1788.      the program ends 
  1789.  
  1790.      execution stops at an enabled breakpoint. 
  1791.  
  1792.  When the debugger is running the run button changes to 
  1793.  
  1794.  
  1795. ΓòÉΓòÉΓòÉ <hidden> Halt Button ΓòÉΓòÉΓòÉ
  1796.  
  1797. Select the Halt button to interrupt the program that you are debugging. You can 
  1798. also access this choice by pressing SysRq (Alt+PrintScreen). 
  1799.  
  1800.  
  1801. ΓòÉΓòÉΓòÉ <hidden> Debug Session Control Button ΓòÉΓòÉΓòÉ
  1802.  
  1803. Displays the Debug Session Control window. 
  1804.  
  1805.  
  1806. ΓòÉΓòÉΓòÉ <hidden> Call Stack Button ΓòÉΓòÉΓòÉ
  1807.  
  1808. Displays the Call Stack window. 
  1809.  
  1810.  
  1811. ΓòÉΓòÉΓòÉ <hidden> Register Button ΓòÉΓòÉΓòÉ
  1812.  
  1813. Displays the Register window. 
  1814.  
  1815.  
  1816. ΓòÉΓòÉΓòÉ <hidden> Program Monitor Button ΓòÉΓòÉΓòÉ
  1817.  
  1818. Displays the Program Monitor window. 
  1819.  
  1820.  
  1821. ΓòÉΓòÉΓòÉ <hidden> Storage Button ΓòÉΓòÉΓòÉ
  1822.  
  1823. Displays a new Storage window. 
  1824.  
  1825.  
  1826. ΓòÉΓòÉΓòÉ <hidden> Breakpoints Button ΓòÉΓòÉΓòÉ
  1827.  
  1828. Displays the Breakpoints List window. 
  1829.  
  1830.  
  1831. ΓòÉΓòÉΓòÉ <hidden> View Button ΓòÉΓòÉΓòÉ
  1832.  
  1833. Cycles through the source windows, depending on the view priority. 
  1834.  
  1835.  
  1836. ΓòÉΓòÉΓòÉ <hidden> Delete Highlighted Breakpoint Button ΓòÉΓòÉΓòÉ
  1837.  
  1838. Deletes the breakpoint that is highlighted in the Breakpoints List window. 
  1839.  
  1840.  
  1841. ΓòÉΓòÉΓòÉ <hidden> Delete All Breakpoints Button ΓòÉΓòÉΓòÉ
  1842.  
  1843. Deletes all the breakpoints in the Breakpoints List window. 
  1844.  
  1845.  
  1846. ΓòÉΓòÉΓòÉ <hidden> Messages ΓòÉΓòÉΓòÉ
  1847.  
  1848. Displays the Messages window. 
  1849.  
  1850.  
  1851. ΓòÉΓòÉΓòÉ <hidden> Passthru Button ΓòÉΓòÉΓòÉ
  1852.  
  1853. Displays the Passthru window. 
  1854.  
  1855. The Passthru window sends commands to KDB and displays the formatted KDB 
  1856. response. 
  1857.  
  1858.  
  1859. ΓòÉΓòÉΓòÉ <hidden> Growth Direction Button ΓòÉΓòÉΓòÉ
  1860.  
  1861. Allows you change the direction that items are displayed. Toggling changes the 
  1862. growth to direction from: 
  1863.  
  1864.  Up 
  1865.            Displays new items at the top of the Call Stack window. 
  1866.  
  1867.  Down 
  1868.            Displays new items at the bottom of the Call Stack window. 
  1869.  
  1870.  
  1871. ΓòÉΓòÉΓòÉ 4.2. File Menu ΓòÉΓòÉΓòÉ
  1872.  
  1873. Select choices from the File menu of the source windows to start programs, find 
  1874. the current line, replace your current program file with a program file from 
  1875. another location or with a different name, restart the current debugging 
  1876. session, restart a previous debugging session for this program, and end the 
  1877. debugging session. 
  1878.  
  1879. Menu Summary 
  1880.  
  1881.  Open new source 
  1882.            Display a new source file. 
  1883.  
  1884.  Find function 
  1885.            Open a source window to a particular function. 
  1886.  
  1887.  Where is execution point 
  1888.            Open a source window containing the next line to be executed. 
  1889.  
  1890.  Save window in file 
  1891.            Save the source window's contents into a file. 
  1892.  
  1893.  Reboot target 
  1894.            Reboots the target computer while the debugger stays attached. 
  1895.  
  1896.  Close debugger 
  1897.            Close the debugging session. 
  1898.  
  1899.  
  1900. ΓòÉΓòÉΓòÉ 4.2.1. Open New Source Choice ΓòÉΓòÉΓòÉ
  1901.  
  1902. Select the Open new source choice to open a new source file. When you select 
  1903. Open new source, the Open New Source window displays. 
  1904.  
  1905.  
  1906. ΓòÉΓòÉΓòÉ 4.2.1.1. Open New Source Window ΓòÉΓòÉΓòÉ
  1907.  
  1908. Use the Open New Source window to open a new source file. 
  1909.  
  1910. To use the Open New Source window: 
  1911.  
  1912.    1. Type the name of the object file you want to open the source for in the 
  1913.       Source entry field. For example, to look for the source used to compile 
  1914.       A123.OBJ, type the following: 
  1915.  
  1916.                 A123.ext
  1917.  
  1918.       If you are unsure of the file name, select the File List push button to 
  1919.       view a list of the files that you can select. 
  1920.  
  1921.    2. Type the name of the executable file in the Executable entry field.  The 
  1922.       source files for the executable file display in the Source entry field. 
  1923.  
  1924.       Note:  You have to disable the All executables check box option to search 
  1925.       only one executable file. 
  1926.  
  1927.    3. Select the appropriate push button to continue. 
  1928.  
  1929.  All executables Check Box 
  1930.            Enable this option if you want to search all the executable files. 
  1931.            Disable this option to search only one executable file. 
  1932.  
  1933.  Debugging information only Check Box 
  1934.            Enable this option if you want to search only the source files that 
  1935.            contain debugging information. 
  1936.  
  1937.  
  1938. ΓòÉΓòÉΓòÉ 4.2.2. Find Function Choice ΓòÉΓòÉΓòÉ
  1939.  
  1940. Select the Find function choice to open a source window to a particular 
  1941. function. When you select Find function, the Find Function window displays. 
  1942.  
  1943.  
  1944. ΓòÉΓòÉΓòÉ 4.2.2.1. Find Function Window ΓòÉΓòÉΓòÉ
  1945.  
  1946. Use the Find Function window to open a source window to a particular function. 
  1947.  
  1948. To use the Find Function window: 
  1949.  
  1950.    1. Type the name of the function you want to search for in the Function 
  1951.       entry field. 
  1952.  
  1953.    2. Select the appropriate push button to continue. 
  1954.  
  1955.  Debugging information only Check Box 
  1956.            Enable this check box if you want to search only the object files 
  1957.            that contain debugging information. 
  1958.  
  1959.  Case sensitive Check Box 
  1960.            Enable this check box if you want to search for the string exactly 
  1961.            as typed. Disable this check box if you want to search for both 
  1962.            uppercase and lowercase characters. 
  1963.  
  1964.  If the function that you specify is not found, the following message displays: 
  1965.  
  1966.      No matching function found
  1967.  
  1968.  This means it may be a static function or the function you specified does not 
  1969.  exist. 
  1970.  
  1971.  
  1972. ΓòÉΓòÉΓòÉ 4.2.3. Where Is Execution Point Choice ΓòÉΓòÉΓòÉ
  1973.  
  1974. Select the Where is execution point choice to locate the next line in the 
  1975. thread to be executed. 
  1976.  
  1977.  
  1978. ΓòÉΓòÉΓòÉ 4.2.4. Save Window in File Choice ΓòÉΓòÉΓòÉ
  1979.  
  1980. Select the Save Window in File choice to have the debugger save the source 
  1981. window's contents in a file. You can choose the name of the file from the Save 
  1982. to File window. 
  1983.  
  1984.  
  1985. ΓòÉΓòÉΓòÉ 4.2.4.1. Save to File Window ΓòÉΓòÉΓòÉ
  1986.  
  1987. Use the Save to File window to name the file into which you want to save the 
  1988. source window's contents. To use the Save to File window: 
  1989.  
  1990.    1. Type the name of the file in the File Name entry field. 
  1991.  
  1992.    2. Select the appropriate push button to continue. 
  1993.  
  1994.  
  1995. ΓòÉΓòÉΓòÉ 4.2.5. Reboot target ΓòÉΓòÉΓòÉ
  1996.  
  1997. Reboots the victim machine while the debugger stays attached. 
  1998.  
  1999.  
  2000. ΓòÉΓòÉΓòÉ 4.2.6. Close Debugger Choice ΓòÉΓòÉΓòÉ
  2001.  
  2002. Select the Close debugger choice to close your current debugging session. 
  2003.  
  2004. When you select the Close debugger choice, a message box prompts you to confirm 
  2005. that you want to end the debugging session. 
  2006.  
  2007.  
  2008. ΓòÉΓòÉΓòÉ 4.3. View Menu ΓòÉΓòÉΓòÉ
  2009.  
  2010. Select choices from the View menu to search for strings in the text and select 
  2011. a different view of your program or change the current window to a notebook 
  2012. format. Menu Summary 
  2013.  
  2014.  Find 
  2015.            Search for text strings in the active window. 
  2016.  
  2017.  Find next 
  2018.            Find the next occurrence of a string. 
  2019.  
  2020.  Scroll to line number 
  2021.            Scroll to a particular line or set a breakpoint on a specified line. 
  2022.  
  2023.  Select include 
  2024.            Select to view the include files. 
  2025.  
  2026.  Change text file 
  2027.            Select the file name to use as the source in the current view. 
  2028.  
  2029.  Source 
  2030.            Displays the Source window. 
  2031.  
  2032.  Disassembly 
  2033.            Displays the Disassembly window. 
  2034.  
  2035.  Mixed 
  2036.            Displays the Mixed window. 
  2037.  
  2038.  
  2039. ΓòÉΓòÉΓòÉ 4.3.1. Find Choice ΓòÉΓòÉΓòÉ
  2040.  
  2041. Select the Find choice to search for a text string in the active window. You 
  2042. can search for simple text strings that do not use wildcards (*). 
  2043.  
  2044. When you select Find, the Find window displays, prompting you for the text 
  2045. string you want to find. 
  2046.  
  2047. If you are searching in the same program component, the default is the text 
  2048. string you typed the last time you completed the Find window for this 
  2049. component. 
  2050.  
  2051.  
  2052. ΓòÉΓòÉΓòÉ 4.3.1.1. Find Window ΓòÉΓòÉΓòÉ
  2053.  
  2054. To use the Find window to search for a text string: 
  2055.  
  2056.    1. Type the text string you want to search for in the Text entry field. 
  2057.  
  2058.    2. Select the appropriate push button to continue. 
  2059.  
  2060.  Text Entry Field 
  2061.            Type the text string you want to search for in this entry field. 
  2062.  
  2063.  The search string can have: 
  2064.  
  2065.      Alphabetic and numeric characters 
  2066.      A maximum of 256 characters 
  2067.      Uppercase and lowercase characters. 
  2068.  
  2069.  Case sensitive Check Box 
  2070.            Enable this check box if you want to search for the string exactly 
  2071.            as typed. Disable this check box to search for uppercase and 
  2072.            lowercase characters. 
  2073.  
  2074.  
  2075. ΓòÉΓòÉΓòÉ 4.3.2. Find Next Choice ΓòÉΓòÉΓòÉ
  2076.  
  2077. Select the Find next choice to search for the next occurrence of a text string. 
  2078. If you are searching in the same program component, the default is the text 
  2079. string you typed the last time you completed the Find window for this 
  2080. component. 
  2081.  
  2082.  
  2083. ΓòÉΓòÉΓòÉ 4.3.3. Scroll to Line Number Choice ΓòÉΓòÉΓòÉ
  2084.  
  2085. Select the Scroll to line number choice from the source windows to go to a 
  2086. particular line in your program or set a line breakpoint. 
  2087.  
  2088. When you select Scroll to line number, the Scroll to Line Number window 
  2089. displays. 
  2090.  
  2091.  
  2092. ΓòÉΓòÉΓòÉ 4.3.3.1. Scroll to Line Number Window ΓòÉΓòÉΓòÉ
  2093.  
  2094. Use the Scroll to Line Number window to go to a specific line in your program 
  2095. or set a line breakpoint. 
  2096.  
  2097. To use the Scroll to Line Number window to scroll to a specific line: 
  2098.  
  2099.    1. Type the line number you want to scroll to in the Line entry field. 
  2100.  
  2101.    2. Select the OK push button to scroll to that line. 
  2102.  
  2103.  Note:  If the Source window is active, you can type in a number and the Scroll 
  2104.  to Line Number window displays. 
  2105.  
  2106.  To use the Scroll to Line Number window to set a breakpoint: 
  2107.  
  2108.    1. Type the line number you want to set the breakpoint on in the Line entry 
  2109.       field. 
  2110.  
  2111.    2. Select the Set Breakpoint push button to set the breakpoint on the 
  2112.       specified line number. 
  2113.  
  2114.  
  2115. ΓòÉΓòÉΓòÉ 4.3.4. Select Include Choice ΓòÉΓòÉΓòÉ
  2116.  
  2117. Use the Select include choice to select the include file you want to view. 
  2118.  
  2119.  
  2120. ΓòÉΓòÉΓòÉ 4.3.4.1. Select Include File Window ΓòÉΓòÉΓòÉ
  2121.  
  2122. Use the Select Include File window to select the include file you want to view. 
  2123.  
  2124. To use the Select Include File window: 
  2125.  
  2126.    1. Select the include file.  The include file name is highlighted. 
  2127.  
  2128.    2. Select the OK push button.  The selected include file view displays. 
  2129.  
  2130.  
  2131. ΓòÉΓòÉΓòÉ 4.3.5. Change Text File Choice ΓòÉΓòÉΓòÉ
  2132.  
  2133. Select the Change text file choice to specify the file name to use as the 
  2134. source in the current view. 
  2135.  
  2136. This is useful if the debugger found the incorrect source file for your program 
  2137. so that you can specify the use of a different source file from a different 
  2138. directory. 
  2139.  
  2140. For information about how the debugger searches for source files, refer to 
  2141. understanding the search path. 
  2142.  
  2143. When you select Change text file, the Change text file window displays. 
  2144.  
  2145.  
  2146. ΓòÉΓòÉΓòÉ 4.3.5.1. Change Text File Window ΓòÉΓòÉΓòÉ
  2147.  
  2148. Use the Change Text File window to replace the path name or file name of the 
  2149. program you are debugging with a new path name or file name. 
  2150.  
  2151. This specifies a new file name to use as the source in the current source 
  2152. window. 
  2153.  
  2154. This is useful if the debugger found the incorrect source file for your 
  2155. program, so that you can specify the use of a different source file from a 
  2156. different directory. 
  2157.  
  2158. To replace the file name: 
  2159.  
  2160.    1. Type the new path name or file name in the File name entry field. 
  2161.  
  2162.    2. Select the appropriate push button to continue. 
  2163.  
  2164.  File name Entry Field 
  2165.            Type the path name and file name of the program you want to replace 
  2166.            with the program you are currently debugging. 
  2167.  
  2168.  Related Information 
  2169.  
  2170.      Understanding The Search Path 
  2171.  
  2172.  
  2173. ΓòÉΓòÉΓòÉ 4.3.6. Source Choice ΓòÉΓòÉΓòÉ
  2174.  
  2175. Select the Source choice to display the source code for your program. 
  2176.  
  2177. The initial Source window displays the source code for the object that contains 
  2178. the main function to the program being debugged. If it is available, the Source 
  2179. window displays with the Debug Session Control window when the debugging 
  2180. session starts. Otherwise, the Disassembly window displays. 
  2181.  
  2182.  
  2183. ΓòÉΓòÉΓòÉ 4.3.7. Disassembly Choice ΓòÉΓòÉΓòÉ
  2184.  
  2185. Select the Disassembly choice to display the assembler instructions for your 
  2186. program, without symbolic information. The menu choices available in the 
  2187. Disassembly window are the same as for the Source window except that the 
  2188. Variable menu and the Change text file choice in the File menu are not 
  2189. available. 
  2190.  
  2191. Note:  You can change the order of the source window that are opened by using 
  2192.        the Debugger Properties window. 
  2193.  
  2194.  
  2195. ΓòÉΓòÉΓòÉ 4.3.8. Mixed Choice ΓòÉΓòÉΓòÉ
  2196.  
  2197. Select the Mixed choice to display each line of source code followed by the 
  2198. assembler instructions that the particular source line generates. 
  2199.  
  2200. The Mixed window displays your program, as follows: 
  2201.  
  2202.      Each lines of source code is prefixed by its line number, as in the 
  2203.       Source window. 
  2204.  
  2205.      Each disassembled line is prefixed by an address, as in the Disassembly 
  2206.       view. 
  2207.  
  2208.      Source comment lines also display. 
  2209.  
  2210.      The lines of source code are treated as comments within the lines of 
  2211.       disassembly code. You can only set breakpoints or run your program on 
  2212.       lines of disassembly code. 
  2213.  
  2214.      The Mixed window cannot be opened if the source code is not available. 
  2215.  
  2216.  Note:  You can change the order of the source windows that are opened by using 
  2217.  the Debugger Properties window. 
  2218.  
  2219.  
  2220. ΓòÉΓòÉΓòÉ 4.4. Breakpoints Menu ΓòÉΓòÉΓòÉ
  2221.  
  2222. Select choices from the Breakpoints menu to set breakpoints and to stop the 
  2223. execution of your program at any point. You can set as many breakpoints as you 
  2224. want. 
  2225.  
  2226. Breakpoints can be set from the Debug Session Control window or from a source 
  2227. window. When you set a breakpoint in one view of your program, it is reflected 
  2228. in the other appropriate views. 
  2229.  
  2230. There are five breakpoints that you can set. You can customize the breakpoints 
  2231. using the various breakpoint windows. 
  2232.  
  2233. Menu Summary 
  2234.  
  2235.  Set line 
  2236.            Set a line breakpoint to stop the execution of your program at a 
  2237.            specific line number. 
  2238.  
  2239.  Set function 
  2240.            Set a function breakpoint to stop the execution of your program 
  2241.            after calling a specific function. 
  2242.  
  2243.  Set address 
  2244.            Set an address breakpoint to stop the execution of your program at a 
  2245.            specific address. 
  2246.  
  2247.  Set watchpoint 
  2248.            Set a watchpoint to stop the execution of your program when contents 
  2249.            of memory at a given address changes. 
  2250.  
  2251.  Set load occurrence 
  2252.            Set a load occurrence breakpoint to stop the execution of your 
  2253.            program after loading a DLL. 
  2254.  
  2255.  List 
  2256.            List the set breakpoints. 
  2257.  
  2258.  Toggle at current line 
  2259.            Set or delete a simple line breakpoint on the current line. 
  2260.  
  2261.  Delete all 
  2262.            Delete all the set breakpoints. 
  2263.  
  2264.  You can also set simple line breakpoints. Double-click on one of the following 
  2265.  for the procedures you use to set or clear simple line breakpoints: 
  2266.  
  2267.      Setting simple line breakpoints 
  2268.  
  2269.      Deleting simple line breakpoints 
  2270.  
  2271.  
  2272. ΓòÉΓòÉΓòÉ 4.4.1. Set Line Choice ΓòÉΓòÉΓòÉ
  2273.  
  2274. Select the Set line choice to stop the execution of your program at the line 
  2275. number you select. When you select Set line, the Line Breakpoint window 
  2276. displays. 
  2277.  
  2278. You can also set simple line breakpoints. Double-click on one of the following 
  2279. for the procedures you use to set or clear simple line breakpoints: 
  2280.  
  2281.      Setting simple line breakpoints 
  2282.  
  2283.      Deleting simple line breakpoints 
  2284.  
  2285.  
  2286. ΓòÉΓòÉΓòÉ 4.4.2. Set Function Choice ΓòÉΓòÉΓòÉ
  2287.  
  2288. Select the Set function choice to stop the execution of your program after the 
  2289. function that you specify is called. When you select Set function, the Function 
  2290. Breakpoint window displays. 
  2291.  
  2292.  
  2293. ΓòÉΓòÉΓòÉ 4.4.3. Set Address Choice ΓòÉΓòÉΓòÉ
  2294.  
  2295. Select the Set address choice to stop the execution of your program at the 
  2296. selected address. When you select Set address, the Address Breakpoint window 
  2297. displays. 
  2298.  
  2299.  
  2300. ΓòÉΓòÉΓòÉ 4.4.4. Set Watchpoint Choice ΓòÉΓòÉΓòÉ
  2301.  
  2302. Select the Set watchpoint choice to stop the execution of your program after 
  2303. the contents of memory at a given address changes. When you select Set 
  2304. watchpoint, the Watchpoint window displays. 
  2305.  
  2306.  
  2307. ΓòÉΓòÉΓòÉ 4.4.5. Set Load Occurrence Choice ΓòÉΓòÉΓòÉ
  2308.  
  2309. Select the Set load occurrence choice to stop the execution of your program 
  2310. after the DLL that you specify is loaded. When you select Set load occurrence, 
  2311. the Load Occurrence Breakpoint window displays. 
  2312.  
  2313.  
  2314. ΓòÉΓòÉΓòÉ 4.4.6. List Choice ΓòÉΓòÉΓòÉ
  2315.  
  2316. Select the List choice to list the breakpoints that you have set. When you 
  2317. select List, the Breakpoints List window displays. 
  2318.  
  2319.  
  2320. ΓòÉΓòÉΓòÉ 4.4.7. Toggle At Current Line Choice ΓòÉΓòÉΓòÉ
  2321.  
  2322. Select the Toggle at current line choice to set a breakpoint at the current 
  2323. line or delete a breakpoint if one already exists at the current line. 
  2324.  
  2325.  
  2326. ΓòÉΓòÉΓòÉ 4.4.8. Delete All Choice ΓòÉΓòÉΓòÉ
  2327.  
  2328. Select the Delete all choice to delete all the breakpoints that you have set. 
  2329.  
  2330. When you select Delete all, an information box displays for verification that 
  2331. you want to delete all the breakpoints. 
  2332.  
  2333.  
  2334. ΓòÉΓòÉΓòÉ 4.5. Monitors Menu ΓòÉΓòÉΓòÉ
  2335.  
  2336. Select choices from the Monitors menu to monitor expressions and variables and 
  2337. display other debugger windows. 
  2338.  
  2339. Menu Summary 
  2340.  
  2341.  Monitor expression 
  2342.            Displays the Monitor Expression window to allow you to type the name 
  2343.            of the variable or expression you want to monitor. 
  2344.  
  2345.  Call stack 
  2346.            Displays the Call Stack window to allow you to monitor the call 
  2347.            stack for a particular thread. 
  2348.  
  2349.  Registers 
  2350.            Displays the Registers window to allow you to monitor registers and 
  2351.            flags for a particular component or thread. 
  2352.  
  2353.  Storage 
  2354.            Displays the Storage window to allow you to monitor the storage in 
  2355.            your program. 
  2356.  
  2357.  Local variables 
  2358.            Displays the local variables for the programs current function. 
  2359.  
  2360.  Passthru 
  2361.            Allows you to send commands to KDB and displays the formatted KDB 
  2362.            response. 
  2363.  
  2364.  
  2365. ΓòÉΓòÉΓòÉ 4.5.1. Passthru Choice ΓòÉΓòÉΓòÉ
  2366.  
  2367. Select the Passthru choice to send commands to KDB and display the formatted 
  2368. KDB response. 
  2369.  
  2370. When you select Passthru, Passthru window displays. 
  2371.  
  2372.  
  2373. ΓòÉΓòÉΓòÉ 4.5.2. Monitor Expression Choice ΓòÉΓòÉΓòÉ
  2374.  
  2375. Select the Monitor expression choice if you want to use the keyboard to type 
  2376. the name of a variable or an expression you want to monitor. 
  2377.  
  2378. When you select Monitor expression, the Monitor Expression window displays. 
  2379.  
  2380.  
  2381. ΓòÉΓòÉΓòÉ 4.5.2.1. Monitor Expression ΓòÉΓòÉΓòÉ
  2382.  
  2383. Use the Monitor Expression window to type in the expression you want to 
  2384. monitor. 
  2385.  
  2386. This window lists the following contextual information: 
  2387.  
  2388.      The component you are in. 
  2389.  
  2390.      The active line of the source code, which is highlighted. 
  2391.  
  2392.      The view of the program that is active. 
  2393.  
  2394.      The thread you are in. 
  2395.  
  2396.  The expression language supported by the debugger is a subset of the C/C++ 
  2397.  language. You can monitor only expressions with: 
  2398.  
  2399.      A supported operand type 
  2400.  
  2401.      A supported operator 
  2402.  
  2403.      A supported typecasting operation 
  2404.  
  2405.  To specify an expression to be monitored: 
  2406.  
  2407.    1. Type the name of the variable or expression you want to monitor in the 
  2408.       Expression entry field. 
  2409.  
  2410.    2. Select the appropriate button for the location where you want to monitor 
  2411.       your expression. 
  2412.  
  2413.       Note:  The expression displays as specified in the Monitor Properties 
  2414.       window. To change the default location, select Monitor properties from 
  2415.       the Debugger settings choice from the Options menu in the source windows 
  2416.       or the Debug Session Control window. 
  2417.  
  2418.  
  2419. ΓòÉΓòÉΓòÉ <hidden> Selecting Variables with the Mouse ΓòÉΓòÉΓòÉ
  2420.  
  2421. To select a variable or expression for display using the mouse, use one of the 
  2422. following methods: 
  2423.  
  2424.      Point to any character within the variable name and double-click mouse 
  2425.       button one. 
  2426.  
  2427.      Highlight the variable name or expression by pressing and holding mouse 
  2428.       button one and dragging the mouse pointer across the variable name or 
  2429.       expression, and then double-click mouse button one anywhere within the 
  2430.       name. 
  2431.  
  2432.      Highlight the variable name or expression and select Add to program 
  2433.       monitor, Add to private monitor, or Popup expression from the Variable 
  2434.       menu. 
  2435.  
  2436.  
  2437. ΓòÉΓòÉΓòÉ <hidden> Selecting Variables with the Mouse and Monitor Expression Window ΓòÉΓòÉΓòÉ
  2438.  
  2439. To monitor a variable or an expression using the mouse and the Monitor 
  2440. Expression window, use one of the two following methods: 
  2441.  
  2442. For a single variable name: 
  2443.  
  2444.    1. Highlight the variable name using either of the following methods: 
  2445.  
  2446.           Point to the variable name and click on mouse button one. 
  2447.  
  2448.           Highlight the variable by placing the mouse pointer on the beginning 
  2449.            of the variable and dragging the mouse across the entire variable 
  2450.            while pressing mouse button one. 
  2451.  
  2452.    2. Select Monitor expression from the Variable menu. 
  2453.  
  2454.       The Monitor Expression window displays with the highlighted variable name 
  2455.       in the Expression entry field. 
  2456.  
  2457.  For an expression: 
  2458.  
  2459.    1. Highlight the expression by placing the mouse pointer on the beginning of 
  2460.       the expression and dragging the mouse across the entire expression while 
  2461.       pressing mouse button one. 
  2462.  
  2463.    2. Select Monitor expression from the Variable menu. 
  2464.  
  2465.       The Monitor Expression window displays with the highlighted expression 
  2466.       name in the Expression entry field. 
  2467.  
  2468.  Select the appropriate push button to continue. 
  2469.  
  2470.  
  2471. ΓòÉΓòÉΓòÉ <hidden> Selecting Variables with the Keyboard ΓòÉΓòÉΓòÉ
  2472.  
  2473. To monitor a variable or expression using the keyboard: 
  2474.  
  2475.    1. Select Monitor expression from the Variable menu. The Monitor Expression 
  2476.       window displays. 
  2477.  
  2478.    2. Type the name of the variable or expression in the Expression entry 
  2479.       field. 
  2480.  
  2481.    3. To change the defaults that control how a variable or expression displays 
  2482.       in a monitor or popup expression window, do the following: 
  2483.  
  2484.         a. Select the Monitor Properties push button to display the Monitor 
  2485.            Properties window. 
  2486.  
  2487.         b. Select OK to close the Monitor Properties window. 
  2488.  
  2489.    4. Select OK to close the Monitor Expression window. 
  2490.  
  2491.  
  2492. ΓòÉΓòÉΓòÉ 4.6. Run Menu ΓòÉΓòÉΓòÉ
  2493.  
  2494. Select choices from the Run menu to control the execution of your program. You 
  2495. can step through your program in several ways, or you can run your program 
  2496. until a breakpoint is encountered or your program is ended. 
  2497.  
  2498. You can access any of the choices in the Run menu by using the shortcut keys 
  2499. These keys are also listed in the Run menu. For the Step over command, you can 
  2500. use the mouse. 
  2501.  
  2502. When you select a choice from the Run menu, the mouse pointer changes to a 
  2503. clock icon to indicate that the application is running and might require input 
  2504. to continue to the next breakpoint or end of the program. 
  2505.  
  2506. Menu Summary 
  2507.  
  2508.  Step over 
  2509.            Execute the current line in your program. If the current line is a 
  2510.            call, execution stops when the call completes. 
  2511.  
  2512.  Step into 
  2513.            Execute the current line in your program. If the current line is a 
  2514.            call, execution stops at the first statement in the called function. 
  2515.  
  2516.  Step debug 
  2517.            Execute the current line in the program. The debugger steps over any 
  2518.            function for which debugging information is not available and steps 
  2519.            into any function for which debugging information is available. 
  2520.  
  2521.  Step return 
  2522.            Step through the current function until the return is executed. 
  2523.  
  2524.  Run 
  2525.            Execute the program from the current line until a breakpoint is 
  2526.            encountered or the program ends. 
  2527.  
  2528.  Halt 
  2529.            Interrupt the program you are debugging. 
  2530.  
  2531.  Restart 
  2532.            Restart the current debugging session. 
  2533.  
  2534.  Run to location 
  2535.            Execute your program from the current line up to the line that is 
  2536.            highlighted. 
  2537.  
  2538.  Jump to location 
  2539.            Change the current line in the program without executing the code 
  2540.            between the present current line and the new current line. 
  2541.  
  2542.  Hide debugger on Run 
  2543.            Hide the debugger windows while your application is running. 
  2544.  
  2545.  Thread enabled 
  2546.            Enable or disable threads. 
  2547.  
  2548.  
  2549. ΓòÉΓòÉΓòÉ 4.6.1. Step Over Choice ΓòÉΓòÉΓòÉ
  2550.  
  2551. Select the Step over choice to execute the current line of the program. If the 
  2552. current line is a call, execution stops when the call completes. You can use 
  2553. the mouse button 2 to step if Step always is set as the default in the Debugger 
  2554. Properties window. 
  2555.  
  2556. All enabled threads continue execution. 
  2557.  
  2558. Note:  The debugger stops in a called function if it encounters a breakpoint. 
  2559.  
  2560.  
  2561. ΓòÉΓòÉΓòÉ 4.6.2. Step Into Choice ΓòÉΓòÉΓòÉ
  2562.  
  2563. Select the Step into choice to execute the current line in the program. If the 
  2564. current line is a call, execution stops at the first statement in the called 
  2565. function. 
  2566.  
  2567. Note:  If you have multiple calls on the same source line and perform a step 
  2568. into for which there is no source code available, the Disassembly view 
  2569. displays.  To return to the Source window, you have to do a step return.  To 
  2570. avoid this, perform step debug so that the debugger will step over any calls 
  2571. for which debugging data is not available, such as library and system 
  2572. functions, and steps into any function for which debugging information is 
  2573. available. 
  2574.  
  2575.  
  2576. ΓòÉΓòÉΓòÉ 4.6.3. Step Return Choice ΓòÉΓòÉΓòÉ
  2577.  
  2578. Select the Step return choice to automatically execute the lines of code up to, 
  2579. and including, the return statement of the current function. 
  2580.  
  2581.  
  2582. ΓòÉΓòÉΓòÉ 4.6.4. Step Debug Choice ΓòÉΓòÉΓòÉ
  2583.  
  2584. Select the Step debug choice to execute the current line in the program. The 
  2585. debugger steps over any function for which debugging data is not available, 
  2586. such as library and system functions, and steps into any function for which 
  2587. debugging information is available. 
  2588.  
  2589.  
  2590. ΓòÉΓòÉΓòÉ 4.6.5. Run Choice ΓòÉΓòÉΓòÉ
  2591.  
  2592. Select the Run choice to execute the program, including all enabled threads, 
  2593. from the current line until a breakpoint is encountered or the program ends. 
  2594.  
  2595.  
  2596. ΓòÉΓòÉΓòÉ 4.6.6. Halt Choice ΓòÉΓòÉΓòÉ
  2597.  
  2598. Select the Halt choice to interrupt the program that you are debugging. You can 
  2599. also access this choice by pressing SysRq (Alt+PrintScreen). 
  2600.  
  2601.  
  2602. ΓòÉΓòÉΓòÉ 4.6.7. Restart Choice ΓòÉΓòÉΓòÉ
  2603.  
  2604. Select the Restart choice to start the debugging session again. Restart allows 
  2605. you to restart the current debugging session on the existing program, while the 
  2606. Startup choice allows you to debug another program. 
  2607.  
  2608.  
  2609. ΓòÉΓòÉΓòÉ 4.6.8. Run to Location Choice ΓòÉΓòÉΓòÉ
  2610.  
  2611. Select the Run to location choice to execute your program from the current line 
  2612. up to the line that is highlighted. 
  2613.  
  2614. To use the Run to location choice: 
  2615.  
  2616.    1. Single-click in the prefix area of the line you want to become the 
  2617.       current line. The prefix area is highlighted. 
  2618.  
  2619.    2. Select the Run to location choice. The program runs up to the line that 
  2620.       you marked. 
  2621.  
  2622.  The Run to location choice stops only on executable lines. If a highlighted 
  2623.  line is not executable, the run is not performed. 
  2624.  
  2625.  
  2626. ΓòÉΓòÉΓòÉ 4.6.9. Jump to Location Choice ΓòÉΓòÉΓòÉ
  2627.  
  2628. Select the Jump to location choice to change the current line in your program 
  2629. without executing the lines between the present current line and the new 
  2630. current line. 
  2631.  
  2632. To use the Jump to location choice: 
  2633.  
  2634.    1. Single-click in the prefix area of the line you want to become the 
  2635.       current line. The prefix area is highlighted. 
  2636.  
  2637.    2. Select the Jump to location choice. The current line is changed and the 
  2638.       lines between are not executed. 
  2639.  
  2640.  The Jump to location choice stops only on executable lines. If a highlighted 
  2641.  line is not executable, the jump is not performed. 
  2642.  
  2643.  Warning Jumping out of the current function may corrupt the call stack and 
  2644.  cause your program to produce unpredictable results. 
  2645.  
  2646.  
  2647. ΓòÉΓòÉΓòÉ 4.6.10. Hide Debugger on Run Choice ΓòÉΓòÉΓòÉ
  2648.  
  2649. Select the Hide debugger on run choice to hide the debugger windows when your 
  2650. program is running. 
  2651.  
  2652.  
  2653. ΓòÉΓòÉΓòÉ 4.6.11. Thread Enabled Choice ΓòÉΓòÉΓòÉ
  2654.  
  2655. Select the Thread enabled choice to execute the thread associated with the 
  2656. current source window, when the program runs. 
  2657.  
  2658. When a thread is enabled, a check mark symbol displays beside the Thread 
  2659. enabled choice. When a thread is not enabled, a check mark symbol does not 
  2660. display and the highlighted thread is not executed. 
  2661.  
  2662.  
  2663. ΓòÉΓòÉΓòÉ 4.7. Options Menu ΓòÉΓòÉΓòÉ
  2664.  
  2665. Select choices from the Options menu in the Source, Mixed, or Disassembly 
  2666. source windows to control the debugger windows. 
  2667.  
  2668. Menu Summary 
  2669.  
  2670.  Window Settings 
  2671.            Select the color and font you want. 
  2672.  
  2673.  Debugger settings 
  2674.            Set various debugger options. 
  2675.  
  2676.  
  2677. ΓòÉΓòÉΓòÉ 4.7.1. Window Settings Cascading Choice ΓòÉΓòÉΓòÉ
  2678.  
  2679. The following choices are available from the Window Settings cascading choice: 
  2680.  
  2681.  Colors 
  2682.            Change the color of various window elements. 
  2683.  
  2684.  Fonts 
  2685.            Select the font for the source window. 
  2686.  
  2687.  Restore defaults 
  2688.            Reset all of the window settings to their original settings. 
  2689.  
  2690.  Notebook 
  2691.            Display the source windows in a notebook format. 
  2692.  
  2693.  Tool buttons 
  2694.            Enable or disable buttons from being displayed in the tool bar. 
  2695.  
  2696.  Hover help 
  2697.            Enable or disable the hover help from being displayed in the window. 
  2698.  
  2699.  Infoarea 
  2700.            Enable or disable the information area from being displayed in the 
  2701.            window. 
  2702.  
  2703.  
  2704. ΓòÉΓòÉΓòÉ 4.7.1.1. Colors Choice ΓòÉΓòÉΓòÉ
  2705.  
  2706. Use the Colors choice to change the color of the lines in the source windows. 
  2707.  
  2708. When you select Colors, the Colors window displays. 
  2709.  
  2710.  
  2711. ΓòÉΓòÉΓòÉ 4.7.1.1.1. Source Window Colors ΓòÉΓòÉΓòÉ
  2712.  
  2713. Use the Source Window Colors window to change the color of the of the 
  2714. background and foreground (text) in the source windows. 
  2715.  
  2716. To change the color of the background in the source window: 
  2717.  
  2718.      Open the OS/2 Color Palette window. 
  2719.  
  2720.      Using the mouse pointer, select a color from the color palette. 
  2721.  
  2722.      Hold down mouse button two and drag the selected color to the line that 
  2723.       you want to change the background color of in the Source Window Colors 
  2724.       window. 
  2725.  
  2726.      Release mouse button two and select the Apply push button. 
  2727.  
  2728.      Select the appropriate 
  2729.  
  2730.  To change the color of the foreground in the source window: 
  2731.  
  2732.      Open the OS/2 Color Palette window. 
  2733.  
  2734.      Using the mouse pointer, select a color from the color palette. 
  2735.  
  2736.      Hold down the Ctrl key and mouse button two and drag the selected color 
  2737.       to the line that you want to change the foreground color of in the Source 
  2738.       Window Colors window. 
  2739.  
  2740.      Release the Ctrl key and mouse button two. 
  2741.  
  2742.      Select the Apply push button. 
  2743.  
  2744.  To continue, select the appropriate push button 
  2745.  
  2746.  
  2747. ΓòÉΓòÉΓòÉ 4.7.2. Fonts Choice ΓòÉΓòÉΓòÉ
  2748.  
  2749. Select the Fonts choice to set the font you want to use for the text that 
  2750. displays in the active window. 
  2751.  
  2752.  
  2753. ΓòÉΓòÉΓòÉ 4.7.2.1. Font Selection Window ΓòÉΓòÉΓòÉ
  2754.  
  2755. Use this window to change the font of the text in the current window. 
  2756.  
  2757.  
  2758. ΓòÉΓòÉΓòÉ 4.7.3. Restore Defaults Choice ΓòÉΓòÉΓòÉ
  2759.  
  2760. Reset all of the source window settings to their original settings. This 
  2761. includes the font, the color, the style settings, and the presentation of tool 
  2762. buttons. 
  2763.  
  2764.  
  2765. ΓòÉΓòÉΓòÉ 4.7.4. Notebook Choice ΓòÉΓòÉΓòÉ
  2766.  
  2767. Enable the Notebook choice to display the source windows in notebook format if 
  2768. your source contains include files. Once you enable Notebook, it stays enabled 
  2769. for all debugging sessions until you disable it. 
  2770.  
  2771. You can enable or disable the Notebook choice by selecting it. When it is 
  2772. enabled, a check mark symbol displays. If it is disabled, a check mark symbol 
  2773. is not displayed. 
  2774.  
  2775.  
  2776. ΓòÉΓòÉΓòÉ 4.7.5. Tool Buttons Choice ΓòÉΓòÉΓòÉ
  2777.  
  2778. You can select to display the buttons in the tool bar of the window. 
  2779.  
  2780. If this choice is enabled, a check mark symbol displays beside the Tool buttons 
  2781. choice and buttons display. 
  2782.  
  2783.  
  2784. ΓòÉΓòÉΓòÉ 4.7.6. Hover Help Choice ΓòÉΓòÉΓòÉ
  2785.  
  2786. Select the Hover help choice if you want the hover help to be shown in the 
  2787. window. 
  2788.  
  2789. The hover help provides the name of the tool button. 
  2790.  
  2791.  
  2792. ΓòÉΓòÉΓòÉ 4.7.7. Infoarea Choice ΓòÉΓòÉΓòÉ
  2793.  
  2794. Select the Infoarea choice if you want the information area to be shown in the 
  2795. window. 
  2796.  
  2797. The information area, which is located at the bottom of the window, provides a 
  2798. brief description of each menu item. 
  2799.  
  2800.  
  2801. ΓòÉΓòÉΓòÉ 4.7.8. Debugger Settings Cascading Choice ΓòÉΓòÉΓòÉ
  2802.  
  2803. Select choices from the Debugger settings cascading choice to set various 
  2804. debugger options that control how the debugger windows display. These settings 
  2805. affect the behavior of the debugger and remain in effect for the duration of 
  2806. the debugging session. 
  2807.  
  2808. Menu Summary 
  2809.  
  2810.  Debugger properties 
  2811.            Select the view that is to be displayed when the debugger starts and 
  2812.            how to process the views. 
  2813.  
  2814.  Monitor properties 
  2815.            Select the settings for the variable monitor windows. 
  2816.  
  2817.  Default data representation 
  2818.            Select how you want your data displayed in the monitor windows. 
  2819.  
  2820.  Program profiles 
  2821.            Select where you want to store the debugger program profiles 
  2822.  
  2823.  Save debugger window positions 
  2824.            Saves the window positions for this debugging session.  When you 
  2825.            close the debugging session and start another session the default 
  2826.            window position and sizes are displayed, 
  2827.  
  2828.  Global font change 
  2829.            Change the font in all the debugger windows. 
  2830.  
  2831.  Enable window cascading 
  2832.            Enable or disable the overlapping of debugger windows. 
  2833.  
  2834.  Display hover help 
  2835.            Display hover help in all the windows. 
  2836.  
  2837.  Display infoarea 
  2838.            Display the information area in all debugger windows. 
  2839.  
  2840.  Place tool buttons on title bar of each window. 
  2841.            Display the tool buttons on the tile bar of each window. 
  2842.  
  2843.  
  2844. ΓòÉΓòÉΓòÉ 4.7.9. Debugger Properties Choice ΓòÉΓòÉΓòÉ
  2845.  
  2846. Select the Debugger properties choice to determine how your threads and source 
  2847. files initially display and how they are handled when they stop or are no 
  2848. longer active. When you select Debugger properties, the Debugger Properties 
  2849. window displays. 
  2850.  
  2851.  
  2852. ΓòÉΓòÉΓòÉ 4.7.10. Debugger Properties Window ΓòÉΓòÉΓòÉ
  2853.  
  2854. Displays the Debugger Properties window, which allows you to select how the 
  2855. threads and source files initially display. This window contains the following 
  2856. three tabs: 
  2857.  
  2858.      Source 
  2859.      Remote 
  2860.      Modules 
  2861.  
  2862.  The Remote page displays by default if you open the window using the 
  2863.  Initialization window.  If not, the Source Page displays. 
  2864.  
  2865.  
  2866. ΓòÉΓòÉΓòÉ 4.7.10.1. Remote Page ΓòÉΓòÉΓòÉ
  2867.  
  2868. When you select the Remote tab, the Remote Page displays. 
  2869.  
  2870. Use this window to do the following tasks: 
  2871.  
  2872.      Set the communication baud rate for the debugger. 
  2873.      Set the communication port. 
  2874.      Set the communication baud rate for KDB or initialization and after 
  2875.       exiting. 
  2876.      Set the path where the debugger finds source. 
  2877.      Set the path where the debugger finds the debug binary modules. 
  2878.      View the communication mode. (ASYNC_SIGBRK or UDP). 
  2879.      Set modem communication information, if used. 
  2880.      Set a string to initialize KDB. 
  2881.      Set the option for recursive subdirectory searching of the source and 
  2882.       binary paths. 
  2883.  This window's values are dithered and cannot be changed after communication 
  2884.  has been established with the target machine. 
  2885.  
  2886.  Baud Rate Group Heading 
  2887.  
  2888.  This group of radio buttons allows you to select communication baud rates from 
  2889.  9600 to 115200.  Ensure that your machine can handle rates greater than 19200 
  2890.  if you choose them.  You must have buffered UARTs on both machines in this 
  2891.  case. If you choose a rate of 115200, your host machine must have a COM.SYS 
  2892.  different than the default supplied with OS/2. 
  2893.  
  2894.  KDB Baud Rate Group Heading 
  2895.  
  2896.  This group of radio buttons allows you to select the initial (setup) 
  2897.  communication rate that the debugger uses to communicate with KDB. If any rate 
  2898.  other than default is selected, that same rate will be used to reset the 
  2899.  target machine's communication port when the debugger is exited. 
  2900.  
  2901.  Communications Port Spin Button 
  2902.  
  2903.  This spin button allows you to select the communication port number for the 
  2904.  debugger on the host machine. 
  2905.  
  2906.  Environment Variables Group Heading 
  2907.  
  2908.  These entry fields correspond respectively to the following environment 
  2909.  variables: 
  2910.  
  2911.      CAT_HOST_SOURCE_PATH 
  2912.      CAT_HOST_BIN_PATH 
  2913.      CAT_COMMUNICATION_TYPE 
  2914.      CAT_DIAL 
  2915.      CAT_MODEM_INIT 
  2916.      CAT_KDB_INIT 
  2917.  
  2918.  By adjusting these fields, you can alter your communication and serial paths 
  2919.  dynamically before communication is established with the target machine. 
  2920.  
  2921.  Path Recursion Check Box 
  2922.  
  2923.  This check box, when selected, forces the debugger to search all source and 
  2924.  binary path subdirectories recursively. 
  2925.  
  2926.  
  2927. ΓòÉΓòÉΓòÉ 4.7.10.2. Source Page ΓòÉΓòÉΓòÉ
  2928.  
  2929. When you select the Source tab, the Source Page displays. 
  2930.  
  2931. Use this window to determine: 
  2932.  
  2933.      when a source window first displays during a debugging session. 
  2934.      how to process a source window from which execution has just left.  The 
  2935.       window can remain displayed, be turned into an icon, or be discarded. 
  2936.  
  2937.  Display at stop Group Heading 
  2938.  
  2939.  You can control how many source windows are displayed using the following 
  2940.  radio buttons: 
  2941.  
  2942.  The choices are: 
  2943.  
  2944.  Only stopping thread     Show only the thread that caused to application to 
  2945.                           stop. 
  2946.  
  2947.  All threads              Show where all threads are when the application 
  2948.                           stops. 
  2949.  
  2950.  For example, if you select Only stopping thread, the Old source disposition 
  2951.  applies to all of the source windows except the current view of the stopping 
  2952.  thread. If you select All threads, the Old source disposition applies only to 
  2953.  the source windows for the components from which execution has just left 
  2954.  within a thread. 
  2955.  
  2956.  Old source disposition Group Heading 
  2957.  
  2958.  In the course of debugging, these selections allow you to control the behavior 
  2959.  of source windows from which execution has just left. The Old Source 
  2960.  Disposition radio buttons control the behavior of source windows within a 
  2961.  thread. 
  2962.  
  2963.  The dispositions that the views can take are: 
  2964.  
  2965.  Keep        Leaves open the source windows that contain the components and 
  2966.              threads that you select with Display at stop. 
  2967.  
  2968.  Minimize    Changes into icons the views that contain the components and 
  2969.              threads that you select with Display at stop. 
  2970.  
  2971.  Discard     Disposes of the views that contain the components and threads that 
  2972.              you select with Display at stop. 
  2973.  
  2974.  Settings Group Heading 
  2975.  
  2976.  You can choose to display more than one source window for a particular source 
  2977.  file.  Enable the Multiple views check box if you want to have multiple source 
  2978.  windows open at the same time. 
  2979.  
  2980.  Mouse button 2 behavior Group Heading 
  2981.  
  2982.  Select the radio button that represents the action that you want mouse button 
  2983.  2 to perform. 
  2984.  
  2985.  
  2986. ΓòÉΓòÉΓòÉ 4.7.10.3. Modules Page ΓòÉΓòÉΓòÉ
  2987.  
  2988. When you select the Modules tab, the Modules page displays. 
  2989.  
  2990. Use this window to add a module name to or delete a module name from the 
  2991. CAT_MODULE_LIST environment variable. 
  2992.  
  2993. Modules List Box 
  2994.  
  2995. This contains a list of modules which the debugger obtains information about if 
  2996. or when they are loaded. If a module is loaded and it is not in the list, the 
  2997. debugger ignores the module. 
  2998.  
  2999. New Module Entry Field 
  3000.  
  3001. Type the name of the module that you want to add or delete. Select the 
  3002. appropriate push button to perform this task. 
  3003.  
  3004. Select the appropriate push button to continue. 
  3005.  
  3006.  
  3007. ΓòÉΓòÉΓòÉ 4.7.11. Monitor Properties Choice ΓòÉΓòÉΓòÉ
  3008.  
  3009. Select the Monitor properties choice to select the settings for monitoring 
  3010. variables or expressions. 
  3011.  
  3012. When you select Monitor properties, the Monitor Properties window displays. 
  3013.  
  3014.  
  3015. ΓòÉΓòÉΓòÉ 4.7.11.1. Monitor Properties Window ΓòÉΓòÉΓòÉ
  3016.  
  3017. Use the Monitor Properties window to select the settings for monitoring 
  3018. variables or expressions. You can set the following: 
  3019.  
  3020.      The window into which the variable or expression being monitored is 
  3021.       placed. 
  3022.  
  3023.      For popup expression windows, how long the monitor windows display. 
  3024.  
  3025.  After you have selected the settings you want from this window, select one of 
  3026.  the push buttons to continue. 
  3027.  
  3028.  For a description of the settings that are available from this window, 
  3029.  double-click on one of the following topics: 
  3030.  
  3031.      Monitor Location 
  3032.  
  3033.      Popup Duration. 
  3034.  
  3035.  
  3036. ΓòÉΓòÉΓòÉ 4.7.12. Monitor Location Group Heading ΓòÉΓòÉΓòÉ
  3037.  
  3038. Choose one of the following radio buttons to select the monitor window that 
  3039. opens when you select a variable or expression to monitor. The selections you 
  3040. can make, and the corresponding windows, are: 
  3041.  
  3042.  Popup 
  3043.            Display the variable or expression in a popup expression window. 
  3044.  
  3045.  Private monitor 
  3046.            Display the variable or expression in the Private Monitor window. 
  3047.  
  3048.  Program monitor 
  3049.            Display the variable or expression in the Program Monitor window. 
  3050.  
  3051.  Storage monitor 
  3052.            Display the variable or expression in the Storage window. 
  3053.  
  3054.  Save to file Entry Field 
  3055.  
  3056.  Use this field to identify the file where all monitor windows will write their 
  3057.  contents  when the Save to file choice is selected. 
  3058.  
  3059.  Number of elements to show Entry Field 
  3060.  
  3061.  Use this field to enter the number of elements that you want shown. 
  3062.  
  3063.  Related Information 
  3064.  
  3065.      Using the mouse 
  3066.      Selecting Variables with the Mouse and Monitor 
  3067.      Selecting Variables with the Keyboard 
  3068.  
  3069.  
  3070. ΓòÉΓòÉΓòÉ 4.7.13. Enabled Check Box ΓòÉΓòÉΓòÉ
  3071.  
  3072. Select the Enabled check box to update the displayed contents of variables when 
  3073. they are selected for monitoring. 
  3074.  
  3075.  
  3076. ΓòÉΓòÉΓòÉ 4.7.14. Popup Duration ΓòÉΓòÉΓòÉ
  3077.  
  3078. If you select Popup from the Monitor location group heading, select one of the 
  3079. following radio buttons to specify how long the popup expression window 
  3080. displays: 
  3081.  
  3082.  Step/run 
  3083.            The monitor window closes when the next step command or Run is 
  3084.            executed. 
  3085.  
  3086.  New source 
  3087.            The monitor window closes when execution stops in a new source. 
  3088.  
  3089.  Permanent 
  3090.            This monitor window is associated with a specific source window and 
  3091.            is closed when the associated source window is closed. 
  3092.  
  3093.  
  3094. ΓòÉΓòÉΓòÉ 4.7.15. Default Data Representation Cascading Choice ΓòÉΓòÉΓòÉ
  3095.  
  3096. When you select Default data representation, a cascaded menu displays with 
  3097. language choices.  This lets you change the default representation for a data 
  3098. type in the language that you select. 
  3099.  
  3100.  
  3101. ΓòÉΓòÉΓòÉ 4.7.15.1. Default Representation Window ΓòÉΓòÉΓòÉ
  3102.  
  3103. Use the Default Representation window to select how you want your data 
  3104. represented in the monitor windows. For example, you can change the default 
  3105. representation for an integer in the C language from decimal to hexadecimal. 
  3106.  
  3107. You change the representation of the value displayed in a monitor to: 
  3108.  
  3109.      Hexadecimal 
  3110.  
  3111.      Decimal 
  3112.  
  3113.      String 
  3114.  
  3115.      Character 
  3116.  
  3117.      Floating-point 
  3118.  
  3119.      Hexadecimal pointer 
  3120.  
  3121.      Decimal pointer 
  3122.  
  3123.      Array. 
  3124.  
  3125.  Note:  The representation you can select varies with the data type being 
  3126.  displayed. 
  3127.  
  3128.  Select the appropriate radio button for the data type you want. 
  3129.  
  3130.  Select the appropriate push button to continue. 
  3131.  
  3132.  
  3133. ΓòÉΓòÉΓòÉ 4.7.16. Program Profiles Cascading Choice ΓòÉΓòÉΓòÉ
  3134.  
  3135. Select the Profile cascading choice to specify the where you want the debugger 
  3136. program profiles stored or delete program profiles. 
  3137.  
  3138. Menu Summary 
  3139.  
  3140.  Select information 
  3141.            Select the information to be saved in the program profile. 
  3142.  
  3143.  Delete program profiles 
  3144.            Delete program profiles for a program that you have debugged. 
  3145.  
  3146.  Change location 
  3147.            Change the location of the files that hold the debugger settings. 
  3148.  
  3149.  
  3150. ΓòÉΓòÉΓòÉ 4.7.16.1. Select Information Choice ΓòÉΓòÉΓòÉ
  3151.  
  3152. Select the Select information choice to indicate what information you want 
  3153. saved in the program profiles.  You may save breakpoints, breakpoints list 
  3154. windows, settings for the Debug Session Control window, monitors, stack, and 
  3155. source views. 
  3156.  
  3157. When you select Select information, the Select information window displays. 
  3158.  
  3159.  
  3160. ΓòÉΓòÉΓòÉ 4.7.16.1.1. Select Information Window ΓòÉΓòÉΓòÉ
  3161.  
  3162. Use the Select Information window to specify what information you want saved in 
  3163. the program profile. 
  3164.  
  3165. To specify what you want saved: 
  3166.  
  3167.    1. Select from the list the items you want saved in your program profile. 
  3168.  
  3169.    2. Select the appropriate push button. 
  3170.  
  3171.  Save Profile Information Check Box 
  3172.  
  3173.  Select the Save profile information check box to save the profile information 
  3174.  you have highlighted. 
  3175.  
  3176.  
  3177. ΓòÉΓòÉΓòÉ 4.7.16.2. Delete Program Profiles Choice ΓòÉΓòÉΓòÉ
  3178.  
  3179. Select the Delete program profiles choice to delete program profiles for a 
  3180. program that you have previously debugged. 
  3181.  
  3182. When you select Delete program profiles, the Delete Program Profiles window 
  3183. displays. 
  3184.  
  3185.  
  3186. ΓòÉΓòÉΓòÉ 4.7.16.2.1. Delete Program Profiles Window ΓòÉΓòÉΓòÉ
  3187.  
  3188. Use the Delete Program Profiles window to delete program profiles for a program 
  3189. that you have previously debugged. 
  3190.  
  3191. To delete program profiles: 
  3192.  
  3193.    1. Select the path name and file name of the program whose program profiles 
  3194.       you want to delete. 
  3195.  
  3196.    2. Select the OK push button. 
  3197.  
  3198.       Note:  You can delete program profiles to lessen the storage space 
  3199.       required by the debugger files. 
  3200.  
  3201.  
  3202. ΓòÉΓòÉΓòÉ 4.7.16.3. Change Location Choice ΓòÉΓòÉΓòÉ
  3203.  
  3204. Select the Change location choice to specify where you want the profile 
  3205. information file stored. The debugger program profile file contains your 
  3206. selections for most of the debugger settings and information. You choose 
  3207. whether or not you want your selections saved for the next debugging session. 
  3208.  
  3209. When you select Change location, the Change Location window displays. 
  3210.  
  3211.  
  3212. ΓòÉΓòÉΓòÉ 4.7.16.3.1. Change Location Window ΓòÉΓòÉΓòÉ
  3213.  
  3214. Use the Change Location window to specify the directory where you want the 
  3215. profile information (session settings and program profile) default options 
  3216. saved. 
  3217.  
  3218. To use specify the location, do the following: 
  3219.  
  3220.    1. Type the full path name of the directory where you want the debugger 
  3221.       profile information file stored in the Path entry field. 
  3222.  
  3223.    2. Select the appropriate push button to continue. 
  3224.  
  3225.  
  3226. ΓòÉΓòÉΓòÉ 4.7.17. Save Debugger Window Position Choice ΓòÉΓòÉΓòÉ
  3227.  
  3228. Select the Save debugger window positions choice to save the position of all 
  3229. debugger windows. 
  3230.  
  3231. When you select this choice, the window positions are saved and the windows 
  3232. display in the selected positions. 
  3233.  
  3234.  
  3235. ΓòÉΓòÉΓòÉ 4.7.18. Global Font Change Choice ΓòÉΓòÉΓòÉ
  3236.  
  3237. Select the Global font change choice to change the font in all the debugger 
  3238. windows. 
  3239.  
  3240. When you select Global font change, the Font window displays. 
  3241.  
  3242.  
  3243. ΓòÉΓòÉΓòÉ 4.7.19. Enable Window Cascading Choice ΓòÉΓòÉΓòÉ
  3244.  
  3245. When you enable this choice, successive windows that are opened overlap each 
  3246. other on the screen. However, they are cascaded so that you can see the 
  3247. underlying windows. When this choice is disabled, successive windows cover 
  3248. previously displayed windows so that you do not see the underlying windows. 
  3249.  
  3250.  
  3251. ΓòÉΓòÉΓòÉ 4.7.19.1. Display Tool Buttons Choice ΓòÉΓòÉΓòÉ
  3252.  
  3253. Select the Display tool buttons choice if you want the tool buttons to be shown 
  3254. in all the debugger windows. 
  3255.  
  3256. If this choice is enabled, a check mark symbol displays beside the Tool buttons 
  3257. choice and buttons display. 
  3258.  
  3259.  
  3260. ΓòÉΓòÉΓòÉ 4.7.19.2. Display Hover Help Choice ΓòÉΓòÉΓòÉ
  3261.  
  3262. Select the Display hover help choice if you want the hover help to be shown in 
  3263. all the debugger windows. 
  3264.  
  3265. The hover help shows the names of the tool buttons. 
  3266.  
  3267.  
  3268. ΓòÉΓòÉΓòÉ 4.7.19.3. Display Infoarea Choice ΓòÉΓòÉΓòÉ
  3269.  
  3270. Select the Display infoarea choice if you want the information area to be shown 
  3271. in all the debugger windows. 
  3272.  
  3273. The information area, which is located at the bottom of the window, provides a 
  3274. brief description of each menu item. 
  3275.  
  3276.  
  3277. ΓòÉΓòÉΓòÉ 4.7.19.4. Place Buttons on Title Bar Choice ΓòÉΓòÉΓòÉ
  3278.  
  3279. Select the Place buttons on tile bar choice if you want the tool buttons to be 
  3280. shown in the title bar of the debugger windows. 
  3281.  
  3282.  
  3283. ΓòÉΓòÉΓòÉ 4.8. Windows Menu ΓòÉΓòÉΓòÉ
  3284.  
  3285. Select the Windows menu to display a list of all the open debugger windows. 
  3286.  
  3287.  
  3288. ΓòÉΓòÉΓòÉ 4.8.1. Local Variables Choice ΓòÉΓòÉΓòÉ
  3289.  
  3290. Select the Local variables choice to display the local variables (static, 
  3291. automatic, and parameters) for the current function. 
  3292.  
  3293. When you select Local variables, the Local Variables window displays. 
  3294.  
  3295.  
  3296. ΓòÉΓòÉΓòÉ 4.8.2. Registers Choice ΓòÉΓòÉΓòÉ
  3297.  
  3298. Select the Registers choice to display the processor and math coprocessor 
  3299. registers. 
  3300.  
  3301.  
  3302. ΓòÉΓòÉΓòÉ 4.8.3. Call Stack Choice ΓòÉΓòÉΓòÉ
  3303.  
  3304. Select the Call stack choice to list the active functions or procedures for a 
  3305. particular thread. When you select Call stack, the Call Stack window displays. 
  3306.  
  3307.  
  3308. ΓòÉΓòÉΓòÉ 4.8.4. Storage Cascading Choice ΓòÉΓòÉΓòÉ
  3309.  
  3310. Select the Storage conditional choice to display the contents of storage used 
  3311. by your program. You can choose to open a new storage window, or you can locate 
  3312. a storage window that is already open by selecting the arrow. 
  3313.  
  3314.  
  3315. ΓòÉΓòÉΓòÉ <hidden> Using the Storage Window ΓòÉΓòÉΓòÉ
  3316.  
  3317. You can scroll through storage using the up or down arrow keys and the PageUp 
  3318. or PageDown keys. 
  3319.  
  3320. To update the storage contents, type over the contents displayed in the Storage 
  3321. window. The display is updated when an elapsed time of one second occurs after 
  3322. the last keystroke has been typed. The contents of all affected windows are 
  3323. updated for each character changed in the Storage window. 
  3324.  
  3325. To specify a new address location, type over the address field displayed in the 
  3326. Storage window. When an elapsed time of one second occurs after the last 
  3327. keystroke has been typed, the window scrolls to the appropriate storage 
  3328. location. 
  3329.  
  3330.  
  3331. ΓòÉΓòÉΓòÉ 4.9. Help Menu ΓòÉΓòÉΓòÉ
  3332.  
  3333. Select choices from the Help menu to complement the online help information 
  3334. that you can get for the debugger when you press F1 or select the Help push 
  3335. button. 
  3336.  
  3337. Menu Summary 
  3338.  
  3339.  Help index 
  3340.            An alphabetical index of all available debugger help topics. 
  3341.  
  3342.  General help 
  3343.            Help information for the active window. 
  3344.  
  3345.  Using help 
  3346.            How to use the debugger help facility. 
  3347.  
  3348.  Product information 
  3349.            Display product information. 
  3350.  
  3351.  
  3352. ΓòÉΓòÉΓòÉ 4.9.1. Help Index Choice ΓòÉΓòÉΓòÉ
  3353.  
  3354. Select the Help index choice to display an alphabetical list of index topics 
  3355. for the debugger. Use the Find choice provided with the online help facility to 
  3356. locate topics in the index. 
  3357.  
  3358.  
  3359. ΓòÉΓòÉΓòÉ 4.9.2. Using Help Choice ΓòÉΓòÉΓòÉ
  3360.  
  3361. Select the Using help choice to display online help information about the OS/2 
  3362. help facility. 
  3363.  
  3364.  
  3365. ΓòÉΓòÉΓòÉ 4.9.3. General Help Choice ΓòÉΓòÉΓòÉ
  3366.  
  3367. Select the General help choice to display online help for the active debugger 
  3368. window. The online help panel displayed is the same panel that displays when 
  3369. you place your cursor inside the window and press F1. 
  3370.  
  3371.  
  3372. ΓòÉΓòÉΓòÉ 4.9.4. Product Information Choice ΓòÉΓòÉΓòÉ
  3373.  
  3374. Select the Product information choice to display the product information. 
  3375.  
  3376.  
  3377. ΓòÉΓòÉΓòÉ 5. Registers Window ΓòÉΓòÉΓòÉ
  3378.  
  3379. Use the Registers window to view or modify the contents of the registers 
  3380. monitored for your program. One set of processor registers exists for each 
  3381. thread. 
  3382.  
  3383. In the Registers window, floating-point registers display as floating-point 
  3384. decimal numbers or as hexadecimal. They are updated based on the current 
  3385. representation. 
  3386.  
  3387. There are tool buttons active in this window. Double-click on any of the 
  3388. following for a description of that button. 
  3389.  
  3390. Register Popup Menu 
  3391.  
  3392. The Register Popup Menu contains options that you can perform on the variables 
  3393. or expressions in the monitor. The popup menu is shown when you click mouse 
  3394. button 2 with the mouse pointer on a variable or expression in the monitor, 
  3395. unless the Step with mouse button 2 check box on the Debugger Properties window 
  3396. is enabled. (If the check box is enabled, clicking mouse button 2 performs a 
  3397. step over command.) 
  3398.  
  3399. Menu Summary 
  3400.  
  3401.  Edit 
  3402.    Edit text and search for strings in the text. 
  3403.  
  3404.  Menu Bar Summary 
  3405.  
  3406.  File 
  3407.            End your debugging session. 
  3408.  
  3409.  Options 
  3410.            Change the font used for the text in the Registers window. 
  3411.  
  3412.  Windows 
  3413.            Displays the active debugger windows. 
  3414.  
  3415.  Help 
  3416.            Displays online help that compliments the information you get when 
  3417.            you press F1 or select a Help push button. 
  3418.  
  3419.  Related Information 
  3420.  
  3421.      Expression Language Guidelines 
  3422.  
  3423.  
  3424. ΓòÉΓòÉΓòÉ 5.1. File Menu ΓòÉΓòÉΓòÉ
  3425.  
  3426. Select the File menu to end the debugging session. 
  3427.  
  3428. Menu Summary 
  3429.  
  3430.  Close debugger 
  3431.            End the  current debugging session. 
  3432.  
  3433.  
  3434. ΓòÉΓòÉΓòÉ 5.1.1. Edit ΓòÉΓòÉΓòÉ
  3435.  
  3436. Select choices from the Edit menu to delete, select, and deselect expressions. 
  3437.  
  3438.  
  3439. ΓòÉΓòÉΓòÉ 5.1.2. Close Debugger Choice ΓòÉΓòÉΓòÉ
  3440.  
  3441. Select the Close debugger choice to close your current debugging session. 
  3442.  
  3443. When you select the Close debugger choice, a message box prompts you to confirm 
  3444. that you want to end the debugging session. 
  3445.  
  3446.  
  3447. ΓòÉΓòÉΓòÉ 5.2. Options Menu ΓòÉΓòÉΓòÉ
  3448.  
  3449. Select the Options menu to change the fonts used for the text in the Registers 
  3450. window, and set debugger options. 
  3451.  
  3452. Menu Summary 
  3453.  
  3454.  Fonts 
  3455.            Change the fonts for the text in the Registers window. 
  3456.  
  3457.  Display style 
  3458.            Select the items you want displayed in the window and how you want 
  3459.            them displayed. 
  3460.  
  3461.  Restore defaults 
  3462.            Reset all of the window settings to their original settings. 
  3463.  
  3464.  Tool buttons 
  3465.            Enable or disable buttons from being displayed in the tool bar. 
  3466.  
  3467.  Hover help 
  3468.            Enable or disable the hover help from being displayed in the window. 
  3469.  
  3470.  Infoarea 
  3471.            Enable or disable the information area from being displayed in the 
  3472.            window. 
  3473.  
  3474.  
  3475. ΓòÉΓòÉΓòÉ 5.2.1. Fonts Choice ΓòÉΓòÉΓòÉ
  3476.  
  3477. Select the Fonts choice to set the font you want to use for the text that 
  3478. displays in the active window. 
  3479.  
  3480. When you select Fonts, a Fonts window displays. 
  3481.  
  3482.  
  3483. ΓòÉΓòÉΓòÉ 5.2.2. Display Style Choice ΓòÉΓòÉΓòÉ
  3484.  
  3485. Select the Display style choice to select the items you want displayed in the 
  3486. window. 
  3487.  
  3488. When you select Display style, the Display Style window displays. 
  3489.  
  3490.  
  3491. ΓòÉΓòÉΓòÉ 5.2.2.1. Display Style Window ΓòÉΓòÉΓòÉ
  3492.  
  3493. Use the Display Style window to select the items you want to display in the 
  3494. Register 
  3495.  
  3496. To select the items you want: 
  3497.  
  3498.    1. Select one or more items from the Groups Box. The items become 
  3499.       highlighted. 
  3500.  
  3501.    2. Select the OK push button. 
  3502.  
  3503.  Orientation Group Box 
  3504.  
  3505.  Select how you want the items by selecting one of the following radio buttons: 
  3506.  
  3507.  Vertical     Display the items in the window in a vertical format. 
  3508.  
  3509.  Horizontal   Display the items in the window in a horizontal format. 
  3510.  Column titles Check Box 
  3511.  
  3512.  Enable the Column titles check box to display column titles. When a check mark 
  3513.  symbol displays, the titles are shown. When a check mark symbol is not 
  3514.  displayed, the titles are not shown. 
  3515.  
  3516.  Save split bars Check Box 
  3517.  
  3518.  Enable the Save split bars check box if you want to save the adjustment of the 
  3519.  split bars for the next time you open the Registers window. 
  3520.  
  3521.  
  3522. ΓòÉΓòÉΓòÉ 5.2.3. Restore Defaults Choice ΓòÉΓòÉΓòÉ
  3523.  
  3524. Reset all of the Register window settings to their original settings. This 
  3525. includes the font, the color, the style settings, and the presentation of tool 
  3526. buttons. 
  3527.  
  3528.  
  3529. ΓòÉΓòÉΓòÉ 5.2.4. Tool Buttons Choice ΓòÉΓòÉΓòÉ
  3530.  
  3531. You can select to display the buttons in the tool bar of the window. 
  3532.  
  3533. If this choice is enabled, a check mark symbol displays beside the Tool buttons 
  3534. choice and buttons display. 
  3535.  
  3536.  
  3537. ΓòÉΓòÉΓòÉ 5.2.5. Hover Help Choice ΓòÉΓòÉΓòÉ
  3538.  
  3539. Select the Hover help choice if you want the hover help to be shown in all the 
  3540. debugger windows. 
  3541.  
  3542. The hover help shows the names of the tool buttons. 
  3543.  
  3544.  
  3545. ΓòÉΓòÉΓòÉ 5.2.6. Infoarea Choice ΓòÉΓòÉΓòÉ
  3546.  
  3547. Select the Infoarea choice if you want the information area to be shown in all 
  3548. the debugger windows. 
  3549.  
  3550. The information area, which is located at the bottom of the window, provides a 
  3551. brief description of each menu item. 
  3552.  
  3553.  
  3554. ΓòÉΓòÉΓòÉ 5.3. Windows Menu ΓòÉΓòÉΓòÉ
  3555.  
  3556. Select the Windows menu to display a list of all the open debugger windows. 
  3557.  
  3558. Menu Summary 
  3559.  
  3560.  Local variables 
  3561.            Display the local variables for the current line of the program. 
  3562.  
  3563.  Registers 
  3564.            Monitor registers and flags for a particular thread. 
  3565.  
  3566.  Call Stack 
  3567.            Monitor the call stack for a particular thread. 
  3568.  
  3569.  Private monitor 
  3570.            Display the Private Monitor window. Collect variables or expressions 
  3571.            that you want to monitor. 
  3572.  
  3573.  Program monitor 
  3574.            Display the Program Monitor window. 
  3575.  
  3576.  Storage 
  3577.            Monitor the storage that a program uses. 
  3578.  
  3579.  Breakpoints 
  3580.            Lists the set breakpoints. 
  3581.  
  3582.  Debug session control 
  3583.            Display the Debug Session Control window. 
  3584.  
  3585.  
  3586. ΓòÉΓòÉΓòÉ 5.4. Help Menu ΓòÉΓòÉΓòÉ
  3587.  
  3588. Select choices from the Help menu to complement the online help information 
  3589. that you can get for the debugger when you press F1 or select the Help push 
  3590. button. 
  3591.  
  3592.  Menu Summary 
  3593.  
  3594.  Help index 
  3595.            An alphabetical index of all available debugger help topics. 
  3596.  
  3597.  General help 
  3598.            Help information for the active window. 
  3599.  
  3600.  Using help 
  3601.            How to use the debugger help facility. 
  3602.  
  3603.  Product information 
  3604.            Display product information. 
  3605.  
  3606.  
  3607. ΓòÉΓòÉΓòÉ 5.4.1. Help Index Choice ΓòÉΓòÉΓòÉ
  3608.  
  3609. Select the Help index choice to display an alphabetical list of index topics 
  3610. for the debugger. Use the Find choice provided with the online help facility to 
  3611. locate topics in the index. 
  3612.  
  3613.  
  3614. ΓòÉΓòÉΓòÉ 5.4.2. General Help Choice ΓòÉΓòÉΓòÉ
  3615.  
  3616. Select the General help choice to display online help for the active debugger 
  3617. window. The online help panel displayed is the same panel that displays when 
  3618. you place your cursor inside the window and press F1. 
  3619.  
  3620.  
  3621. ΓòÉΓòÉΓòÉ 5.4.3. Using Help Choice ΓòÉΓòÉΓòÉ
  3622.  
  3623. Select the Using help choice to display online help information about the OS/2 
  3624. help facility. 
  3625.  
  3626.  
  3627. ΓòÉΓòÉΓòÉ 5.4.4. Product Information Choice ΓòÉΓòÉΓòÉ
  3628.  
  3629. Select the Product information choice to display the product information. 
  3630.  
  3631.  
  3632. ΓòÉΓòÉΓòÉ 6. Call Stack Window ΓòÉΓòÉΓòÉ
  3633.  
  3634. The Call Stack window lists all of the active functions for a particular 
  3635. thread, including all system calls. The functions display in the order that 
  3636. they were called. 
  3637.  
  3638. Each Call Stack window displays call stack information for one thread only. 
  3639. When the state of the program changes, such as when you execute the program or 
  3640. you update displayed data, the Call Stack window changes to reflect the current 
  3641. state. You can double-click on any call stack entry to display the source code 
  3642. for that entry. The line that calls the next call stack entry is highlighted. 
  3643. The remaining call stack size shows the bytes left in the stack for the thread. 
  3644.  
  3645. Tool buttons are provide for easy access to frequently used features. 
  3646. Double-click on any of the following for a description of that button. 
  3647.  
  3648. Function Popup Menu 
  3649.  
  3650. The Function Popup Menu contains an option to display the function in the 
  3651. current source window. The popup menu is shown when you click mouse button 2 
  3652. with the mouse pointer on a highlighted function, unless the Step with mouse 
  3653. button 2 check box on the Debugger Properties window is enabled. (If the check 
  3654. box is enabled, clicking mouse button 2 performs a step over command.) 
  3655.  
  3656. The following choice is available from the popup menu: 
  3657.  
  3658.  View 
  3659.    Show the function in the current source window. 
  3660.  
  3661.  Menu Bar Summary 
  3662.  
  3663.  File 
  3664.            End your debugging session. 
  3665.  
  3666.  Options 
  3667.            Select the font you want to use for the text in the Call Stack 
  3668.            window and select the parameters that control how the items on the 
  3669.            call stack display. 
  3670.  
  3671.  Windows 
  3672.            Displays the active debugger windows. 
  3673.  
  3674.  Help 
  3675.            Provides you with online help information. 
  3676.  
  3677.  
  3678. ΓòÉΓòÉΓòÉ <hidden> View Choice ΓòÉΓòÉΓòÉ
  3679.  
  3680. Select the View choice to show the highlighted function in the current source 
  3681. window. 
  3682.  
  3683.  
  3684. ΓòÉΓòÉΓòÉ 6.1. File Menu ΓòÉΓòÉΓòÉ
  3685.  
  3686. Select the File menu choice to end your debugging session. 
  3687.  
  3688. Menu Summary 
  3689.  
  3690.  Save to file 
  3691.            Save the contents of the Call Stack window to an output file. 
  3692.  
  3693.  Close debugger 
  3694.            End your debugging session. 
  3695.  
  3696.  
  3697. ΓòÉΓòÉΓòÉ 6.1.1. Save to File Choice ΓòÉΓòÉΓòÉ
  3698.  
  3699. Select the Save to file choice to save the Call Stack window contents to an 
  3700. output file. 
  3701.  
  3702. When you select the Save to file choice, the contents of the Call Stack window 
  3703. are saved to the output file specified from the Options  Display Style window 
  3704. for the Call Stack window. 
  3705.  
  3706.  
  3707. ΓòÉΓòÉΓòÉ 6.1.2. Close Debugger Choice ΓòÉΓòÉΓòÉ
  3708.  
  3709. Select the Close debugger choice to close your current debugging session. 
  3710.  
  3711. When you select the Close debugger choice, a message box prompts you to confirm 
  3712. that you want to end the debugging session. 
  3713.  
  3714.  
  3715. ΓòÉΓòÉΓòÉ 6.2. Options Menu ΓòÉΓòÉΓòÉ
  3716.  
  3717. Select the Options menu choice to control how the items on the call stack 
  3718. display, and to set various debugger options. 
  3719.  
  3720. Menu Summary 
  3721.  
  3722.  Fonts... 
  3723.            Select the font you want displayed in the window. 
  3724.  
  3725.  Display style... 
  3726.            Control which items are displayed in the window. 
  3727.  
  3728.  Restore defaults 
  3729.            Reset all of the window settings to their original settings. 
  3730.  
  3731.  Tool buttons 
  3732.            Select if you want to display the buttons in the tool bar of the 
  3733.            window. 
  3734.  
  3735.  Hover help 
  3736.            Enable or disable the hover help from being displayed in the window. 
  3737.  
  3738.  Infoarea 
  3739.            Enable or disable the information area from being displayed in the 
  3740.            window. 
  3741.  
  3742.  
  3743. ΓòÉΓòÉΓòÉ 6.2.1. Fonts Choice ΓòÉΓòÉΓòÉ
  3744.  
  3745. Select the Fonts choice to select the font you want for the Call Stack window. 
  3746.  
  3747. When you select Fonts, the Fonts window displays. 
  3748.  
  3749.  
  3750. ΓòÉΓòÉΓòÉ 6.2.2. Display Style Choice ΓòÉΓòÉΓòÉ
  3751.  
  3752. Select the Display style choice to control how the items on the call stack 
  3753. display. You can select the type of information you want displayed for all of 
  3754. the call stack items and you can choose to display new call stack items on the 
  3755. top or the bottom of the stack. 
  3756.  
  3757. When you select Display style, the Display Style window displays. 
  3758.  
  3759.  
  3760. ΓòÉΓòÉΓòÉ 6.2.2.1. Display Style Window ΓòÉΓòÉΓòÉ
  3761.  
  3762. Use the Display Style window to select the items you want to display in the 
  3763. Call Stack window. 
  3764.  
  3765. To select the items you want: 
  3766.  
  3767.    1. Select one or more items from the Select Items group box.  The items 
  3768.       become highlighted. 
  3769.  
  3770.    2. Select the OK push button. 
  3771.  
  3772.  Growth Direction Group Box 
  3773.  
  3774.  Select one of the following Growth direction radio buttons to determine how 
  3775.  new items are displayed on the call stack. 
  3776.  
  3777.  Up 
  3778.            Displays new items at the top of the Call Stack window. 
  3779.  
  3780.  Down 
  3781.            Displays new items at the bottom of the Call Stack window. 
  3782.  
  3783.  Unwind rings Check Box 
  3784.  
  3785.  Enable the Unwind rings check box to have the debugger unwind the call stack 
  3786.  across ring (privilege) transitions.  This allows you to view the call 
  3787.  sequence from user applications into the kernel. 
  3788.  
  3789.  Save file Entry Field 
  3790.  
  3791.  This field specifies the name of the output file that is used to save the Call 
  3792.  Stack window contents when the File menu choice Save to file is selected. 
  3793.  
  3794.  
  3795. ΓòÉΓòÉΓòÉ 6.2.3. Restore Defaults Choice ΓòÉΓòÉΓòÉ
  3796.  
  3797. Reset all of the Call Stack window settings to their original settings. This 
  3798. includes the font, the color, the style settings, and the presentation of tool 
  3799. buttons. 
  3800.  
  3801.  
  3802. ΓòÉΓòÉΓòÉ 6.2.4. Tool Buttons Choice ΓòÉΓòÉΓòÉ
  3803.  
  3804. You can select to display the buttons in the tool bar of the window. 
  3805.  
  3806. If this choice is enabled, a check mark symbol displays beside the Tool buttons 
  3807. choice and buttons display. 
  3808.  
  3809.  
  3810. ΓòÉΓòÉΓòÉ 6.2.4.1. Hover Help Choice ΓòÉΓòÉΓòÉ
  3811.  
  3812. Select the Hover help choice if you want the hover help to be shown in the 
  3813. window. 
  3814.  
  3815. The hover help provides the name of the tool button. 
  3816.  
  3817.  
  3818. ΓòÉΓòÉΓòÉ 6.2.4.2. Infoarea Choice ΓòÉΓòÉΓòÉ
  3819.  
  3820. Select the Infoarea choice if you want the information area to be shown in the 
  3821. window. 
  3822.  
  3823. The information area, which is located at the bottom of the window, provides a 
  3824. brief description of each menu item. 
  3825.  
  3826.  
  3827. ΓòÉΓòÉΓòÉ 6.3. Windows Menu ΓòÉΓòÉΓòÉ
  3828.  
  3829. Select the Windows menu to display a list of all the open debugger windows. 
  3830.  
  3831. Menu Summary 
  3832.  
  3833.  Local variables 
  3834.            Display the local variables for the current line of the program. 
  3835.  
  3836.  Registers 
  3837.            Monitor registers and flags for a particular thread. 
  3838.  
  3839.  Call Stack 
  3840.            Monitor the call stack for a particular thread. 
  3841.  
  3842.  Private monitor 
  3843.            Display the Private Monitor window. Collect variables or expressions 
  3844.            that you want to monitor. 
  3845.  
  3846.  Program monitor 
  3847.            Display the Program Monitor window. 
  3848.  
  3849.  Storage 
  3850.            Monitor the storage that a program uses. 
  3851.  
  3852.  Breakpoints 
  3853.            Lists the set breakpoints. 
  3854.  
  3855.  Debug session control 
  3856.            Display the Debug Session Control window. 
  3857.  
  3858.  
  3859. ΓòÉΓòÉΓòÉ 6.4. Help Menu ΓòÉΓòÉΓòÉ
  3860.  
  3861. Select choices from the Help menu to complement the online help information 
  3862. that you can get for the debugger when you press F1 or, if available, select 
  3863. the Help push button. 
  3864.  
  3865. Menu Summary 
  3866.  
  3867.  Help index 
  3868.            An alphabetical index of all available debugger help topics. 
  3869.  
  3870.  General help 
  3871.            Help information for the active window. 
  3872.  
  3873.  Using help 
  3874.            How to use the debugger help facility. 
  3875.  
  3876.  Product information 
  3877.            Display product information. 
  3878.  
  3879.  
  3880. ΓòÉΓòÉΓòÉ 6.4.1. Help Index Choice ΓòÉΓòÉΓòÉ
  3881.  
  3882. Select the Help index choice to display an alphabetical list of index topics 
  3883. for the debugger. Use the Find choice provided with the online help facility to 
  3884. locate topics in the index. 
  3885.  
  3886.  
  3887. ΓòÉΓòÉΓòÉ 6.4.2. General Help Choice ΓòÉΓòÉΓòÉ
  3888.  
  3889. Select the General help choice to display online help for the active debugger 
  3890. window. The online help panel displayed is the same panel that displays when 
  3891. you place your cursor inside the window and press F1. 
  3892.  
  3893.  
  3894. ΓòÉΓòÉΓòÉ 6.4.3. Using Help Choice ΓòÉΓòÉΓòÉ
  3895.  
  3896. Select the Using help choice to display online help information about the OS/2 
  3897. help facility. 
  3898.  
  3899.  
  3900. ΓòÉΓòÉΓòÉ 6.4.4. Product Information Choice ΓòÉΓòÉΓòÉ
  3901.  
  3902. Select the Product information choice to display the product information. 
  3903.  
  3904.  
  3905. ΓòÉΓòÉΓòÉ 7. Local Variables Window ΓòÉΓòÉΓòÉ
  3906.  
  3907. The Local Variables window displays the local variables for the current 
  3908. execution point in a given thread. As execution moves from function to 
  3909. function, the window updates with the new local variables. 
  3910.  
  3911. Note:  When your program returns from a called function, the data display 
  3912. options you previously selected (for example, representation) are lost. If you 
  3913. want to save these display options, monitor the variable or expression in a 
  3914. Private Monitor window, the Program Monitor window, or a popup expression 
  3915. window. 
  3916.  
  3917. To monitor only specific variables or expressions, instead of all the local 
  3918. variables of a function, use the Program Monitor window. 
  3919.  
  3920. Monitor Popup Menu 
  3921.  
  3922. The Monitor Popup Menu contains options that you can perform on the variables 
  3923. or expressions in the monitor. The popup menu is shown when you click mouse 
  3924. button 2 with the mouse pointer on a variable or expression in the monitor, 
  3925. unless the Step with mouse button 2 check box on the Debugger Properties window 
  3926. is enabled. (If the check box is enabled, clicking mouse button 2 performs a 
  3927. step over command.) 
  3928.  
  3929. Menu Summary 
  3930.  
  3931.  Edit 
  3932.    Change the variable or expression. 
  3933.  
  3934.  Dereference 
  3935.    Show the value to which the pointer points. 
  3936.  
  3937.  Delete 
  3938.    Delete the selected variable or expression that is being monitored. 
  3939.  
  3940.  Next representation 
  3941.    Change the representation of the variable or expression to the next on the 
  3942.    list. 
  3943.  
  3944.   Menu Bar Summary 
  3945.  
  3946.  File 
  3947.            End your debugging session. 
  3948.  
  3949.  Edit 
  3950.            Edit text and search for strings in the text. 
  3951.  
  3952.  Options 
  3953.            Control how the contents of variables display, to set the debugger 
  3954.            options, and end your debugging session. 
  3955.  
  3956.  Windows 
  3957.            Displays the active debugger windows. 
  3958.  
  3959.  Help 
  3960.            Displays online help that compliments the information you get when 
  3961.            you press F1 or select a Help push button. 
  3962.  
  3963.  Related Information 
  3964.  
  3965.      Monitor Properties 
  3966.      Program Monitor Window 
  3967.      Private Monitor Window 
  3968.      Popup Expression Window 
  3969.  
  3970.  
  3971. ΓòÉΓòÉΓòÉ 7.1. File Menu ΓòÉΓòÉΓòÉ
  3972.  
  3973. Select choice from the File menu to close current debugging session. 
  3974.  
  3975.  Menu Summary 
  3976.  
  3977.  Delete 
  3978.            Delete all the selected expressions. 
  3979.  
  3980.  
  3981. ΓòÉΓòÉΓòÉ 7.1.1. Close Debugger Choice ΓòÉΓòÉΓòÉ
  3982.  
  3983. Select the Close debugger choice to close the current debugging session. 
  3984.  
  3985. When you select the Close debugger choice, a message box prompts you to confirm 
  3986. that you want to end the debugging session. 
  3987.  
  3988.  
  3989. ΓòÉΓòÉΓòÉ 7.2. Edit Menu ΓòÉΓòÉΓòÉ
  3990.  
  3991. Select choices from the Edit menu to delete, select, and deselect expressions. 
  3992.  
  3993.  Menu Summary 
  3994.  
  3995.  Delete 
  3996.            Delete all the selected expressions. 
  3997.  
  3998.  Select all 
  3999.            Select all expressions. 
  4000.  
  4001.  Deselect all 
  4002.            Deselect all expressions. 
  4003.  
  4004.  Other elements 
  4005.            Display the  structure's elements beginning with the nth element. 
  4006.  
  4007.  Representation 
  4008.            Display the contents of a monitored variable in a different format. 
  4009.  
  4010.  Copy to clipboard 
  4011.            Copy the selected data to the clipboard. 
  4012.  
  4013.  Save window in file 
  4014.            Save the Local Variables window contents in a file. 
  4015.  
  4016.  
  4017. ΓòÉΓòÉΓòÉ 7.2.1. Delete Choice ΓòÉΓòÉΓòÉ
  4018.  
  4019. Select the Delete choice to delete variables or expressions that are being 
  4020. monitored from a monitor window. 
  4021.  
  4022. To delete a variable or expression from a monitor window: 
  4023.  
  4024.    1. Select the variable or expression with your mouse. The monitor for the 
  4025.       variable or expression highlights. 
  4026.  
  4027.    2. Select the Delete choice from the Edit menu. 
  4028.  
  4029.  
  4030. ΓòÉΓòÉΓòÉ 7.2.2. Select All Choice ΓòÉΓòÉΓòÉ
  4031.  
  4032. Select the Select all choice to select all the expressions in the window. 
  4033.  
  4034.  
  4035. ΓòÉΓòÉΓòÉ 7.2.3. Deselect All Choice ΓòÉΓòÉΓòÉ
  4036.  
  4037. Select the Deselect all choice to cancel the selection of all the expressions 
  4038. in the window. 
  4039.  
  4040.  
  4041. ΓòÉΓòÉΓòÉ 7.2.4. Other Elements Choice ΓòÉΓòÉΓòÉ
  4042.  
  4043. Select the Other elements choice to view the next range of elements (classes, 
  4044. arrays, or structures) that are related to the variable or expression that you 
  4045. are monitoring. 
  4046.  
  4047.  
  4048. ΓòÉΓòÉΓòÉ 7.2.5. Representation Cascading Choice ΓòÉΓòÉΓòÉ
  4049.  
  4050. Select the Representation cascading choice to display the contents of the 
  4051. variable in a new representation. The types of representation that display on 
  4052. the menu depend on the data type of the variable you are monitoring. 
  4053.  
  4054. The following are possible representations: 
  4055.  
  4056.  Hexadecimal 
  4057.            Displays the contents of the monitored variable in hexadecimal 
  4058.            notation. 
  4059.  
  4060.  Decimal 
  4061.            Displays the contents of the monitored variable in decimal notation. 
  4062.  
  4063.  String 
  4064.            Displays the contents of the monitored variable as a character 
  4065.            string. 
  4066.  
  4067.  Hexadecimal pointer 
  4068.            Displays the contents of the monitored variable as a hexadecimal 
  4069.            pointer. 
  4070.  
  4071.  Decimal pointer 
  4072.            Displays the contents of the monitored variable as a decimal 
  4073.            pointer. 
  4074.  
  4075.  Array 
  4076.            Displays the contents of the monitored variable as an array. 
  4077.  
  4078.  Floating point 
  4079.            Displays the contents of the monitored variable in floating-point 
  4080.            notation. 
  4081.  
  4082.  Character 
  4083.            Displays the contents of the monitored variable in character form. 
  4084.  
  4085.  Note:  Floating point registers or variables display as either a 
  4086.  floating-point decimal number or as a hexadecimal string. However, they cannot 
  4087.  be updated with a hexadecimal string that represents a floating-point number. 
  4088.  If you need to update a floating-point variable with a hexadecimal 
  4089.  representation of a floating-point number, you must step through the 
  4090.  Disassembly window to see when the variable loads into a register and then 
  4091.  change the value in the Registers window. 
  4092.  
  4093.  
  4094. ΓòÉΓòÉΓòÉ 7.2.6. Representations ΓòÉΓòÉΓòÉ
  4095.  
  4096. Select the Hexadecimal choice to display the contents of a variable that is 
  4097. being monitored in hexadecimal notation. 
  4098.  
  4099. Select the Decimal choice to display the contents of a variable that is being 
  4100. monitored in decimal notation. 
  4101.  
  4102. Select the String choice to display the contents of a monitored variable as a 
  4103. character string. 
  4104.  
  4105. Select the Hexadecimal pointer choice to display the contents of a monitored 
  4106. variable as a hexadecimal pointer. 
  4107.  
  4108. Select the Decimal pointer choice to display the contents of a monitored 
  4109. variable as a decimal pointer. 
  4110.  
  4111. Select the Array choice to display the contents of a monitored variable as an 
  4112. array. 
  4113.  
  4114. Select the Floating point choice to display the contents of a monitored 
  4115. variable in floating-point notation. 
  4116.  
  4117. Select the Character choice to display the contents of a monitored variable in 
  4118. the form of a character. 
  4119.  
  4120.  
  4121. ΓòÉΓòÉΓòÉ 7.2.7. Copy to Clipboard Choice ΓòÉΓòÉΓòÉ
  4122.  
  4123. Select the Copy to clipboard choice to copy data to the clipboard. 
  4124.  
  4125.  
  4126. ΓòÉΓòÉΓòÉ 7.2.8. Save Window in File Choice ΓòÉΓòÉΓòÉ
  4127.  
  4128. Select the Save window in file choice to save the Local Variables window 
  4129. contents in a file.  You can choose the file name by selecting Options -> 
  4130. Debugger settings -> Monitor properties from the Debug Session Control window 
  4131. or any of the source windows and filling in the Save File entry field. You can 
  4132. also choose the file name by selecting Options -> Monitor properties from the 
  4133. Monitor Properties window. 
  4134.  
  4135.  
  4136. ΓòÉΓòÉΓòÉ 7.3. Options Menu ΓòÉΓòÉΓòÉ
  4137.  
  4138. Select choices from the Options menu to control how the contents of variables 
  4139. display and to set the debugger options. 
  4140.  
  4141.  Menu Summary 
  4142.  
  4143.  Fonts 
  4144.            Select the font for the text in the Local Variables window. 
  4145.  
  4146.  Restore defaults 
  4147.            Reset all of the window settings to their original settings. 
  4148.  
  4149.  Show enablement 
  4150.            Show the enablement status of variables and expressions on the 
  4151.            Program Monitor window. 
  4152.  
  4153.  Show context 
  4154.            Display the contextual information for all selected expressions. 
  4155.  
  4156.  Monitor properties 
  4157.            Select the settings for the variable monitor windows. 
  4158.  
  4159.  Tool buttons 
  4160.            Enable or disable buttons from being displayed in the tool bar. 
  4161.  
  4162.  Hover help 
  4163.            Enable or disable the hover help from being displayed in the window. 
  4164.  
  4165.  Infoarea 
  4166.            Enable or disable the information area from being displayed in the 
  4167.            window. 
  4168.  
  4169.  
  4170. ΓòÉΓòÉΓòÉ 7.3.1. Fonts Choice ΓòÉΓòÉΓòÉ
  4171.  
  4172. Select the Fonts choice to set the font you want to use for the text that 
  4173. displays in the active window. 
  4174.  
  4175.  
  4176. ΓòÉΓòÉΓòÉ 7.3.2. Restore Defaults Choice ΓòÉΓòÉΓòÉ
  4177.  
  4178. Reset all of the Local Variables window settings to their original settings. 
  4179. This includes the font, the color, the style settings, and the presentation of 
  4180. tool buttons. 
  4181.  
  4182.  
  4183. ΓòÉΓòÉΓòÉ 7.3.3. Show Enablement Choice ΓòÉΓòÉΓòÉ
  4184.  
  4185. Select the Show enablement choice to show the enablement status of a variable 
  4186. or expression. If a variable or expression is enabled, the displayed contents 
  4187. are updated as they change. 
  4188.  
  4189. If this choice is enabled, a check mark symbol displays beside the Show 
  4190. enablement choice and the enablement status is shown. 
  4191.  
  4192. If you disable this choice, the enablement status is not shown. 
  4193.  
  4194.  
  4195. ΓòÉΓòÉΓòÉ 7.3.4. Show Context Choice ΓòÉΓòÉΓòÉ
  4196.  
  4197. Select the Show context choice to display the contextual information for the 
  4198. variable you are monitoring. The following information displays: 
  4199.  
  4200.      Source 
  4201.  
  4202.      File 
  4203.  
  4204.      Line 
  4205.  
  4206.      Thread. 
  4207.  
  4208.  
  4209. ΓòÉΓòÉΓòÉ 7.3.5. Monitor Properties Choice ΓòÉΓòÉΓòÉ
  4210.  
  4211. Select the Monitor properties choice to select the settings for monitoring 
  4212. variables or expressions. 
  4213.  
  4214. When you select Monitor properties, the Monitor Properties window displays. 
  4215.  
  4216.  
  4217. ΓòÉΓòÉΓòÉ 7.3.6. Tool Buttons Choice ΓòÉΓòÉΓòÉ
  4218.  
  4219. You can select to display the buttons in the tool bar of the window. 
  4220.  
  4221. If this choice is enabled, a check mark symbol displays beside the Tool buttons 
  4222. choice and buttons display. 
  4223.  
  4224.  
  4225. ΓòÉΓòÉΓòÉ 7.3.7. Hover Help Choice ΓòÉΓòÉΓòÉ
  4226.  
  4227. Select the Hover help choice if you want the hover help to be shown in the 
  4228. window. 
  4229.  
  4230. The hover help provides the name of the tool button. 
  4231.  
  4232.  
  4233. ΓòÉΓòÉΓòÉ 7.3.8. Infoarea Choice ΓòÉΓòÉΓòÉ
  4234.  
  4235. Select the Infoarea choice if you want the information area to be shown in the 
  4236. window. 
  4237.  
  4238. The information area, which is located at the bottom of the window, provides a 
  4239. brief description of each menu item. 
  4240.  
  4241.  
  4242. ΓòÉΓòÉΓòÉ 7.4. Windows Menu ΓòÉΓòÉΓòÉ
  4243.  
  4244. Select the Windows menu to display a list of all the open debugger windows. 
  4245.  
  4246. Menu Summary 
  4247.  
  4248.  Local variables 
  4249.            Display the local variables for the current line of the program. 
  4250.  
  4251.  Registers 
  4252.            Monitor registers and flags for a particular thread. 
  4253.  
  4254.  Call Stack 
  4255.            Monitor the call stack for a particular thread. 
  4256.  
  4257.  Private monitor 
  4258.            Display the Private Monitor window. Collect variables or expressions 
  4259.            that you want to monitor. 
  4260.  
  4261.  Program monitor 
  4262.            Display the Program Monitor window. 
  4263.  
  4264.  Storage 
  4265.            Monitor the storage that a program uses. 
  4266.  
  4267.  Breakpoints 
  4268.            Lists the set breakpoints. 
  4269.  
  4270.  Debug session control 
  4271.            Display the Debug Session Control window. 
  4272.  
  4273.  
  4274. ΓòÉΓòÉΓòÉ 7.5. Help Menu ΓòÉΓòÉΓòÉ
  4275.  
  4276. Select choices from the Help menu to complement the online help information 
  4277. that you can get for the debugger when you press F1 or select the Help push 
  4278. button. 
  4279.  
  4280. Menu Summary 
  4281.  
  4282.  Help index 
  4283.            An alphabetical index of all available debugger help topics. 
  4284.  
  4285.  General help 
  4286.            Help information for the active window. 
  4287.  
  4288.  Using help 
  4289.            How to use the debugger help facility. 
  4290.  
  4291.  Product information 
  4292.            Display product information. 
  4293.  
  4294.  
  4295. ΓòÉΓòÉΓòÉ 7.5.1. Help Index Choice ΓòÉΓòÉΓòÉ
  4296.  
  4297. Select the Help index choice to display an alphabetical list of index topics 
  4298. for the debugger. Use the Find choice provided with the online help facility to 
  4299. locate topics in the index. 
  4300.  
  4301.  
  4302. ΓòÉΓòÉΓòÉ 7.5.2. General Help Choice ΓòÉΓòÉΓòÉ
  4303.  
  4304. Select the General help choice to display online help for the active debugger 
  4305. window. The online help panel displayed is the same panel that displays when 
  4306. you place your cursor inside the window and press F1. 
  4307.  
  4308.  
  4309. ΓòÉΓòÉΓòÉ 7.5.3. Using Help Choice ΓòÉΓòÉΓòÉ
  4310.  
  4311. Select the Using help choice to display online help information about the OS/2 
  4312. help facility. 
  4313.  
  4314.  
  4315. ΓòÉΓòÉΓòÉ 7.5.4. Product Information Choice ΓòÉΓòÉΓòÉ
  4316.  
  4317. Select the Product information choice to display the product information. 
  4318.  
  4319.  
  4320. ΓòÉΓòÉΓòÉ 8. Program Monitor Window ΓòÉΓòÉΓòÉ
  4321.  
  4322. Use the Program Monitor window to collect variables or expressions that you 
  4323. want to monitor. This window is not associated with any specific source window 
  4324. and remains open at all times unless you close it. 
  4325.  
  4326. You can select the variables or expressions you want to display from the source 
  4327. window by: 
  4328.  
  4329.      Using the mouse 
  4330.      Using the mouse and monitor expression window 
  4331.      Using the keyboard. 
  4332.  
  4333.  You must select an expression with a valid: 
  4334.  
  4335.      Operand type 
  4336.      Operator 
  4337.      Typecasting operation. 
  4338.  
  4339.  There are tool buttons active in this window. Double-click on any of the 
  4340.  following for a description of that button. 
  4341.  
  4342.  Monitor Popup Menu 
  4343.  
  4344.  The Monitor Popup Menu contains options that you can perform on the variables 
  4345.  or expressions in the monitor. The popup menu is shown when you click mouse 
  4346.  button 2 with the mouse pointer on a variable or expression in the monitor, 
  4347.  unless the Step with mouse button 2 check box on the Debugger Properties 
  4348.  window is enabled. (If the check box is enabled, clicking mouse button 2 
  4349.  performs a step over command.) 
  4350.  
  4351.  Popup Menu Summary 
  4352.  
  4353.  Delete 
  4354.    Delete the selected variable or expression that is being monitored. 
  4355.  
  4356.  Disable 
  4357.    Prevent the displayed contents of a variable or expression from updating. 
  4358.  
  4359.  Enable 
  4360.    Display the contents of a variable or expression as it changes. 
  4361.  
  4362.  Edit 
  4363.    Change the variable or expression. 
  4364.  
  4365.  Next representation 
  4366.    Change the representation of the variable or expression to the next on the 
  4367.    list. 
  4368.  
  4369.  Dereference 
  4370.    Show the value to which the pointer points. 
  4371.  
  4372.  Other elements 
  4373.    Display the  structure's elements beginning with the nth element. 
  4374.  
  4375.   Menu Bar Summary 
  4376.  
  4377.  File 
  4378.            End your debugging session. 
  4379.  
  4380.  Edit 
  4381.            Edit text and search for strings in the text. 
  4382.  
  4383.  Options 
  4384.            Control how the contents of variables display, to set the debugger 
  4385.            options, and end your debugging session. 
  4386.  
  4387.  Windows 
  4388.            Displays the active debugger windows. 
  4389.  
  4390.  Help 
  4391.            Displays online help that compliments the information you get when 
  4392.            you press F1 or select a Help push button. 
  4393.  
  4394.  Related Information 
  4395.  
  4396.      Monitor Properties 
  4397.      Program Monitor Window 
  4398.      Private Monitor Window 
  4399.      Popup Expression Window 
  4400.  
  4401.  
  4402. ΓòÉΓòÉΓòÉ 8.1. Edit Choice ΓòÉΓòÉΓòÉ
  4403.  
  4404. Select the Edit choice to change the variable or expression. 
  4405.  
  4406.  
  4407. ΓòÉΓòÉΓòÉ 8.2. Enable Choice ΓòÉΓòÉΓòÉ
  4408.  
  4409. Select the Enable choice to allow the highlighted thread to be executed. 
  4410.  
  4411.  
  4412. ΓòÉΓòÉΓòÉ 8.2.1. Delete Choice ΓòÉΓòÉΓòÉ
  4413.  
  4414. Select the Delete choice to delete variables or expressions that are being 
  4415. monitored from a monitor window. 
  4416.  
  4417. To delete a variable or expression from a monitor window: 
  4418.  
  4419.    1. Select the variable or expression with your mouse. The monitor for the 
  4420.       variable or expression highlights. 
  4421.  
  4422.    2. Select the Delete choice from the Options menu. 
  4423.  
  4424.  
  4425. ΓòÉΓòÉΓòÉ 8.3. Disable Choice ΓòÉΓòÉΓòÉ
  4426.  
  4427. Select the Disable choice to prevent the displayed contents of a variable or 
  4428. expression from updating. 
  4429.  
  4430.  
  4431. ΓòÉΓòÉΓòÉ 8.4. Dereference ΓòÉΓòÉΓòÉ
  4432.  
  4433. Select the Dereference choice to show the contents of     a pointer. 
  4434.  
  4435.  
  4436. ΓòÉΓòÉΓòÉ 8.5. Other Elements Choice ΓòÉΓòÉΓòÉ
  4437.  
  4438. Select theOther elements choice to view the next range of elements (classes, 
  4439. arrays, or structures) that are related to the variable or expression that you 
  4440. are monitoring. 
  4441.  
  4442.  
  4443. ΓòÉΓòÉΓòÉ 8.6. Next Representation Choice ΓòÉΓòÉΓòÉ
  4444.  
  4445. Select the Next representation choice to change the representation of the 
  4446. variable or expression to the next representation on the list. 
  4447.  
  4448.  
  4449. ΓòÉΓòÉΓòÉ <hidden> Run Button ΓòÉΓòÉΓòÉ
  4450.  
  4451. Runs the program, executing all enabled threads. Control returns to the 
  4452. debugger when: 
  4453.  
  4454.      the program ends 
  4455.  
  4456.      execution stops at an enabled breakpoint. 
  4457.  
  4458.  When the debugger is running the run button changes to 
  4459.  
  4460.  
  4461. ΓòÉΓòÉΓòÉ <hidden> Debug Session Control Button ΓòÉΓòÉΓòÉ
  4462.  
  4463. Displays the Debug Session Control window. 
  4464.  
  4465.  
  4466. ΓòÉΓòÉΓòÉ <hidden> Change Representation Button ΓòÉΓòÉΓòÉ
  4467.  
  4468. Allows you to change the data representation of a variable or expression. 
  4469.  
  4470.  
  4471. ΓòÉΓòÉΓòÉ <hidden> Delete Button ΓòÉΓòÉΓòÉ
  4472.  
  4473. Deletes the highlighted expression. 
  4474.  
  4475.  
  4476. ΓòÉΓòÉΓòÉ <hidden> Delete All Button ΓòÉΓòÉΓòÉ
  4477.  
  4478. Deletes all occurrences of the highlighted expression. 
  4479.  
  4480.  
  4481. ΓòÉΓòÉΓòÉ 8.7. File Menu ΓòÉΓòÉΓòÉ
  4482.  
  4483. Select choice from the File menu to close current debugging session. 
  4484.  
  4485.  Menu Summary 
  4486.  
  4487.  Close Debugger 
  4488.            End your current debugging session. 
  4489.  
  4490.  
  4491. ΓòÉΓòÉΓòÉ 8.7.1. Close Debugger Choice ΓòÉΓòÉΓòÉ
  4492.  
  4493. Select the Close debugger choice to close the current debugging session. 
  4494.  
  4495. When you select the Close debugger choice, a message box prompts you to confirm 
  4496. that you want to end the debugging session. 
  4497.  
  4498.  
  4499. ΓòÉΓòÉΓòÉ 8.8. Edit Menu ΓòÉΓòÉΓòÉ
  4500.  
  4501. Select choices from the Edit menu to delete, select, and deselect expressions. 
  4502.  
  4503.  Menu Summary 
  4504.  
  4505.  Delete 
  4506.            Delete all the selected expressions. 
  4507.  
  4508.  Delete all 
  4509.            Delete all variables or monitored expressions. 
  4510.  
  4511.  Select all 
  4512.            Select all expressions. 
  4513.  
  4514.  Deselect all 
  4515.            Deselect all expressions. 
  4516.  
  4517.  Enable 
  4518.            Display the contents of a variable or expression as it changes. 
  4519.  
  4520.  Disable 
  4521.            Prevent the displayed contents of a variable or expression from 
  4522.            updating. 
  4523.  
  4524.  Other elements 
  4525.            Display the  structure's elements beginning with the nth element. 
  4526.  
  4527.  Representation 
  4528.            Display the contents of a monitored variable in a different format. 
  4529.  
  4530.  Copy to clipboard 
  4531.            Copy the selected data to the clipboard. 
  4532.  
  4533.  Save window in file 
  4534.            Save the Program Monitor window contents in a file. 
  4535.  
  4536.  
  4537. ΓòÉΓòÉΓòÉ 8.8.1. Delete Choice ΓòÉΓòÉΓòÉ
  4538.  
  4539. Select the Delete choice to delete variables or expressions that are being 
  4540. monitored from a monitor window. 
  4541.  
  4542. To delete a variable or expression from a monitor window: 
  4543.  
  4544.    1. Select the variable or expression with your mouse. The monitor for the 
  4545.       variable or expression highlights. 
  4546.  
  4547.    2. Select the Delete choice from the Options menu. 
  4548.  
  4549.  
  4550. ΓòÉΓòÉΓòÉ 8.8.2. Delete All Choice ΓòÉΓòÉΓòÉ
  4551.  
  4552. Select the Delete all choice to delete all variables or expressions that are 
  4553. being monitored from a monitor window. 
  4554.  
  4555.  
  4556. ΓòÉΓòÉΓòÉ 8.8.3. Select All Choice ΓòÉΓòÉΓòÉ
  4557.  
  4558. Select the Select all choice to select all the expressions in the window. 
  4559.  
  4560.  
  4561. ΓòÉΓòÉΓòÉ 8.8.4. Deselect All Choice ΓòÉΓòÉΓòÉ
  4562.  
  4563. Select the Deselect all choice to cancel the selection of all the expressions 
  4564. in the window. 
  4565.  
  4566.  
  4567. ΓòÉΓòÉΓòÉ 8.8.5. Enable Choice ΓòÉΓòÉΓòÉ
  4568.  
  4569. Select the Enable choice to have the displayed contents of a variable or 
  4570. expression updated as the state of the program changes. 
  4571.  
  4572.  
  4573. ΓòÉΓòÉΓòÉ 8.8.6. Disable Choice ΓòÉΓòÉΓòÉ
  4574.  
  4575. Select the Disable choice to prevent the displayed contents of a variable or 
  4576. expression from updating as the state of the program changes. 
  4577.  
  4578.  
  4579. ΓòÉΓòÉΓòÉ 8.8.7. Other Elements Choice ΓòÉΓòÉΓòÉ
  4580.  
  4581. Select the Other elements choice to view the next range of elements (classes, 
  4582. arrays, or structures) that are related to the variable or expression that you 
  4583. are monitoring. 
  4584.  
  4585.  
  4586. ΓòÉΓòÉΓòÉ 8.8.8. Representation Cascading Choice ΓòÉΓòÉΓòÉ
  4587.  
  4588. Select the Representation cascading choice to display the contents of the 
  4589. variable in a new representation. The types of representation that display on 
  4590. the menu depend on the data type of the variable you are monitoring. 
  4591.  
  4592. The following are possible representations: 
  4593.  
  4594.  Hexadecimal 
  4595.            Displays the contents of the monitored variable in hexadecimal 
  4596.            notation. 
  4597.  
  4598.  Decimal 
  4599.            Displays the contents of the monitored variable in decimal notation. 
  4600.  
  4601.  String 
  4602.            Displays the contents of the monitored variable as a character 
  4603.            string. 
  4604.  
  4605.  Hexadecimal pointer 
  4606.            Displays the contents of the monitored variable as a hexadecimal 
  4607.            pointer. 
  4608.  
  4609.  Decimal pointer 
  4610.            Displays the contents of the monitored variable as a decimal 
  4611.            pointer. 
  4612.  
  4613.  Array 
  4614.            Displays the contents of the monitored variable as an array. 
  4615.  
  4616.  Floating point 
  4617.            Displays the contents of the monitored variable in floating-point 
  4618.            notation. 
  4619.  
  4620.  Character 
  4621.            Displays the contents of the monitored variable in character form. 
  4622.  
  4623.  Note:  Floating point registers or variables display as either a 
  4624.  floating-point decimal number or as a hexadecimal string. However, they cannot 
  4625.  be updated with a hexadecimal string that represents a floating-point number. 
  4626.  If you need to update a floating-point variable with a hexadecimal 
  4627.  representation of a floating-point number, you must step through the 
  4628.  Disassembly window to see when the variable loads into a register and then 
  4629.  change the value in the Register window. 
  4630.  
  4631.  
  4632. ΓòÉΓòÉΓòÉ 8.8.9. Representations ΓòÉΓòÉΓòÉ
  4633.  
  4634. Select the Hexadecimal choice to display the contents of a variable that is 
  4635. being monitored in hexadecimal notation. 
  4636.  
  4637. Select the Decimal choice to display the contents of a variable that is being 
  4638. monitored in decimal notation. 
  4639.  
  4640. Select the String choice to display the contents of a monitored variable as a 
  4641. character string. 
  4642.  
  4643. Select the Hexadecimal pointer choice to display the contents of a monitored 
  4644. variable as a hexadecimal pointer. 
  4645.  
  4646. Select the Decimal pointer choice to display the contents of a monitored 
  4647. variable as a decimal pointer. 
  4648.  
  4649. Select the Array choice to display the contents of a monitored variable as an 
  4650. array. 
  4651.  
  4652. Select the Floating point choice to display the contents of a monitored 
  4653. variable in floating-point notation. 
  4654.  
  4655. Select the Character choice to display the contents of a monitored variable in 
  4656. the form of a character. 
  4657.  
  4658.  
  4659. ΓòÉΓòÉΓòÉ 8.8.10. Copy to Clipboard Choice ΓòÉΓòÉΓòÉ
  4660.  
  4661. Select the Copy to clipboard choice to copy data to the clipboard. 
  4662.  
  4663.  
  4664. ΓòÉΓòÉΓòÉ 8.8.11. Save Window in File Choice ΓòÉΓòÉΓòÉ
  4665.  
  4666. Select the Save window in file choice to save the Program Monitor window 
  4667. contents in a file.  You can choose the file name by selecting Options -> 
  4668. Debugger settings -> Monitor properties from the Debug Session Control window 
  4669. or any of the source windows and filling in the Save File entry field. You can 
  4670. also choose the file name by selecting Options -> Monitor properties from the 
  4671. Monitor Properties window. 
  4672.  
  4673.  
  4674. ΓòÉΓòÉΓòÉ 8.9. Options Menu ΓòÉΓòÉΓòÉ
  4675.  
  4676. Select choices from the Options menu to control how the contents of variables 
  4677. display and to set the debugger options. 
  4678.  
  4679.  Menu Summary 
  4680.  
  4681.  Fonts 
  4682.            Select the font for the text in the Local Variables window. 
  4683.  
  4684.  Restore defaults 
  4685.            Reset all of the window settings to their original settings. 
  4686.  
  4687.  Show enablement 
  4688.            Show the enablement status of variables and expressions on the 
  4689.            Program Monitor window. 
  4690.  
  4691.  Show context 
  4692.            Display the contextual information for all selected expressions. 
  4693.  
  4694.  Monitor properties 
  4695.            Select the settings for the variable monitor windows. 
  4696.  
  4697.  Tool buttons 
  4698.            Enable or disable buttons from being displayed in the tool bar. 
  4699.  
  4700.  Hover help 
  4701.            Enable or disable the hover help from being displayed in the window. 
  4702.  
  4703.  Infoarea 
  4704.            Enable or disable the information area from being displayed in the 
  4705.            window. 
  4706.  
  4707.  
  4708. ΓòÉΓòÉΓòÉ 8.9.1. Fonts Choice ΓòÉΓòÉΓòÉ
  4709.  
  4710. Select the Fonts choice to set the font you want to use for the text that 
  4711. displays in the active window. 
  4712.  
  4713.  
  4714. ΓòÉΓòÉΓòÉ 8.9.2. Restore Defaults Choice ΓòÉΓòÉΓòÉ
  4715.  
  4716. Reset all of the Program Monitor window settings to their original settings. 
  4717. This includes the font, the color, the style settings, and the presentation of 
  4718. tool buttons. 
  4719.  
  4720.  
  4721. ΓòÉΓòÉΓòÉ 8.9.3. Show Enablement Choice ΓòÉΓòÉΓòÉ
  4722.  
  4723. Select the Show enablement choice to show the enablement status of a variable 
  4724. or expression. If a variable or expression is enabled, the displayed contents 
  4725. is updated as they change. 
  4726.  
  4727. If this choice is enabled, a check mark symbol displays beside the Show 
  4728. enablement choice and the enablement status is shown. 
  4729.  
  4730. If you disable this choice, the enablement status is not shown. 
  4731.  
  4732.  
  4733. ΓòÉΓòÉΓòÉ 8.9.4. Show Context Choice ΓòÉΓòÉΓòÉ
  4734.  
  4735. Select the Show context choice to display the contextual information for the 
  4736. variable you are monitoring. The following information displays: 
  4737.  
  4738.      Source 
  4739.  
  4740.      File 
  4741.  
  4742.      Line 
  4743.  
  4744.      Thread. 
  4745.  
  4746.  
  4747. ΓòÉΓòÉΓòÉ 8.9.5. Monitor Properties Choice ΓòÉΓòÉΓòÉ
  4748.  
  4749. Select the Monitor properties choice to select the settings for monitoring 
  4750. variables or expressions. 
  4751.  
  4752.  
  4753. ΓòÉΓòÉΓòÉ 8.9.6. Tool Buttons Choice ΓòÉΓòÉΓòÉ
  4754.  
  4755. You can select Tool buttons if you want to display the buttons in the tool bar 
  4756. of the window. 
  4757.  
  4758. If this choice is enabled, a check mark symbol displays beside the Tool buttons 
  4759. choice and buttons display. 
  4760.  
  4761.  
  4762. ΓòÉΓòÉΓòÉ 8.9.7. Hover Help Choice ΓòÉΓòÉΓòÉ
  4763.  
  4764. Select the Hover help choice if you want the hover help to be shown in the 
  4765. window. 
  4766.  
  4767. The hover help provides the name of the tool button. 
  4768.  
  4769.  
  4770. ΓòÉΓòÉΓòÉ 8.9.8. Infoarea Choice ΓòÉΓòÉΓòÉ
  4771.  
  4772. Select the Infoarea choice if you want the information area to be shown in the 
  4773. window. 
  4774.  
  4775. The information area, which is located at the bottom of the window, provides a 
  4776. brief description of each menu item. 
  4777.  
  4778.  
  4779. ΓòÉΓòÉΓòÉ 8.10. Windows Menu ΓòÉΓòÉΓòÉ
  4780.  
  4781. Select the Windows menu to display a list of all the open debugger windows. 
  4782.  
  4783. Menu Summary 
  4784.  
  4785.  Local variables 
  4786.            Display the local variables for the current line of the program. 
  4787.  
  4788.  Registers 
  4789.            Monitor registers and flags for a particular thread. 
  4790.  
  4791.  Call Stack 
  4792.            Monitor the call stack for a particular thread. 
  4793.  
  4794.  Private monitor 
  4795.            Display the Private Monitor window. Collect variables or expressions 
  4796.            that you want to monitor. 
  4797.  
  4798.  Program monitor 
  4799.            Display the Program Monitor window. 
  4800.  
  4801.  Storage 
  4802.            Monitor the storage that a program uses. 
  4803.  
  4804.  Breakpoints 
  4805.            Lists the set breakpoints. 
  4806.  
  4807.  Debug session control 
  4808.            Display the Debug Session Control window. 
  4809.  
  4810.  
  4811. ΓòÉΓòÉΓòÉ 8.11. Help Menu ΓòÉΓòÉΓòÉ
  4812.  
  4813. Select choices from the Help menu to complement the online help information 
  4814. that you can get for the debugger when you press F1 or select the Help push 
  4815. button. 
  4816.  
  4817. Menu Summary 
  4818.  
  4819.  Help index 
  4820.            An alphabetical index of all available debugger help topics. 
  4821.  
  4822.  General help 
  4823.            Help information for the active window. 
  4824.  
  4825.  Using help 
  4826.            How to use the debugger help facility. 
  4827.  
  4828.  Product information 
  4829.            Display product information. 
  4830.  
  4831.  
  4832. ΓòÉΓòÉΓòÉ 8.11.1. Help Index Choice ΓòÉΓòÉΓòÉ
  4833.  
  4834. Select the Help index choice to display an alphabetical list of index topics 
  4835. for the debugger. Use the Find choice provided with the online help facility to 
  4836. locate topics in the index. 
  4837.  
  4838.  
  4839. ΓòÉΓòÉΓòÉ 8.11.2. General Help Choice ΓòÉΓòÉΓòÉ
  4840.  
  4841. Select the General help choice to display online help for the active debugger 
  4842. window. The online help panel displayed is the same panel that displays when 
  4843. you place your cursor inside the window and press F1. 
  4844.  
  4845.  
  4846. ΓòÉΓòÉΓòÉ 8.11.3. Using Help Choice ΓòÉΓòÉΓòÉ
  4847.  
  4848. Select the Using help choice to display online help information about the OS/2 
  4849. help facility. 
  4850.  
  4851.  
  4852. ΓòÉΓòÉΓòÉ 8.11.4. Product Information Choice ΓòÉΓòÉΓòÉ
  4853.  
  4854. Select the Product information choice to display the product information. 
  4855.  
  4856.  
  4857. ΓòÉΓòÉΓòÉ 9. Popup Expression Window ΓòÉΓòÉΓòÉ
  4858.  
  4859. The Popup Expression window displays the variable or expression you select for 
  4860. monitoring. It is associated with a specific source window and is closed when 
  4861. the associated window is closed. 
  4862.  
  4863. You can select the variables or expressions you want to display: 
  4864.  
  4865.      Using the mouse 
  4866.  
  4867.      Using the mouse and the Monitor window 
  4868.  
  4869.      Using the keyboard. 
  4870.  
  4871.  You must select an expression with a valid: 
  4872.  
  4873.      Operand type 
  4874.  
  4875.      Operator 
  4876.  
  4877.      Typecasting operation. 
  4878.  Related Information 
  4879.  
  4880.      Local Variables Window 
  4881.      Monitor Properties 
  4882.      Program Monitor Window 
  4883.      Private Monitor Window 
  4884.  
  4885.  
  4886. ΓòÉΓòÉΓòÉ 10. Private Monitor Window ΓòÉΓòÉΓòÉ
  4887.  
  4888. Use the Private Monitor window to collect variables or expressions that you 
  4889. want to monitor. This window is associated with a specific source window and is 
  4890. closed when the associated source window is closed. 
  4891.  
  4892. You can select the variables or expressions you want to display from a window: 
  4893.  
  4894.      Using the mouse 
  4895.  
  4896.      Using the mouse and the Monitor window 
  4897.  
  4898.      Using the keyboard. 
  4899.  
  4900.  You must select an expression with a valid: 
  4901.  
  4902.      Operand type 
  4903.  
  4904.      Operator 
  4905.  
  4906.      Typecasting operation. 
  4907.  
  4908.   Menu Bar Summary 
  4909.  
  4910.  File 
  4911.            End your debugging session. 
  4912.  
  4913.  Edit 
  4914.            Edit text and search for strings in the text. 
  4915.  
  4916.  Options 
  4917.            Control how the contents of variables display, to set the debugger 
  4918.            options, and end your debugging session. 
  4919.  
  4920.  Windows 
  4921.            Displays the active debugger windows. 
  4922.  
  4923.  Help 
  4924.            Displays online help that compliments the information you get when 
  4925.            you press F1 or select a Help push button. 
  4926.  
  4927.  Related Information 
  4928.  
  4929.      Monitor Properties 
  4930.      Program Monitor Window 
  4931.      Private Monitor Window 
  4932.      Popup Expression Window 
  4933.  
  4934.  
  4935. ΓòÉΓòÉΓòÉ 10.1. File Menu ΓòÉΓòÉΓòÉ
  4936.  
  4937. Select choice from the File menu to close current debugging session. 
  4938.  
  4939.  Menu Summary 
  4940.  
  4941.  Delete 
  4942.            Delete all the selected expressions. 
  4943.  
  4944.  
  4945. ΓòÉΓòÉΓòÉ 10.1.1. Close Debugger Choice ΓòÉΓòÉΓòÉ
  4946.  
  4947. Select the Close debugger choice to close the current debugging session. 
  4948.  
  4949. When you select the Close debugger choice, a message box prompts you to confirm 
  4950. that you want to end the debugging session. 
  4951.  
  4952.  
  4953. ΓòÉΓòÉΓòÉ 10.2. Edit Menu ΓòÉΓòÉΓòÉ
  4954.  
  4955. Select choices from the Edit menu to delete, select, and deselect expressions. 
  4956.  
  4957.  Menu Summary 
  4958.  
  4959.  Delete 
  4960.            Delete all the selected expressions. 
  4961.  
  4962.  Select all 
  4963.            Select all expressions. 
  4964.  
  4965.  Deselect all 
  4966.            Deselect all expressions. 
  4967.  
  4968.  Enable 
  4969.            Display the contents of a variable or expression as it changes. 
  4970.  
  4971.  Disable 
  4972.            Prevent the displayed contents of a variable or expression from 
  4973.            updating. 
  4974.  
  4975.  Other elements 
  4976.            Display the  structure's elements beginning with the nth element. 
  4977.  
  4978.  Representation 
  4979.            Display the contents of a monitored variable in a different format. 
  4980.  
  4981.  Copy to clipboard 
  4982.            Copy the selected data to the clipboard. 
  4983.  
  4984.  Save to file 
  4985.            Save the Private Monitor window contents in a file. 
  4986.  
  4987.  
  4988. ΓòÉΓòÉΓòÉ 10.2.1. Delete Choice ΓòÉΓòÉΓòÉ
  4989.  
  4990. Select the Delete choice to delete variables or expressions that are being 
  4991. monitored from a monitor window. 
  4992.  
  4993. To delete a variable or expression from a monitor window: 
  4994.  
  4995.    1. Select the variable or expression with your mouse. The monitor for the 
  4996.       variable or expression highlights. 
  4997.  
  4998.    2. Select the Delete choice from the Options menu. 
  4999.  
  5000.  
  5001. ΓòÉΓòÉΓòÉ 10.2.2. Delete All Choice ΓòÉΓòÉΓòÉ
  5002.  
  5003. Select the Delete all choice to delete all variables or expressions that are 
  5004. being monitored from a monitor window. 
  5005.  
  5006.  
  5007. ΓòÉΓòÉΓòÉ 10.2.3. Select All Choice ΓòÉΓòÉΓòÉ
  5008.  
  5009. Select the Select all choice to select all the expressions in the window. 
  5010.  
  5011.  
  5012. ΓòÉΓòÉΓòÉ 10.2.4. Deselect All Choice ΓòÉΓòÉΓòÉ
  5013.  
  5014. Select the Deselect all choice to cancel the selection of all the expressions 
  5015. in the window. 
  5016.  
  5017.  
  5018. ΓòÉΓòÉΓòÉ 10.2.5. Enable Choice ΓòÉΓòÉΓòÉ
  5019.  
  5020. Select the Enable choice to have the displayed contents of a variable or 
  5021. expression updated as the state of the program changes. 
  5022.  
  5023.  
  5024. ΓòÉΓòÉΓòÉ 10.2.6. Disable Choice ΓòÉΓòÉΓòÉ
  5025.  
  5026. Select the Disable choice to prevent the displayed contents of a variable or 
  5027. expression from updating as the state of the program changes. 
  5028.  
  5029.  
  5030. ΓòÉΓòÉΓòÉ 10.2.7. Other Elements Choice ΓòÉΓòÉΓòÉ
  5031.  
  5032. Select the Other elements choice to view the next range of elements (classes, 
  5033. arrays, or structures) that are related to the variable or expression that you 
  5034. are monitoring. 
  5035.  
  5036.  
  5037. ΓòÉΓòÉΓòÉ 10.2.8. Representation Cascading Choice ΓòÉΓòÉΓòÉ
  5038.  
  5039. Select the Representation cascading choice to display the contents of the 
  5040. variable in a new representation. The types of representation that display on 
  5041. the menu depend on the data type of the variable you are monitoring. 
  5042.  
  5043. The following are possible representations: 
  5044.  
  5045.  Hexadecimal 
  5046.            Displays the contents of the monitored variable in hexadecimal 
  5047.            notation. 
  5048.  
  5049.  Decimal 
  5050.            Displays the contents of the monitored variable in decimal notation. 
  5051.  
  5052.  String 
  5053.            Displays the contents of the monitored variable as a character 
  5054.            string. 
  5055.  
  5056.  Hexadecimal pointer 
  5057.            Displays the contents of the monitored variable as a hexadecimal 
  5058.            pointer. 
  5059.  
  5060.  Decimal pointer 
  5061.            Displays the contents of the monitored variable as a decimal 
  5062.            pointer. 
  5063.  
  5064.  Array 
  5065.            Displays the contents of the monitored variable as an array. 
  5066.  
  5067.  Floating point 
  5068.            Displays the contents of the monitored variable in floating-point 
  5069.            notation. 
  5070.  
  5071.  Character 
  5072.            Displays the contents of the monitored variable in character form. 
  5073.  
  5074.  Note:  Floating point registers or variables display as either a 
  5075.  floating-point decimal number or as a hexadecimal string. However, they cannot 
  5076.  be updated with a hexadecimal string that represents a floating-point number. 
  5077.  If you need to update a floating-point variable with a hexadecimal 
  5078.  representation of a floating-point number, you must step through the 
  5079.  Disassembly window to see when the variable loads into a register and then 
  5080.  change the value in the Registers window. 
  5081.  
  5082.  
  5083. ΓòÉΓòÉΓòÉ 10.2.9. Representations ΓòÉΓòÉΓòÉ
  5084.  
  5085. Select the Hexadecimal choice to display the contents of a variable that is 
  5086. being monitored in hexadecimal notation. 
  5087.  
  5088. Select the Decimal choice to display the contents of a variable that is being 
  5089. monitored in decimal notation. 
  5090.  
  5091. Select the String choice to display the contents of a monitored variable as a 
  5092. character string. 
  5093.  
  5094. Select the Hexadecimal pointer choice to display the contents of a monitored 
  5095. variable as a hexadecimal pointer. 
  5096.  
  5097. Select the Decimal pointer choice to display the contents of a monitored 
  5098. variable as a decimal pointer. 
  5099.  
  5100. Select the Array choice to display the contents of a monitored variable as an 
  5101. array. 
  5102.  
  5103. Select the Floating point choice to display the contents of a monitored 
  5104. variable in floating-point notation. 
  5105.  
  5106. Select the Character choice to display the contents of a monitored variable in 
  5107. the form of a character. 
  5108.  
  5109.  
  5110. ΓòÉΓòÉΓòÉ 10.2.10. Copy to Clipboard Choice ΓòÉΓòÉΓòÉ
  5111.  
  5112. Select the Copy to clipboard choice to copy data to the clipboard. 
  5113.  
  5114.  
  5115. ΓòÉΓòÉΓòÉ 10.2.11. Save to File Choice ΓòÉΓòÉΓòÉ
  5116.  
  5117. Select the Save to file choice to save the Private Monitor window contents in a 
  5118. file.  You can choose the file name by selecting Options -> Debugger settings 
  5119. -> Monitor properties from the Debug Session Control window or any of the 
  5120. source windows and filling in the Save File entry field. You can also choose 
  5121. Options -> Monitor properties from the Monitor Properties window. 
  5122.  
  5123.  
  5124. ΓòÉΓòÉΓòÉ 10.3. Options Menu ΓòÉΓòÉΓòÉ
  5125.  
  5126. Select choices from the Options menu to control how the contents of variables 
  5127. display and to set the debugger options. 
  5128.  
  5129.  Menu Summary 
  5130.  
  5131.  Fonts 
  5132.            Select the font for the text in the Local Variables window. 
  5133.  
  5134.  Restore defaults 
  5135.            Reset all of the window settings to their original settings. 
  5136.  
  5137.  Show enablement 
  5138.            Show the enablement status of variables and expressions on the 
  5139.            Private Monitor window. 
  5140.  
  5141.  Show context 
  5142.            Display the contextual information for all selected expressions. 
  5143.  
  5144.  Monitor properties 
  5145.            Select the settings for the variable monitor windows. 
  5146.  
  5147.  Tool buttons 
  5148.            Enable or disable buttons from being displayed in the tool bar. 
  5149.  
  5150.  Hover help 
  5151.            Enable or disable the hover help from being displayed in the window. 
  5152.  
  5153.  Infoarea 
  5154.            Enable or disable the information area from being displayed in the 
  5155.            window. 
  5156.  
  5157.  
  5158. ΓòÉΓòÉΓòÉ 10.3.1. Fonts Choice ΓòÉΓòÉΓòÉ
  5159.  
  5160. Select the Fonts choice to set the font you want to use for the text that 
  5161. displays in the active window. 
  5162.  
  5163.  
  5164. ΓòÉΓòÉΓòÉ 10.3.2. Restore Defaults Choice ΓòÉΓòÉΓòÉ
  5165.  
  5166. Reset all of the Private Monitor window settings to their original settings. 
  5167. This includes the font, the color, the style settings, and the presentation of 
  5168. tool buttons. 
  5169.  
  5170.  
  5171. ΓòÉΓòÉΓòÉ 10.3.3. Show Enablement Choice ΓòÉΓòÉΓòÉ
  5172.  
  5173. Select the Show enablement choice to show enablement of a monitored expression 
  5174. in the active window. 
  5175.  
  5176.  
  5177. ΓòÉΓòÉΓòÉ 10.3.4. Show Context Choice ΓòÉΓòÉΓòÉ
  5178.  
  5179. Select the Show context choice to display the contextual information for the 
  5180. variable you are monitoring. The following information displays: 
  5181.  
  5182.      Source 
  5183.  
  5184.      File 
  5185.  
  5186.      Line 
  5187.  
  5188.      Thread. 
  5189.  
  5190.  
  5191. ΓòÉΓòÉΓòÉ 10.3.5. Monitor Properties ΓòÉΓòÉΓòÉ
  5192.  
  5193. Select the Monitor properties choice to select the settings for monitoring 
  5194. variables or expressions. 
  5195.  
  5196.  
  5197. ΓòÉΓòÉΓòÉ 10.3.6. Tool Buttons Choice ΓòÉΓòÉΓòÉ
  5198.  
  5199. You can select to display the buttons in the tool bar of the window. 
  5200.  
  5201. If this choice is enabled, a check mark symbol displays beside the Tool buttons 
  5202. choice and buttons display. 
  5203.  
  5204.  
  5205. ΓòÉΓòÉΓòÉ 10.3.7. Hover Help Choice ΓòÉΓòÉΓòÉ
  5206.  
  5207. Select the Hover help choice if you want the hover help to be shown in the 
  5208. window. 
  5209.  
  5210. The hover help provides the name of the tool button. 
  5211.  
  5212.  
  5213. ΓòÉΓòÉΓòÉ 10.3.8. Infoarea Choice ΓòÉΓòÉΓòÉ
  5214.  
  5215. Select the Infoarea choice if you want the information area to be shown in the 
  5216. window. 
  5217.  
  5218. The information area, which is located at the bottom of the window, provides a 
  5219. brief description of each menu item. 
  5220.  
  5221.  
  5222. ΓòÉΓòÉΓòÉ 10.4. Windows Menu ΓòÉΓòÉΓòÉ
  5223.  
  5224. Select the Windows menu to display a list of all the open debugger windows. 
  5225.  
  5226. Menu Summary 
  5227.  
  5228.  Local variables 
  5229.            Display the local variables for the current line of the program. 
  5230.  
  5231.  Registers 
  5232.            Monitor registers and flags for a particular thread. 
  5233.  
  5234.  Call Stack 
  5235.            Monitor the call stack for a particular thread. 
  5236.  
  5237.  Private monitor 
  5238.            Display the Private Monitor window. Collect variables or expressions 
  5239.            that you want to monitor. 
  5240.  
  5241.  Program monitor 
  5242.            Display the Program Monitor window. 
  5243.  
  5244.  Storage 
  5245.            Monitor the storage that a program uses. 
  5246.  
  5247.  Breakpoints 
  5248.            Lists the set breakpoints. 
  5249.  
  5250.  Debug session control 
  5251.            Display the Debug Session Control window. 
  5252.  
  5253.  
  5254. ΓòÉΓòÉΓòÉ 10.5. Help Menu ΓòÉΓòÉΓòÉ
  5255.  
  5256. Select choices from the Help menu to complement the online help information 
  5257. that you can get for the debugger when you press F1 or select the Help push 
  5258. button. 
  5259.  
  5260. Menu Summary 
  5261.  
  5262.  Help index 
  5263.            An alphabetical index of all available debugger help topics. 
  5264.  
  5265.  General help 
  5266.            Help information for the active window. 
  5267.  
  5268.  Using help 
  5269.            How to use the debugger help facility. 
  5270.  
  5271.  Product information 
  5272.            Display product information. 
  5273.  
  5274.  
  5275. ΓòÉΓòÉΓòÉ 10.5.1. Help Index Choice ΓòÉΓòÉΓòÉ
  5276.  
  5277. Select the Help index choice to display an alphabetical list of index topics 
  5278. for the debugger. Use the Find choice provided with the online help facility to 
  5279. locate topics in the index. 
  5280.  
  5281.  
  5282. ΓòÉΓòÉΓòÉ 10.5.2. General Help Choice ΓòÉΓòÉΓòÉ
  5283.  
  5284. Select the General help choice to display online help for the active debugger 
  5285. window. The online help panel displayed is the same panel that displays when 
  5286. you place your cursor inside the window and press F1. 
  5287.  
  5288.  
  5289. ΓòÉΓòÉΓòÉ 10.5.3. Using Help Choice ΓòÉΓòÉΓòÉ
  5290.  
  5291. Select the Using help choice to display online help information about the OS/2 
  5292. help facility. 
  5293.  
  5294.  
  5295. ΓòÉΓòÉΓòÉ 10.5.4. Product Information Choice ΓòÉΓòÉΓòÉ
  5296.  
  5297. Select the Product information choice to display the product information. 
  5298.  
  5299.  
  5300. ΓòÉΓòÉΓòÉ <hidden> Using the Variable Monitors ΓòÉΓòÉΓòÉ
  5301.  
  5302. After you have selected a variable or expression for monitoring, you can: 
  5303.  
  5304.      Use the data manipulation icons 
  5305.  
  5306.      Use the keyboard to move around a monitor 
  5307.  
  5308.      Enable or disable monitors 
  5309.  
  5310.      Display context 
  5311.  
  5312.      Change the value of a variable 
  5313.  
  5314.      Change the representation of a variable or expression. 
  5315.  
  5316.  
  5317. ΓòÉΓòÉΓòÉ <hidden> Keyboard Sequences ΓòÉΓòÉΓòÉ
  5318.  
  5319. You can use various combinations of keys to move around the monitor windows. 
  5320. The key combinations you can use and the functions they provide are: 
  5321.  
  5322.  Action    Key Sequence 
  5323.  
  5324.  Alt+     Move to the next monitor. 
  5325.  
  5326.  Alt+     Move to the previous monitor. 
  5327.  
  5328.  Tab       Move to the next monitor component. (The cursor moves in a circular 
  5329.            fashion from component to component. The monitor, itself, is 
  5330.            included in the circular path.) 
  5331.  
  5332.  BackTab   Move to the previous monitor component. 
  5333.  
  5334.  Alt+     Dereference a highlighted pointer. 
  5335.  
  5336.  Enter     Open or close data structures (structures or arrays). 
  5337.  
  5338.  Alt+PageUp, Alt+PageDown Scroll through the monitor. 
  5339.  
  5340.  
  5341. ΓòÉΓòÉΓòÉ <hidden> Enabling and Disabling Monitors ΓòÉΓòÉΓòÉ
  5342.  
  5343. You can enable and disable monitors. When enabled, the monitor updates the stop 
  5344. value of the program to actual value in storage. However, a disabled monitor 
  5345. suspends this updating and reflects the stop value or the value held when the 
  5346. monitor was disabled. 
  5347.  
  5348. You cannot change the value of a disabled monitor. When you enable a disabled 
  5349. monitor, the current value displays. 
  5350.  
  5351.  
  5352. ΓòÉΓòÉΓòÉ <hidden> Displaying Context ΓòÉΓòÉΓòÉ
  5353.  
  5354. Monitors display the data value in their context. The context consists of: 
  5355.  
  5356.      Source 
  5357.  
  5358.      File 
  5359.  
  5360.      Line 
  5361.  
  5362.      Thread. 
  5363.  
  5364.  
  5365. ΓòÉΓòÉΓòÉ <hidden> Changing the Value of a Variable ΓòÉΓòÉΓòÉ
  5366.  
  5367. You can change the value of a variable or expression that displays in a 
  5368. monitor. To change the value, do the following: 
  5369.  
  5370.    1. Select the variable or expression with your mouse or the Tab key. 
  5371.  
  5372.    2. Type in the new value. 
  5373.  
  5374.    3. Press Enter (or select another part of the debugger). 
  5375.  
  5376.  
  5377. ΓòÉΓòÉΓòÉ <hidden> Changing the Representation ΓòÉΓòÉΓòÉ
  5378.  
  5379. To change the representation, do the following: 
  5380.  
  5381.    1. Select the expression. 
  5382.  
  5383.    2. Select an alternate representation from the Options  Default data 
  5384.       representation choice. The new representation takes effect immediately. 
  5385.  
  5386.  You change the representation of the value displayed in a monitor to: 
  5387.  
  5388.      Hexadecimal 
  5389.  
  5390.      Decimal 
  5391.  
  5392.      String 
  5393.  
  5394.      Character 
  5395.  
  5396.      Floating-point 
  5397.  
  5398.      Hexadecimal pointer 
  5399.  
  5400.      Decimal pointer 
  5401.  
  5402.      Array. 
  5403.  
  5404.  Note:  The representation you can select varies with the data type being 
  5405.  displayed. 
  5406.  
  5407.  
  5408. ΓòÉΓòÉΓòÉ <hidden> Supported Expression Operands ΓòÉΓòÉΓòÉ
  5409.  
  5410. You can monitor an expression that uses the following types of operands only: 
  5411.  
  5412.  Operand 
  5413.            Definition 
  5414.  
  5415.  Variable 
  5416.            A variable used in your program. 
  5417.  
  5418.  Constant 
  5419.            The constant can be one of the following types: 
  5420.  
  5421.                Fixed or floating-point constant. 
  5422.  
  5423.                 Note:  The largest floating-point constant is 1.8E308. The 
  5424.                 smallest floating-point is 2.23E-308. 
  5425.  
  5426.                A string constant, enclosed in quotation marks (" ") 
  5427.  
  5428.                A character constant, enclosed in single quote marks (' ') 
  5429.  
  5430.                Segment:Offset address specification (0000:0000) 
  5431.  
  5432.                 When you are specifying a segment offset address for monitoring 
  5433.                 in a variable monitor window, specify the offset address in the 
  5434.                 following format: 
  5435.  
  5436.                                      0x0000:0
  5437.  
  5438.  Register 
  5439.            One of the following register names: 
  5440.            AX, BX, CX, DX, SP, BP, SI, DI, AL, BL, CL, DL, AH, BH, CH, DH, EAX, 
  5441.            EBX, ECX, EDX, ESP, EBP, ESI, EDI, EIP, CS, DS, ES, FS, GS, SS, 
  5442.            EFLAGS. 
  5443.            One of the following floating-point register names: 
  5444.            ST0 through ST7, FPCW, FPSW, FPTW, FPEIP, FPCS, FPEDP, FPDS. 
  5445.  
  5446.            In the case of conflicting names, the program variable names take 
  5447.            precedence over the register names. For conversions that are done 
  5448.            automatically when the registers display in mixed-mode expressions, 
  5449.            general purpose registers are treated as unsigned arithmetic items 
  5450.            with a length appropriate to the register. For example, EAX is 
  5451.            32-bits, AX is 16-bits, and AL is 8-bits. 
  5452.  
  5453.  If you monitor an enumerated variable, a comment displays to the right of the 
  5454.  value.  If the value of the variable matches one of the enumerated types, the 
  5455.  comment contains the name of the first enumerated type that matches the value 
  5456.  of the variable. If the length of the enumerated name does not fit in the 
  5457.  monitor, the contents display as an empty entry field. 
  5458.  
  5459.  The comment (empty or not) lets you distinguish between a valid enumerated 
  5460.  value and an invalid value. An invalid value does not have a comment to the 
  5461.  right of the value. 
  5462.  
  5463.  You can not update an enumerated variable by entering an enumerated type. You 
  5464.  must enter a value or expression. If the value is a valid enumerated value, 
  5465.  the comment to the right of the value updates. 
  5466.  
  5467.  Bit fields are supported for C/C++ compiled code only. You can display and 
  5468.  update bit fields, but you cannot use them in expressions. You cannot look at 
  5469.  variables that have been defined using the define preprocessor directive. 
  5470.  
  5471.  
  5472. ΓòÉΓòÉΓòÉ <hidden> Supported Expression Operators ΓòÉΓòÉΓòÉ
  5473.  
  5474. You can monitor an expression that uses the following operators only: 
  5475.  
  5476.  Operator  Coded as 
  5477.  
  5478.  Global scope resolution 
  5479.            ::a 
  5480.  
  5481.  Class scope resolution 
  5482.            a::b 
  5483.  
  5484.  Subscripting 
  5485.            a[b] 
  5486.  
  5487.  Member selection 
  5488.            a.b or a->b 
  5489.  
  5490.  Size 
  5491.            sizeof a or sizeof (type) 
  5492.  
  5493.  Logical not 
  5494.            !a 
  5495.  
  5496.  Ones complement 
  5497.            ~a 
  5498.  
  5499.  Unary minus 
  5500.            -a 
  5501.  
  5502.  Unary plus 
  5503.            +a 
  5504.  
  5505.  Dereference 
  5506.            *a 
  5507.  
  5508.  Type cast 
  5509.            (type) a 
  5510.  
  5511.  Multiply 
  5512.            a * b 
  5513.  
  5514.  Divide 
  5515.            a / b 
  5516.  
  5517.  Modulo 
  5518.            a % b 
  5519.  
  5520.  Add 
  5521.            a + b 
  5522.  
  5523.  Subtract 
  5524.            a - b 
  5525.  
  5526.  Left shift 
  5527.            a << b 
  5528.  
  5529.  Right shift 
  5530.            a >> b 
  5531.  
  5532.  Less than 
  5533.            a < b 
  5534.  
  5535.  Greater than 
  5536.            a > b 
  5537.  
  5538.  Less than or equal to 
  5539.            a <= b 
  5540.  
  5541.  Greater than or equal to 
  5542.            a >= b 
  5543.  
  5544.  Equal 
  5545.            a == b 
  5546.  
  5547.  Not equal 
  5548.            a != b 
  5549.  
  5550.  Bitwise AND 
  5551.            a & b 
  5552.  
  5553.  Bitwise OR 
  5554.            a ╤â b 
  5555.  
  5556.  Bitwise exclusive OR 
  5557.            a ^ b 
  5558.  
  5559.  Logical AND 
  5560.            a && b 
  5561.  
  5562.  Logical OR 
  5563.            a ╤â╤â b 
  5564.  
  5565.  
  5566. ΓòÉΓòÉΓòÉ <hidden> Supported Data Types ΓòÉΓòÉΓòÉ
  5567.  
  5568. You can monitor an expression that uses the following typecasting operations 
  5569. only: 
  5570.  
  5571.      8-bit signed byte 
  5572.  
  5573.      8-bit unsigned byte 
  5574.  
  5575.      16-bit signed integer 
  5576.  
  5577.      16-bit unsigned integer 
  5578.  
  5579.      32-bit signed integer 
  5580.  
  5581.      32-bit unsigned integer 
  5582.  
  5583.      32-bit floating-point 
  5584.  
  5585.      64-bit floating-point 
  5586.  
  5587.      80-bit floating-point 
  5588.  
  5589.      Pointers 
  5590.  
  5591.      User-defined types. 
  5592.  
  5593.  These data types include int, short, char and so on. 
  5594.  
  5595.  
  5596. ΓòÉΓòÉΓòÉ <hidden> Using the Data Manipulation Icons ΓòÉΓòÉΓòÉ
  5597.  
  5598. You can select any of the following icons from any monitor window, such as 
  5599. Program Monitor, Private Monitor, Popup Expression or Local Variables, to 
  5600. manipulate the data parts of variables: 
  5601.  
  5602.  +         Expands the contracted parts of an array, structure, or class. 
  5603.  
  5604.  -         Contracts the parts of an expanded array, structure or class. 
  5605.  
  5606.  >         Displays the object referenced by a pointer in a new monitor. 
  5607.  
  5608.  The four windows to monitor variables and expressions are: 
  5609.  
  5610.      Program Monitor 
  5611.  
  5612.      Private Monitor 
  5613.  
  5614.      Popup Expression 
  5615.  
  5616.      Local Variables. 
  5617.  
  5618.  
  5619. ΓòÉΓòÉΓòÉ 11. Storage Window ΓòÉΓòÉΓòÉ
  5620.  
  5621. Use the Storage window to view and update the contents of the storage used by 
  5622. your program. The following storage data displays in the Storage window: 
  5623.  
  5624.      Fields for the displayed addresses. You may select one of the following 
  5625.       storage models for the addresses that display: 
  5626.  
  5627.         -  16:16 (segmented) storage addresses 
  5628.  
  5629.         -  Flat storage model addresses 
  5630.  
  5631.         -  Both 16:16 and flat storage model addresses. 
  5632.  
  5633.      Fields for the data storage contents. Storage can be displayed in various 
  5634.       styles. However, you can display only one storage style at a time. 
  5635.  
  5636.      Titles for the displayed addresses and storage content fields. 
  5637.  
  5638.  You can open multiple storage windows to view different storage locations at 
  5639.  once.  When the state of your program changes, the contents of the Storage 
  5640.  window updates to reflect the change. 
  5641.  
  5642.  To scroll through memory, use one of the following methods: 
  5643.  
  5644.      Scroll bars 
  5645.  
  5646.      Up and Down arrow keys 
  5647.  
  5648.      PageUp and PageDown keys. 
  5649.  
  5650.  The address of the cursor displays in the tool bar of the Storage window. 
  5651.  
  5652.  You can update the contents of storage or view the contents of storage at a 
  5653.  new address location. 
  5654.  
  5655.  Storage Popup Menu 
  5656.  
  5657.  The Storage Popup Menu contains options that you can perform on the variables 
  5658.  or expressions in the Storage window. The popup menu is shown when you click 
  5659.  mouse button 2 with the mouse pointer on a variable or expression in the 
  5660.  monitor, unless the Step with mouse button 2 check box on the Debugger 
  5661.  Properties window is enabled. (If the check box is enabled, clicking mouse 
  5662.  button 2 performs a step over command.) 
  5663.  
  5664.  Menu Summary 
  5665.  
  5666.  Edit 
  5667.    Edit the storage contents 
  5668.  
  5669.  Edit 
  5670.    Edit the storage contents. 
  5671.  
  5672.  Change Address 
  5673.    Change the address. 
  5674.  
  5675.  Menu Bar Summary 
  5676.  
  5677.  File 
  5678.            End your debugging session. 
  5679.  
  5680.  Options 
  5681.            Set options that control how the storage content and addresses 
  5682.            display. 
  5683.  
  5684.  Windows 
  5685.            Displays the active debugger windows. 
  5686.  
  5687.  Help 
  5688.            Displays online help that compliments the information you get when 
  5689.            you press F1 or select a Help push button. 
  5690.  
  5691.  Double-click on one of the following topics to find out how to update the 
  5692.  contents of storage or specify a new address location: 
  5693.  
  5694.  Related Information 
  5695.  
  5696.      Updating Storage 
  5697.      Specifying an Address Location 
  5698.      Expression Language Guidelines 
  5699.  
  5700.  
  5701. ΓòÉΓòÉΓòÉ 11.1. File Menu ΓòÉΓòÉΓòÉ
  5702.  
  5703. Select choice from the File menu to end your debugging session. 
  5704.  
  5705. Menu Summary 
  5706.  
  5707.  Save to file 
  5708.            Saves the Storage windows contents in an output file. 
  5709.  
  5710.  Close debugger 
  5711.            End your debugging session. 
  5712.  
  5713.  
  5714. ΓòÉΓòÉΓòÉ 11.1.1. Save to File Choice ΓòÉΓòÉΓòÉ
  5715.  
  5716. Select the Save to file choice to save the Storage window contents to an output 
  5717. file. 
  5718.  
  5719. When you select the Save to file choice, the contents of the Storage window are 
  5720. saved to the output file specified from the Options  Display Style window for 
  5721. the Storage window. 
  5722.  
  5723.  
  5724. ΓòÉΓòÉΓòÉ 11.1.2. Close Debugger Choice ΓòÉΓòÉΓòÉ
  5725.  
  5726. Select the Close debugger choice to close the current debugging session. 
  5727.  
  5728. When you select the Close debugger choice, a message box prompts you to confirm 
  5729. that you want to end the debugging session. 
  5730.  
  5731.  
  5732. ΓòÉΓòÉΓòÉ 11.1.3. Edit ΓòÉΓòÉΓòÉ
  5733.  
  5734. Select Edit to edit a line in the storage window, delete a line in the storage 
  5735. window, or delete all lines in the storage window. 
  5736.  
  5737.  
  5738. ΓòÉΓòÉΓòÉ 11.1.4. Edit ΓòÉΓòÉΓòÉ
  5739.  
  5740. Select Edit to edit a line in the storage window, delete a line in the storage 
  5741. window, or delete all lines in the storage window. 
  5742.  
  5743.  
  5744. ΓòÉΓòÉΓòÉ 11.1.5. Change Address ΓòÉΓòÉΓòÉ
  5745.  
  5746. Select Change Address to change the address of a line or all lines in the 
  5747. storage window. 
  5748.  
  5749.  
  5750. ΓòÉΓòÉΓòÉ 11.2. Options Menu ΓòÉΓòÉΓòÉ
  5751.  
  5752. Select choices from the Options menu to control how the storage contents and 
  5753. addresses display, control the display of the storage window control 
  5754. attributes, and end your debugging session. 
  5755.  
  5756. Menu Summary 
  5757.  
  5758.  Fonts 
  5759.            Select the font for the text in the Storage window. 
  5760.  
  5761.  Display style 
  5762.            Change the storage display format. 
  5763.  
  5764.  Fill Storage 
  5765.            Fill memory with a specific character or hexadecimal pattern. 
  5766.  
  5767.  Monitor expression 
  5768.            Type the name of the variable or expression you want to monitor. 
  5769.  
  5770.  Restore defaults 
  5771.            Reset all of the window settings to their original settings. 
  5772.  
  5773.  Tool buttons 
  5774.            Enable or disable buttons from being displayed in the tool bar. 
  5775.  
  5776.  Hover help 
  5777.            Enable or disable the hover help from being displayed in the window. 
  5778.  
  5779.  Infoarea 
  5780.            Enable or disable the information area from being displayed in the 
  5781.            window. 
  5782.  
  5783.  
  5784. ΓòÉΓòÉΓòÉ 11.2.1. Fonts Choice ΓòÉΓòÉΓòÉ
  5785.  
  5786. Select the Fonts choice to set the font you want to use for the text that 
  5787. displays in the active window. 
  5788.  
  5789.  
  5790. ΓòÉΓòÉΓòÉ 11.2.2. Display Style Choice ΓòÉΓòÉΓòÉ
  5791.  
  5792. Select the Display style choice to display the format for the storage contents 
  5793. and storage addresses, and change the columns per line that display. You can 
  5794. select from several storage display styles. 
  5795.  
  5796. When you select Display style, the Display Style window displays. 
  5797.  
  5798.  
  5799. ΓòÉΓòÉΓòÉ 11.2.2.1. Display Style Window ΓòÉΓòÉΓòÉ
  5800.  
  5801. Use the Display Style window to select the parameters that control how the 
  5802. storage contents display and set how the storage addresses display. 
  5803.  
  5804. Content Style 
  5805.  
  5806. Select how you want the storage contents displayed. You can select from several 
  5807. storage display styles. 
  5808.  
  5809. To select the storage content style: 
  5810.  
  5811.    1. Scroll to the content style you want. 
  5812.  
  5813.    2. Select the content style. 
  5814.  
  5815.    3. The style becomes highlighted. 
  5816.  
  5817.  Address Style 
  5818.  
  5819.  Select how you want the address style displayed. 
  5820.  
  5821.  To select an address style: 
  5822.  
  5823.    1. Scroll to the address style you want. 
  5824.  
  5825.    2. Select the address style. 
  5826.  
  5827.    3. The address style becomes highlighted. 
  5828.  
  5829.  Columns per line 
  5830.  
  5831.  Select the number of columns per line you want displayed in the Storage 
  5832.  window. 
  5833.  
  5834.  Use the Up or Down arrow keys to select the number of columns you want 
  5835.  displayed in the Storage window. The available number of columns per line are 
  5836.  1-16. 
  5837.  
  5838.  Column titles 
  5839.  
  5840.  Select this check box to display the titles of the columns in the Storage 
  5841.  window. 
  5842.  
  5843.  Save file Entry Field 
  5844.  
  5845.  This field specifies the name of the output file that is used to save the 
  5846.  Storage window contents when the File menu choice Save to file is selected. 
  5847.  
  5848.  
  5849. ΓòÉΓòÉΓòÉ 11.2.3. Fill Storage Choice ΓòÉΓòÉΓòÉ
  5850.  
  5851. Use the Fill Storage window to fill memory with a specific character or 
  5852. hexadecimal pattern. 
  5853.  
  5854. When you select Fill storage, the Fill Storage window displays. 
  5855.  
  5856.  
  5857. ΓòÉΓòÉΓòÉ 11.2.3.1. Fill Storage Window ΓòÉΓòÉΓòÉ
  5858.  
  5859. Use the Fill Storage window to fill memory with a specific character or 
  5860. hexadecimal pattern. 
  5861.  
  5862.      Type the starting address. 
  5863.  
  5864.      Type the ending address or the length of the area to fill. 
  5865.  
  5866.      Select either Character or Hexadecimal as the string type. 
  5867.  
  5868.      Type the fill string in the Repeated string, Character or Byte(s) field. 
  5869.       This string repeats as necessary and truncates. 
  5870.  
  5871.  
  5872. ΓòÉΓòÉΓòÉ 11.2.4. Monitor Expression Choice ΓòÉΓòÉΓòÉ
  5873.  
  5874. Select the Monitor expression choice to type in the expression or variable that 
  5875. you want to monitor. 
  5876.  
  5877. When you select Monitor expression, the Monitor Expression In Storage window 
  5878. displays. 
  5879.  
  5880.  
  5881. ΓòÉΓòÉΓòÉ 11.2.4.1. Monitor Expression In Storage Window ΓòÉΓòÉΓòÉ
  5882.  
  5883. Use the Monitor Expression In Storage window to type in the expression you want 
  5884. to monitor. 
  5885.  
  5886. To specify an expression: 
  5887.  
  5888.    1. Type the name of the variable or expression you want to monitor in the 
  5889.       Expression entry field. 
  5890.  
  5891.  You must select an expression with: 
  5892.  
  5893.      A valid operand type 
  5894.  
  5895.      A valid operator 
  5896.  
  5897.      A valid typecasting operation 
  5898.  
  5899.  The expression evaluator used is based on the context.  For example if you 
  5900.  display the Storage window by selecting the Monitor expression choice from the 
  5901.  Variable menu, the evaluator used is based on the context in the Monitor 
  5902.  Expression window.  However, if you display the Storage window first and then 
  5903.  select the Monitor expression choice from the Options menu of the Storage 
  5904.  window, the evaluator used is based on the context of the stopping thread. 
  5905.  
  5906.  Note:  You cannot look at variables that have been defined using the define 
  5907.  preprocessor directive. If the variable is not in scope when the monitor is 
  5908.  opened, the default address is displayed.  If the variable goes out of scope, 
  5909.  the address is changed to a hex constant. 
  5910.  
  5911.  If you enable the Enabled monitor check box, the monitor updates the stop 
  5912.  value of the program to the actual value in storage. However, a disabled 
  5913.  monitor suspends this updating and reflects the stop value or the value held 
  5914.  when the monitor was disabled. 
  5915.  
  5916.  Related Information 
  5917.  
  5918.      Expression Language Guidelines. 
  5919.  
  5920.  
  5921. ΓòÉΓòÉΓòÉ 11.2.5. Restore Defaults Choice ΓòÉΓòÉΓòÉ
  5922.  
  5923. Reset all of the Storage window settings to their original settings. This 
  5924. includes the font, the color, the style settings, and the presentation of tool 
  5925. buttons. 
  5926.  
  5927.  
  5928. ΓòÉΓòÉΓòÉ 11.2.6. Tool Buttons Choice ΓòÉΓòÉΓòÉ
  5929.  
  5930. You can select to display the buttons in the tool bar of the window. 
  5931.  
  5932. If this choice is enabled, a check mark symbol displays beside the Tool buttons 
  5933. choice and buttons display. 
  5934.  
  5935.  
  5936. ΓòÉΓòÉΓòÉ 11.2.7. Hover Help Choice ΓòÉΓòÉΓòÉ
  5937.  
  5938. Select the Hover help choice if you want the hover help to be shown in all the 
  5939. debugger windows. 
  5940.  
  5941. The hover help shows the names of the tool buttons. 
  5942.  
  5943.  
  5944. ΓòÉΓòÉΓòÉ 11.2.8. Infoarea Choice ΓòÉΓòÉΓòÉ
  5945.  
  5946. Select the Infoarea choice if you want the information area to be shown in all 
  5947. the debugger windows. 
  5948.  
  5949. The information area, which is located at the bottom of the window, provides a 
  5950. brief description of each menu item. 
  5951.  
  5952.  
  5953. ΓòÉΓòÉΓòÉ 11.3. Windows Menu ΓòÉΓòÉΓòÉ
  5954.  
  5955. Select the Windows menu to display a list of all the open debugger windows. 
  5956.  
  5957. Menu Summary 
  5958.  
  5959.  Local variables 
  5960.            Display the local variables for the current line of the program. 
  5961.  
  5962.  Registers 
  5963.            Monitor registers and flags for a particular thread. 
  5964.  
  5965.  Call Stack 
  5966.            Monitor the call stack for a particular thread. 
  5967.  
  5968.  Private monitor 
  5969.            Display the Private Monitor window. Collect variables or expressions 
  5970.            that you want to monitor. 
  5971.  
  5972.  Program monitor 
  5973.            Display the Program Monitor window. 
  5974.  
  5975.  Storage 
  5976.            Monitor the storage that a program uses. 
  5977.  
  5978.  Breakpoints 
  5979.            Lists the set breakpoints. 
  5980.  
  5981.  Debug session control 
  5982.            Display the Debug Session Control window. 
  5983.  
  5984.  
  5985. ΓòÉΓòÉΓòÉ 11.4. Help Menu ΓòÉΓòÉΓòÉ
  5986.  
  5987. Select choices from the Help menu to complement the online help information 
  5988. that you can get for the debugger when you press F1 or select the Help push 
  5989. button. 
  5990.  
  5991. Menu Summary 
  5992.  
  5993.  Help index 
  5994.            An alphabetical index of all available debugger help topics. 
  5995.  
  5996.  General help 
  5997.            Help information for the active window. 
  5998.  
  5999.  Using help 
  6000.            How to use the debugger help facility. 
  6001.  
  6002.  Product information 
  6003.            Display product information. 
  6004.  
  6005.  
  6006. ΓòÉΓòÉΓòÉ 11.4.1. Help Index Choice ΓòÉΓòÉΓòÉ
  6007.  
  6008. Select the Help index choice to display an alphabetical list of index topics 
  6009. for the debugger. Use the Find choice provided with the online help facility to 
  6010. locate topics in the index. 
  6011.  
  6012.  
  6013. ΓòÉΓòÉΓòÉ 11.4.2. General Help Choice ΓòÉΓòÉΓòÉ
  6014.  
  6015. Select the General help choice to display online help for the active debugger 
  6016. window. The online help panel displayed is the same panel that displays when 
  6017. you place your cursor inside the window and press F1. 
  6018.  
  6019.  
  6020. ΓòÉΓòÉΓòÉ 11.4.3. Using Help Choice ΓòÉΓòÉΓòÉ
  6021.  
  6022. Select the Using help choice to display online help information about the OS/2 
  6023. help facility. 
  6024.  
  6025.  
  6026. ΓòÉΓòÉΓòÉ <hidden> Storage Display Styles ΓòÉΓòÉΓòÉ
  6027.  
  6028. You can display storage content in the following value styles: 
  6029.  
  6030.      Hexadecimal and character text 
  6031.  
  6032.      Character text 
  6033.  
  6034.      16-bit integer 
  6035.  
  6036.      16-bit unsigned integer 
  6037.  
  6038.      16-bit integer in hexadecimal (byte reversed) 
  6039.  
  6040.      32-bit integer 
  6041.  
  6042.      32-bit unsigned integer 
  6043.  
  6044.      32-bit integer in hexadecimal (byte reversed) 
  6045.  
  6046.      32-bit floating-point 
  6047.  
  6048.      64-bit floating-point 
  6049.  
  6050.      80-bit floating-point 
  6051.  
  6052.      16-bit near pointers 
  6053.  
  6054.      16:16-bit far pointers 
  6055.  
  6056.      32-bit flat pointers. 
  6057.  
  6058.  You can display storage in the following address styles: 
  6059.  
  6060.      Flat and 16:16 
  6061.  
  6062.      Flat only 
  6063.  
  6064.      16:16 only. 
  6065.  
  6066.  You can also change the number of columns per line that display. This number 
  6067.  varies depending on the content style you have selected. 
  6068.  
  6069.  
  6070. ΓòÉΓòÉΓòÉ <hidden> Updating Storage ΓòÉΓòÉΓòÉ
  6071.  
  6072. To update the contents of storage in the Storage window, use one of the 
  6073. following methods: 
  6074.  
  6075.      Highlight the appropriate line and press Enter.  An entry field displays, 
  6076.       Type the new storage information in the entry field. 
  6077.  
  6078.      Double-click on the appropriate column.  An entry field displays. Type in 
  6079.       the new storage information. 
  6080.  
  6081.  To move around in the Storage window, press the Tab key to move the selected 
  6082.  column to the right or press Shift+Tab to move the selected column to the 
  6083.  left. The up and down arrow keys move the highlighted line up and down. 
  6084.  
  6085.  After you have made a change in the Storage window, click anywhere in the 
  6086.  window and it saves your changes.  If you enter an incorrect storage address, 
  6087.  a prompt box displays and the previous storage address is returned in the 
  6088.  column. 
  6089.  
  6090.  
  6091. ΓòÉΓòÉΓòÉ <hidden> Specifying an Address Location ΓòÉΓòÉΓòÉ
  6092.  
  6093. To view the storage at a different address, double-click on the address which 
  6094. causes a Multiple Line Entry (MLE) field to display. Type the new address in 
  6095. the MLE field. You can choose to update either the Flat address field or the 
  6096. 16:16 (segmented) address field. The Storage window scrolls to the appropriate 
  6097. address. 
  6098.  
  6099.  
  6100. ΓòÉΓòÉΓòÉ 12. Breakpoints List Window ΓòÉΓòÉΓòÉ
  6101.  
  6102. Use the Breakpoints List window to display a list of the breakpoints that have 
  6103. been set. The following information is provided for each breakpoint. 
  6104.  
  6105.      The enablement state 
  6106.      The type of breakpoint 
  6107.      The position of the breakpoint 
  6108.      The conditions under which the breakpoint is activated. 
  6109.  
  6110.  Tool buttons are provide for easy access to frequently used features. 
  6111.  Double-click on any of the following for a description of that button. 
  6112.  
  6113.  Breakpoints list popup menu 
  6114.  
  6115.  The Breakpoints List Popup Menu contains options that you can perform on a 
  6116.  breakpoint. The popup menu is shown when you click mouse button 2 with the 
  6117.  mouse pointer on a highlighted breakpoint, unless the Step with mouse button 2 
  6118.  check box on the Debugger Properties window is enabled. (If the check box is 
  6119.  enabled, clicking mouse button 2 performs a step over command.) 
  6120.  
  6121.  View 
  6122.    Show the highlighted breakpoint in the source window. 
  6123.  
  6124.  Delete 
  6125.    Delete the highlighted breakpoint. 
  6126.  
  6127.  Disable 
  6128.    Disable the highlighted breakpoint. 
  6129.  
  6130.  Enable 
  6131.    Enable the highlighted breakpoint. 
  6132.  
  6133.    Note:  Enabling a breakpoint will not cause the internal counters associated 
  6134.    with the From, Every, and To fields to be reset. 
  6135.  
  6136.  Modify 
  6137.    Modify the highlighted breakpoint. 
  6138.  
  6139.  Delete all 
  6140.    Delete all breakpoints. 
  6141.  
  6142.  Note:  The Disable choice is shown if the highlighted breakpoint is enabled. 
  6143.  The Enable choice is shown if the highlighted breakpoint is disabled. 
  6144.  
  6145.  Menu Bar Summary 
  6146.  
  6147.  File 
  6148.            End the debugging session. 
  6149.  
  6150.  Edit 
  6151.            Delete, disable, or modify breakpoints. 
  6152.  
  6153.  Set 
  6154.            Set and manipulate breakpoints in your program. 
  6155.  
  6156.  Options 
  6157.            Control how items are displayed, change the font, sort items, and 
  6158.            display the Debug Session Control window. 
  6159.  
  6160.  Windows 
  6161.            Displays the active debugger windows. 
  6162.  
  6163.  Help 
  6164.            Displays online help that compliments the information you get when 
  6165.            you press F1 or select a Help push button. 
  6166.  
  6167.  Related Information 
  6168.  
  6169.      Breakpoints Menu 
  6170.      Sort Breakpoint Window 
  6171.  
  6172.  
  6173. ΓòÉΓòÉΓòÉ <hidden> View Choice ΓòÉΓòÉΓòÉ
  6174.  
  6175. Select the View choice to show the highlighted breakpoint in the current source 
  6176. window. 
  6177.  
  6178.  
  6179. ΓòÉΓòÉΓòÉ <hidden> Delete Choice ΓòÉΓòÉΓòÉ
  6180.  
  6181. Select the Delete choice to delete the highlighted breakpoint. 
  6182.  
  6183. To delete a breakpoint: 
  6184.  
  6185.    1. Highlight the breakpoint you want to delete. 
  6186.    2. Select the Delete choice. 
  6187.  
  6188.  
  6189. ΓòÉΓòÉΓòÉ <hidden> Disable Choice ΓòÉΓòÉΓòÉ
  6190.  
  6191. Select the Disable choice to disable the highlighted breakpoint. 
  6192.  
  6193. To disable a breakpoint: 
  6194.  
  6195.    1. Highlight the breakpoint you want to disable. 
  6196.    2. Select the Disable choice. 
  6197.  
  6198.  
  6199. ΓòÉΓòÉΓòÉ 12.1. Enable Choice ΓòÉΓòÉΓòÉ
  6200.  
  6201. Select the Enable choice to enable the highlighted breakpoint. 
  6202.  
  6203. To enable a breakpoint: 
  6204.  
  6205.    1. Highlight the breakpoint you want to enable. 
  6206.    2. Select the Enable choice. 
  6207.  
  6208.  
  6209. ΓòÉΓòÉΓòÉ <hidden> Modify Choice ΓòÉΓòÉΓòÉ
  6210.  
  6211. Use the Modify choice to change the highlighted breakpoint. 
  6212.  
  6213. To modify a breakpoint: 
  6214.  
  6215.    1. Highlight the breakpoint you want to change. 
  6216.  
  6217.    2. Select the Modify choice. The Line Breakpoint window is shown. 
  6218.  
  6219.    3. The entry fields contain the information pertaining to that breakpoint. 
  6220.       Make your changes to the entry fields. 
  6221.  
  6222.    4. Select OK to accept the changes and close the window. If you want to make 
  6223.       other changes, select Set to accept the changes and keep the window open. 
  6224.  
  6225.  Note:  Modifying a breakpoint will cause the internal counters associated with 
  6226.  the From, Every, and To fields to be reset. 
  6227.  
  6228.  
  6229. ΓòÉΓòÉΓòÉ <hidden> Delete All Choice ΓòÉΓòÉΓòÉ
  6230.  
  6231. Delete all breakpoints that are currently set in your program. 
  6232.  
  6233. When you select Delete all, an information box displays for verification that 
  6234. you want to delete all the breakpoints. 
  6235.  
  6236.  
  6237. ΓòÉΓòÉΓòÉ 12.2. File Menu ΓòÉΓòÉΓòÉ
  6238.  
  6239. Select the choice from the File menu of the Breakpoints List window to end the 
  6240. debugging session. 
  6241.  
  6242. Menu Summary 
  6243.  
  6244.  Close debugger 
  6245.            End the debugging session. 
  6246.  
  6247.  
  6248. ΓòÉΓòÉΓòÉ 12.2.1. Close Debugger Choice ΓòÉΓòÉΓòÉ
  6249.  
  6250. Select the Close debugger choice to close your current debugging session. 
  6251.  
  6252. When you select the Close debugger choice, a message box prompts you to confirm 
  6253. that you want to end the debugging session. 
  6254.  
  6255.  
  6256. ΓòÉΓòÉΓòÉ 12.3. Edit Menu ΓòÉΓòÉΓòÉ
  6257.  
  6258. Select choices from the Edit menu to delete breakpoints, disable set 
  6259. breakpoints, and modify set breakpoints. 
  6260.  
  6261. Menu Bar Summary 
  6262.  
  6263.  Delete 
  6264.            Delete a breakpoint. 
  6265.  
  6266.  Disable 
  6267.            Disable a breakpoint. 
  6268.  
  6269.  Modify 
  6270.            Modify a breakpoint. 
  6271.  
  6272.  Delete all 
  6273.            Deletes all breakpoints. 
  6274.  
  6275.  Disable all 
  6276.            Disable all breakpoints. 
  6277.  
  6278.  Enable all 
  6279.            Enable all breakpoints. 
  6280.  
  6281.  
  6282. ΓòÉΓòÉΓòÉ 12.3.1. Delete Choice ΓòÉΓòÉΓòÉ
  6283.  
  6284. Deletes any highlighted breakpoints in the Breakpoints List window. 
  6285.  
  6286.  
  6287. ΓòÉΓòÉΓòÉ 12.3.2. Delete All Choice ΓòÉΓòÉΓòÉ
  6288.  
  6289. Deletes all breakpoints that are shown in the Breakpoints List window. 
  6290.  
  6291.  
  6292. ΓòÉΓòÉΓòÉ 12.3.3. Disable Choice ΓòÉΓòÉΓòÉ
  6293.  
  6294. Disables a breakpoint. 
  6295.  
  6296.  
  6297. ΓòÉΓòÉΓòÉ 12.3.4. Modify Choice ΓòÉΓòÉΓòÉ
  6298.  
  6299. Use the Modify choice to change the breakpoints that have been set in your 
  6300. program. 
  6301.  
  6302. To modify a breakpoint: 
  6303.  
  6304.    1. Highlight the breakpoint you want to change. 
  6305.  
  6306.    2. Select the Modify choice. 
  6307.  
  6308.    3. The entry fields contain the information pertaining to that breakpoint. 
  6309.       Make your changes to the entry fields. 
  6310.  
  6311.    4. Accepts the changes and close the window. If you want to make other 
  6312.       changes, select Set to accept the changes and keep the window open. 
  6313.  
  6314.  
  6315. ΓòÉΓòÉΓòÉ 12.3.5. Disable All Choice ΓòÉΓòÉΓòÉ
  6316.  
  6317. Disables all breakpoints. 
  6318.  
  6319.  
  6320. ΓòÉΓòÉΓòÉ 12.3.6. Enable All Choice ΓòÉΓòÉΓòÉ
  6321.  
  6322. Enables all breakpoints. 
  6323.  
  6324.  
  6325. ΓòÉΓòÉΓòÉ 12.4. Set Menu ΓòÉΓòÉΓòÉ
  6326.  
  6327. Select choices from the Set menu to set breakpoints and to stop the execution 
  6328. of your program at any point. You can set as many breakpoints as you want. 
  6329.  
  6330. Breakpoints can be set from the Debug Session Control window or from a source 
  6331. window. When you set a breakpoint in one view of your program, it is reflected 
  6332. in the other appropriate views. 
  6333.  
  6334. There are five types of breakpoints that you can set. You can customize the 
  6335. breakpoints using the various breakpoint windows. 
  6336.  
  6337. Menu Summary 
  6338.  
  6339.  Set line... 
  6340.            Set a line breakpoint to stop the execution of your program at a 
  6341.            specific line number. 
  6342.  
  6343.  Set function... 
  6344.            Set a function breakpoint to stop the execution of your program 
  6345.            after calling a specific function. 
  6346.  
  6347.  Set address... 
  6348.            Set an address breakpoint to stop the execution of your program at a 
  6349.            specific address. 
  6350.  
  6351.  Set watchpoint... 
  6352.            Set a watchpoint to stop the execution of your program when contents 
  6353.            of memory at a given address changes. 
  6354.  
  6355.  Set load occurrence... 
  6356.            Set a load occurrence breakpoint to stop the execution of your 
  6357.            program after loading a DLL. 
  6358.  
  6359.  
  6360. ΓòÉΓòÉΓòÉ 12.4.1. Set Address Choice ΓòÉΓòÉΓòÉ
  6361.  
  6362. Select the Address choice to stop the execution of your program at the selected 
  6363. address. When you select Address, the Address Breakpoint window displays. 
  6364.  
  6365.  
  6366. ΓòÉΓòÉΓòÉ 12.4.2. Set Watchpoint Choice ΓòÉΓòÉΓòÉ
  6367.  
  6368. Select the Watchpoint choice to stop the execution of your program after the 
  6369. contents of memory at a given address changes. When you select Watchpoint, the 
  6370. Watchpoint window displays. 
  6371.  
  6372.  
  6373. ΓòÉΓòÉΓòÉ 12.4.3. Set Function Choice ΓòÉΓòÉΓòÉ
  6374.  
  6375. Select the Function choice to stop the execution of your program after the 
  6376. function that you specify is called. When you select Function, the Function 
  6377. Breakpoint window displays. 
  6378.  
  6379.  
  6380. ΓòÉΓòÉΓòÉ 12.4.4. Set Line Choice ΓòÉΓòÉΓòÉ
  6381.  
  6382. Select the Line choice to stop the execution of your program at the line number 
  6383. you select. When you select Line, the Line Breakpoint window displays. 
  6384.  
  6385. You can also set simple line breakpoints. Double-click on one of the following 
  6386. for the procedures you use to set or clear simple line breakpoints: 
  6387.  
  6388.      Setting simple line breakpoints 
  6389.  
  6390.      Deleting simple line breakpoints. 
  6391.  
  6392.  
  6393. ΓòÉΓòÉΓòÉ 12.4.5. Set Load Occurrence Choice ΓòÉΓòÉΓòÉ
  6394.  
  6395. Select the Set load occurrence choice to stop the execution of your program 
  6396. after the DLL that you specify is loaded. When you select Set load occurrence, 
  6397. the Load Occurrence Breakpoint window displays. 
  6398.  
  6399.  
  6400. ΓòÉΓòÉΓòÉ 12.5. Options Menu ΓòÉΓòÉΓòÉ
  6401.  
  6402.  Fonts 
  6403.            Choose the font for the active window. 
  6404.  
  6405.  Display style 
  6406.            Choose how the breakpoints display. 
  6407.  
  6408.  Sort 
  6409.            Sort the breakpoints. 
  6410.  
  6411.  Restore defaults 
  6412.            Reset all of the window settings to their original settings. 
  6413.  
  6414.  Tool buttons 
  6415.            Enable or disable buttons from being displayed in the tool bar. 
  6416.  
  6417.  Hover help 
  6418.            Enable or disable the hover help from being displayed in the window. 
  6419.  
  6420.  Infoarea 
  6421.            Enable or disable the information area from being displayed in the 
  6422.  
  6423.  
  6424. ΓòÉΓòÉΓòÉ 12.5.1. Display Style Choice ΓòÉΓòÉΓòÉ
  6425.  
  6426. Select the Display style choice to select the characteristics of the breakpoint 
  6427. you want displayed. When you select Display style, the Display Style window 
  6428. displays. 
  6429.  
  6430.  
  6431. ΓòÉΓòÉΓòÉ <hidden> Display Style Window ΓòÉΓòÉΓòÉ
  6432.  
  6433. Use the Display Style window to control how the items appear in the Breakpoints 
  6434. List window. You can select the type of descriptive information you want to 
  6435. display for all of the breakpoint items. 
  6436.  
  6437. To change how breakpoint items display: 
  6438.  
  6439.      Select one or more of the items under Select Items group box to select 
  6440.       the information you want displayed. Each item you select causes a new 
  6441.       column to be added to the Breakpoints List window. 
  6442.  
  6443.  
  6444. ΓòÉΓòÉΓòÉ 12.5.2. Sort Choice ΓòÉΓòÉΓòÉ
  6445.  
  6446. Select the Sort choice to sort the breakpoints by characteristics of the 
  6447. breakpoint. When you select Sort, the Sort Breakpoints window displays. 
  6448.  
  6449.  
  6450. ΓòÉΓòÉΓòÉ <hidden> Sort Breakpoints Window ΓòÉΓòÉΓòÉ
  6451.  
  6452. Use the Sort Breakpoints window to sort the breakpoints that have been set in 
  6453. your program. 
  6454.  
  6455. Breakpoints can be sorted according to the following categories: 
  6456.  
  6457.      Type 
  6458.      Executable 
  6459.      Source 
  6460.      File 
  6461.      Function 
  6462.      Line 
  6463.      Address 
  6464.      State 
  6465.      Status 
  6466.      Thread 
  6467.      Expression 
  6468.      From 
  6469.      To 
  6470.      Every 
  6471.  
  6472.  Select  the category that represents how you want the breakpoints sorted and 
  6473.  then select the OK push button. 
  6474.  
  6475.  
  6476. ΓòÉΓòÉΓòÉ 12.5.3. Fonts Choice ΓòÉΓòÉΓòÉ
  6477.  
  6478. Select the Fonts choice to set the font you want to use for the text that 
  6479. displays in the active window. 
  6480.  
  6481. When you select Fonts, a Fonts window displays. 
  6482.  
  6483.  
  6484. ΓòÉΓòÉΓòÉ 12.5.4. Restore Defaults Choice ΓòÉΓòÉΓòÉ
  6485.  
  6486. Reset all of the Breakpoints List window settings to their original settings. 
  6487. This includes the font, the color, the style settings, and the presentation of 
  6488. tople bar buttons. 
  6489.  
  6490.  
  6491. ΓòÉΓòÉΓòÉ 12.5.5. Tool Buttons Choice ΓòÉΓòÉΓòÉ
  6492.  
  6493. You can select to display the buttons in the tool bar of the window. 
  6494.  
  6495. If this choice is enabled, a check mark symbol displays beside the Tool buttons 
  6496. choice and buttons display. 
  6497.  
  6498.  
  6499. ΓòÉΓòÉΓòÉ 12.5.6. Hover Help Choice ΓòÉΓòÉΓòÉ
  6500.  
  6501. Select the Hover help choice if you want the hover help to be shown in all the 
  6502. debugger windows. 
  6503.  
  6504. The hover help shows the names of the tool buttons. 
  6505.  
  6506.  
  6507. ΓòÉΓòÉΓòÉ 12.5.7. Infoarea Choice ΓòÉΓòÉΓòÉ
  6508.  
  6509. Select the Infoarea choice if you want the information area to be shown in all 
  6510. the debugger windows. 
  6511.  
  6512. The information area, which is located at the bottom of the window, provides a 
  6513. brief description of each menu item. 
  6514.  
  6515.  
  6516. ΓòÉΓòÉΓòÉ 12.6. Windows Menu ΓòÉΓòÉΓòÉ
  6517.  
  6518. Select the Windows menu to display a list of all the open debugger windows. 
  6519.  
  6520. Menu Summary 
  6521.  
  6522.  Local variables 
  6523.            Display the local variables for the current line of the program. 
  6524.  
  6525.  Registers 
  6526.            Monitor registers and flags for a particular thread. 
  6527.  
  6528.  Call Stack 
  6529.            Monitor the call stack for a particular thread. 
  6530.  
  6531.  Private monitor 
  6532.            Display the Private Monitor window. Collect variables or expressions 
  6533.            that you want to monitor. 
  6534.  
  6535.  Program monitor 
  6536.            Display the Program Monitor window. 
  6537.  
  6538.  Storage 
  6539.            Monitor the storage that a program uses. 
  6540.  
  6541.  Breakpoints 
  6542.            List the set breakpoints. 
  6543.  
  6544.  Debug session control 
  6545.            Display the Debug Session Control window. 
  6546.  
  6547.  
  6548. ΓòÉΓòÉΓòÉ 12.7. Help Menu ΓòÉΓòÉΓòÉ
  6549.  
  6550. Select choices from the Help menu to complement the online help information 
  6551. that you can get for the debugger when you press F1 or select the Help push 
  6552. button. 
  6553.  
  6554. Menu Summary 
  6555.  
  6556.  Help index 
  6557.            An alphabetical index of all available debugger help topics. 
  6558.  
  6559.  General help 
  6560.            Help information for the active window. 
  6561.  
  6562.  Using help 
  6563.            How to use the debugger help facility. 
  6564.  
  6565.  Product information 
  6566.            Display product information. 
  6567.  
  6568.  
  6569. ΓòÉΓòÉΓòÉ 12.7.1. Help Index Choice ΓòÉΓòÉΓòÉ
  6570.  
  6571. Select the Help index choice to display an alphabetical list of index topics 
  6572. for the debugger. Use the Find choice provided with the online help facility to 
  6573. locate topics in the index. 
  6574.  
  6575.  
  6576. ΓòÉΓòÉΓòÉ 12.7.2. General Help Choice ΓòÉΓòÉΓòÉ
  6577.  
  6578. Select the General help choice to display online help for the active debugger 
  6579. window. The online help panel displayed is the same panel that displays when 
  6580. you place your cursor inside the window and press F1. 
  6581.  
  6582.  
  6583. ΓòÉΓòÉΓòÉ 12.7.3. Using Help Choice ΓòÉΓòÉΓòÉ
  6584.  
  6585. Select the Using help choice to display online help information about the OS/2 
  6586. help facility. 
  6587.  
  6588.  
  6589. ΓòÉΓòÉΓòÉ 12.7.4. Product Information Choice ΓòÉΓòÉΓòÉ
  6590.  
  6591. Select the Product information choice to display the product information. 
  6592.  
  6593.  
  6594. ΓòÉΓòÉΓòÉ <hidden> Line Breakpoint Window ΓòÉΓòÉΓòÉ
  6595.  
  6596. Use the Line Breakpoint window to set a breakpoint on a specific line. 
  6597.  
  6598. For a description of the entry fields in the window, double-click on one of the 
  6599. following topics: 
  6600.  
  6601.      Executable 
  6602.  
  6603.      Source 
  6604.  
  6605.      Include File (optional) 
  6606.  
  6607.      Line 
  6608.  
  6609.      Thread 
  6610.  
  6611.      From 
  6612.  
  6613.      To 
  6614.  
  6615.      Every 
  6616.  
  6617.      Expression 
  6618.  
  6619.  Defer breakpoint Check Box 
  6620.  
  6621.  Enable this check box if you want to set a breakpoint in a DLL that is not 
  6622.  currently loaded. 
  6623.  
  6624.  Note:  If your application consists of an EXE or preloaded DLLs, do not use 
  6625.  this choice. If your application consists of DLLs that are dynamically loaded, 
  6626.  you must use this choice to set breakpoints in the dynamically loaded DLLs 
  6627.  that have not been loaded yet. 
  6628.  
  6629.  If you enter an invalid source, source file or invalid line number, the 
  6630.  debugger is unable to activate the breakpoint when the DLL is loaded. 
  6631.  Therefore, the invalid breakpoint remains in the deferred state even after the 
  6632.  DLL is loaded. 
  6633.  
  6634.  The state of the breakpoints will change from active state to deferred state 
  6635.  depending on whether the DLL has been loaded or not.  For example, if the DLL 
  6636.  has been loaded and a deferred breakpoint has been set, the breakpoint becomes 
  6637.  active. If you stop the program and the DLL has been freed, the breakpoint 
  6638.  changes from active state to deferred state. 
  6639.  
  6640.  If you set a deferred line breakpoint and the line is located in a template, 
  6641.  the debugger sets the line breakpoint in all of the templates when the DLL is 
  6642.  loaded. 
  6643.  
  6644.  Refer to the Breakpoints List window for the current state of the breakpoints 
  6645.  that have been set. 
  6646.  
  6647.  Select the appropriate  push button to continue. 
  6648.  
  6649.  
  6650. ΓòÉΓòÉΓòÉ 12.7.5. Setting Simple Line Breakpoints ΓòÉΓòÉΓòÉ
  6651.  
  6652. To set a simple line breakpoint in all threads, double-click in the prefix area 
  6653. of an executable statement in the source windows: 
  6654.  
  6655.  Source 
  6656.            Sets the breakpoint at a specific statement. 
  6657.  
  6658.  Disassembly 
  6659.            Sets the breakpoint at a specific assembler instruction. 
  6660.  
  6661.  Mixed 
  6662.            Sets the breakpoint at a specific assembler instruction. (The lines 
  6663.            of source code displayed in the Mixed window are treated as comment 
  6664.            lines only.) 
  6665.  
  6666.  The prefix area turns red indicating that the breakpoint has been set. 
  6667.  
  6668.  To set a thread-specific breakpoint for the thread shown in a source view, 
  6669.  hold down the CTRL key as you double-click in the prefix area. 
  6670.  
  6671.  
  6672. ΓòÉΓòÉΓòÉ 12.7.6. Deleting Simple Line Breakpoints ΓòÉΓòÉΓòÉ
  6673.  
  6674. To remove a simple line breakpoint in all threads, double-click in a red prefix 
  6675. area of the Source, Disassembly, or Mixed window. The color changes indicating 
  6676. that the breakpoint cleared. 
  6677.  
  6678. If the prefix area turns gray instead, double-click again to make sure the 
  6679. breakpoint clears. 
  6680.  
  6681.  
  6682. ΓòÉΓòÉΓòÉ <hidden> Executable Entry Field ΓòÉΓòÉΓòÉ
  6683.  
  6684. To select a component from the Executable list: 
  6685.  
  6686.    1. Open the Executable list by selecting the arrow with your mouse. 
  6687.  
  6688.    2. Highlight the executable where you want to set the breakpoint. 
  6689.  
  6690.       OR 
  6691.  
  6692.       Type the executable name in the entry field. 
  6693.  
  6694.  
  6695. ΓòÉΓòÉΓòÉ <hidden> Source Entry Field ΓòÉΓòÉΓòÉ
  6696.  
  6697. To select a component from the Source list: 
  6698.  
  6699.    1. Open the Source list by selecting the arrow with your mouse. 
  6700.  
  6701.    2. Highlight the source where you want to set the breakpoint. 
  6702.  
  6703.       OR 
  6704.  
  6705.       Type the source name in the entry field. 
  6706.  
  6707.  
  6708. ΓòÉΓòÉΓòÉ <hidden> Line Number Entry Field ΓòÉΓòÉΓòÉ
  6709.  
  6710. To set a line breakpoint, type the line number in the Line number entry field. 
  6711. The breakpoint is set on the line number. 
  6712.  
  6713.  
  6714. ΓòÉΓòÉΓòÉ 12.7.7. Modify Choice ΓòÉΓòÉΓòÉ
  6715.  
  6716. Use the Modify choice to change the breakpoints that have been set in your 
  6717. program. 
  6718.  
  6719. To modify a breakpoint: 
  6720.  
  6721.    1. Highlight the breakpoint you want to change. 
  6722.  
  6723.    2. Select the Modify choice. 
  6724.  
  6725.    3. The entry fields contain the information pertaining to that breakpoint. 
  6726.       Make your changes to the entry fields. 
  6727.  
  6728.    4. Accepts the changes and close the window. If you want to make other 
  6729.       changes, select Set to accept the changes and keep the window open. 
  6730.  
  6731.  
  6732. ΓòÉΓòÉΓòÉ 13. Application Exception Action Window ΓòÉΓòÉΓòÉ
  6733.  
  6734. The Application Exception Action window displays whenever an OS/2 exception 
  6735. occurs. The exception may have occurred in the application or the system code. 
  6736. In either case, the debugger displays and highlights the line where the 
  6737. exception occurred in the Source window. 
  6738.  
  6739. Selecting the Examine/Retry button lets you investigate the cause of the 
  6740. exception and if you want, retry execution of the line that caused the original 
  6741. fault. The debugger begins with the line causing the fault and attempts to 
  6742. continue. 
  6743.  
  6744. Selecting the Run Exception button is the same as issuing a gt command to the 
  6745. kernel debugger. The debugger begins at the original trap handler address 
  6746. without having to unhook the exception. 
  6747.  
  6748.  
  6749. ΓòÉΓòÉΓòÉ 14. Source Filename Window ΓòÉΓòÉΓòÉ
  6750.  
  6751. The Source Filename window displays when you try to open a component for which 
  6752. you have debugging data, but the debugger cannot locate the source code. 
  6753.  
  6754. To use the Source Filename window, do one of the following: 
  6755.  
  6756.      If the source code is located in another directory on the system, type in 
  6757.       the path name and select OK. 
  6758.  
  6759.      If you do not have the source code for this component, select Cancel. The 
  6760.       Disassembly window opens for this component. 
  6761.  
  6762.  
  6763. ΓòÉΓòÉΓòÉ 15. Messages Window ΓòÉΓòÉΓòÉ
  6764.  
  6765. The Messages window displays kernel printfs and direct COM port messages from 
  6766. device drivers. 
  6767.  
  6768.  Menu Bar Summary 
  6769.  
  6770.  File 
  6771.            End your debugging session. 
  6772.  
  6773.  Edit 
  6774.            Erase the printfs that have accumulated in the Messages window. 
  6775.  
  6776.  Options 
  6777.            Control how the contents of variables display. 
  6778.  
  6779.  Windows 
  6780.            Display the active debugger windows. 
  6781.  
  6782.  Help 
  6783.            Display online help that complements the information that is 
  6784.            displayed when you press F1 or select a Help push button. 
  6785.  
  6786.  
  6787. ΓòÉΓòÉΓòÉ 15.1. File Menu ΓòÉΓòÉΓòÉ
  6788.  
  6789. Select choices from the File menu to end your debugging session or save the 
  6790. Storage window contents to a file. 
  6791.  
  6792. Menu Summary 
  6793.  
  6794.  Close debugger 
  6795.            End your current debugging session. 
  6796.  
  6797.  
  6798. ΓòÉΓòÉΓòÉ 15.1.1. Close Debugger Choice ΓòÉΓòÉΓòÉ
  6799.  
  6800. Select the Close debugger choice to close the current debugging session. 
  6801.  
  6802. When you select the Close debugger choice, a message box prompts you to confirm 
  6803. that you want to end the debugging session. 
  6804.  
  6805.  
  6806. ΓòÉΓòÉΓòÉ 15.2. Edit ΓòÉΓòÉΓòÉ
  6807.  
  6808. Select Edit to erase the printfs that have accumulated in the Messages window 
  6809. or find a message within this window. 
  6810.  
  6811.  Menu Bar Summary 
  6812.  
  6813.  Delete all 
  6814.            Delete all the printfs in the Messages window. 
  6815.  
  6816.  Find 
  6817.            Locate a text string within this window. 
  6818.  
  6819.  Find next 
  6820.            Find the next occurrence of a text string within this window. 
  6821.  
  6822.  
  6823. ΓòÉΓòÉΓòÉ 15.2.1. Delete all ΓòÉΓòÉΓòÉ
  6824.  
  6825. Select the Delete all choice to delete all the messages contained within the 
  6826. Messages window. 
  6827.  
  6828.  
  6829. ΓòÉΓòÉΓòÉ 15.2.2. Find Choice ΓòÉΓòÉΓòÉ
  6830.  
  6831. Select the Find choice to search for a text string in the active window. You 
  6832. can search for simple text strings that do not use wildcards (*). 
  6833.  
  6834. When you select Find, the Find window displays, prompting you for the text 
  6835. string you want to find. 
  6836.  
  6837. If you are searching in the same program component, the default is the text 
  6838. string you typed the last time you completed the Find window for this 
  6839. component. 
  6840.  
  6841.  
  6842. ΓòÉΓòÉΓòÉ 15.2.3. Find next ΓòÉΓòÉΓòÉ
  6843.  
  6844. Select the Find next choice to search for the next occurrence of a text string. 
  6845. If you are searching in the same program component, the default is the text 
  6846. string you typed the last time you completed the Find window for this 
  6847. component. 
  6848.  
  6849.  
  6850. ΓòÉΓòÉΓòÉ 15.3. Options Menu ΓòÉΓòÉΓòÉ
  6851.  
  6852. Select choices from the Options menu to control how the message contents 
  6853. display. 
  6854.  
  6855. Menu Summary 
  6856.  
  6857.  Fonts 
  6858.            Select the font for the text in the Messages window. 
  6859.  
  6860.  Display style 
  6861.            Change the storage display format. 
  6862.  
  6863.  Restore defaults 
  6864.            Reset all of the window settings to their original settings. 
  6865.  
  6866.  Tool buttons 
  6867.            Enable or disable buttons from being displayed on the tool bar. 
  6868.  
  6869.  Hover help 
  6870.            Enable or disable hover help from being displayed in the window. 
  6871.  
  6872.  Infoarea 
  6873.            Enable or disable the information area from being displayed in the 
  6874.            window. 
  6875.  
  6876.  
  6877. ΓòÉΓòÉΓòÉ 15.3.1. Fonts Choice ΓòÉΓòÉΓòÉ
  6878.  
  6879. Select the Fonts choice to set the font you want to use for the text that 
  6880. displays in the active window. 
  6881.  
  6882.  
  6883. ΓòÉΓòÉΓòÉ 15.3.2. Display Style Choice ΓòÉΓòÉΓòÉ
  6884.  
  6885. Select the Display style choice to display the format for the storage contents 
  6886. and storage addresses and change the columns per line that display. You can 
  6887. select from several storage display styles. 
  6888.  
  6889. When you select Display style, the Display Style window displays. 
  6890.  
  6891.  
  6892. ΓòÉΓòÉΓòÉ 15.3.2.1. Display Style Window ΓòÉΓòÉΓòÉ
  6893.  
  6894. Use the Display Style window to save the output of the Messages window in a 
  6895. file, name the output file (the default name is messages.out), and to select 
  6896. the maximum number of lines (the default is 100) displayed in the window. 
  6897. Although all the lines are displayed, you must scroll up or down to view them. 
  6898. After the maximum number of lines is reached, the earliest lines are removed 
  6899. every time a new line is added. 
  6900.  
  6901.  
  6902. ΓòÉΓòÉΓòÉ 15.3.3. Restore Defaults Choice ΓòÉΓòÉΓòÉ
  6903.  
  6904. Reset all of the source window settings to their original settings. This 
  6905. includes the font, the color, the style settings, and the presentation of tool 
  6906. buttons. 
  6907.  
  6908.  
  6909. ΓòÉΓòÉΓòÉ 15.3.4. Tool Buttons Choice ΓòÉΓòÉΓòÉ
  6910.  
  6911. Select the Tool buttons choice if you want to display the buttons in the tool 
  6912. bar of the window. 
  6913.  
  6914. If this choice is enabled, a bullet displays beside the Tool buttons choice and 
  6915. buttons display. 
  6916.  
  6917.  
  6918. ΓòÉΓòÉΓòÉ 15.3.5. Hover Help Choice ΓòÉΓòÉΓòÉ
  6919.  
  6920. Select the Hover help choice if you want hover help to be displayed in all the 
  6921. debugger windows. 
  6922.  
  6923. Hover help displays the names of the tool buttons. 
  6924.  
  6925.  
  6926. ΓòÉΓòÉΓòÉ 15.3.6. Infoarea Choice ΓòÉΓòÉΓòÉ
  6927.  
  6928. Select the Infoarea choice if you want the information area to be displayed in 
  6929. all the debugger windows. 
  6930.  
  6931. The information area, located at the bottom of the window, provides a brief 
  6932. description of each menu item and tool button. 
  6933.  
  6934.  
  6935. ΓòÉΓòÉΓòÉ 15.4. Windows Menu ΓòÉΓòÉΓòÉ
  6936.  
  6937. Select the Windows menu to display a list of all the open debugger windows. 
  6938.  
  6939.  
  6940. ΓòÉΓòÉΓòÉ 15.5. Help Menu ΓòÉΓòÉΓòÉ
  6941.  
  6942. Select choices from the Help menu to complement the online help information 
  6943. that is displayed for the debugger when you press F1 or select the Help push 
  6944. button. 
  6945.  
  6946. Menu Summary 
  6947.  
  6948.  Help index 
  6949.            An alphabetical index of all available debugger help topics. 
  6950.  
  6951.  General help 
  6952.            Help information for the active window. 
  6953.  
  6954.  Using help 
  6955.            How to use the debugger help facility. 
  6956.  
  6957.  Product information 
  6958.            Display product information. 
  6959.  
  6960.  
  6961. ΓòÉΓòÉΓòÉ 15.5.1. Help Index Choice ΓòÉΓòÉΓòÉ
  6962.  
  6963. Select the Help index choice to display an alphabetical list of index topics 
  6964. for the debugger. Use the Find choice provided with the online help facility to 
  6965. locate topics in the index. 
  6966.  
  6967.  
  6968. ΓòÉΓòÉΓòÉ 15.5.2. General Help Choice ΓòÉΓòÉΓòÉ
  6969.  
  6970. Select the General help choice to display online help for the active debugger 
  6971. window. The online help panel displayed is the same panel that displays when 
  6972. you place your cursor inside the window and press F1. 
  6973.  
  6974.  
  6975. ΓòÉΓòÉΓòÉ 15.5.3. Using Help Choice ΓòÉΓòÉΓòÉ
  6976.  
  6977. Select the Using help choice to display online help information about the OS/2 
  6978. help facility. 
  6979.  
  6980.  
  6981. ΓòÉΓòÉΓòÉ 15.5.4. Product Information Choice ΓòÉΓòÉΓòÉ
  6982.  
  6983. Select the Product information choice to display the product information. 
  6984.  
  6985.  
  6986. ΓòÉΓòÉΓòÉ 16. Passthru Window ΓòÉΓòÉΓòÉ
  6987.  
  6988. The Passthru window allows you to send commands to KDB and view its responses. 
  6989. The window has a command entry field where you enter the KDB commands, and a 
  6990. response area that displays the KDB output. 
  6991.  
  6992. The KDB response area is scrollable, which allows you to review previous KDB 
  6993. responses from prior commands.  This output area also appends a status icon for 
  6994. each line to indicate your input, the debugger's acceptance of that input, and 
  6995. text from KDB. 
  6996.  
  6997. Note:  When you send KDB commands using the Passthru window, the debugger does 
  6998. not update its state.  Thus, you should use this window for obtaining 
  6999. information instead of altering registers or data. 
  7000.  
  7001. To send a command to KDB, do the following: 
  7002.  
  7003.    1. Type the command you want to send in the Command entry field. 
  7004.    2. Select the Send push button or press the Enter key. 
  7005.    3. Select the Resync button to force the debugger to refresh all of its 
  7006.       internal caches of the target machine state.  Use this button if you used 
  7007.       the Passthru window to alter the state on the target machine. 
  7008.  
  7009.  Note:  Commands that cause the target machine to resume execution (for 
  7010.  example, g and t) should be avoided.  They can cause the debugger to lock up. 
  7011.  The debugger tries to filter out the KDB commands that can cause a lockup, but 
  7012.  you should always exercise caution. 
  7013.  
  7014.  Passthru Popup Menu 
  7015.  
  7016.  The Passthru Popup Menu contains options that you can perform on the variables 
  7017.  or expressions in the Passthru window. 
  7018.  
  7019.  The popup menu is shown when you click mouse button 2 with the mouse pointer 
  7020.  on a line number in a source window, unless the Step with mouse button 2 check 
  7021.  box on the Debugger Properties window is enabled. (If the check box is 
  7022.  enabled, clicking mouse button 2 performs a step over command.) Menu Summary 
  7023.  
  7024.  Execute 
  7025.    Execute a line in the response area. 
  7026.  
  7027.  Delete 
  7028.    Delete lines in the response area. 
  7029.  
  7030.  Edit 
  7031.    Edit or delete lines in the response area. 
  7032.  
  7033.  Menu Bar Summary 
  7034.  
  7035.  File 
  7036.            End the debugging session. 
  7037.  
  7038.  Edit 
  7039.            Edit or delete lines in the response area. 
  7040.  
  7041.  Options 
  7042.            Change the font, control how items are displayed, and enable or 
  7043.            disable tool buttons, hover help or infoarea information. 
  7044.  
  7045.  Windows 
  7046.            Displays the active debugger windows. 
  7047.  
  7048.  Help 
  7049.            Displays online help that compliments the information you get when 
  7050.            you press F1 or select a Help push button. 
  7051.  
  7052.  
  7053. ΓòÉΓòÉΓòÉ 16.1. File Menu ΓòÉΓòÉΓòÉ
  7054.  
  7055. Select choice from the File menu to end your debugging session. 
  7056.  
  7057. Menu Summary 
  7058.  
  7059.  Close debugger 
  7060.            End your debugging session. 
  7061.  
  7062.  
  7063. ΓòÉΓòÉΓòÉ 16.1.1. Close Debug Choice ΓòÉΓòÉΓòÉ
  7064.  
  7065. Select the Close debugger choice to close the current debugging session. 
  7066.  
  7067. When you select the Close debugger choice, a message box prompts you to confirm 
  7068. that you want to end the debugging session. 
  7069.  
  7070.  
  7071. ΓòÉΓòÉΓòÉ 16.2. Edit Menu ΓòÉΓòÉΓòÉ
  7072.  
  7073. Select choices from the Edit menu to edit or delete commands. 
  7074.  
  7075. Menu Bar Summary 
  7076.  
  7077.  Edit 
  7078.            Edit lines in the response area. 
  7079.  
  7080.  Delete 
  7081.            Delete a line in the response area. 
  7082.  
  7083.  Delete all 
  7084.            Deletes all lines in the response area. 
  7085.  
  7086.  Find 
  7087.            Search for text strings in the active window. 
  7088.  
  7089.  Find Next 
  7090.            Find the next occurrence of a string. 
  7091.  
  7092.  
  7093. ΓòÉΓòÉΓòÉ 16.2.1. Execute ΓòÉΓòÉΓòÉ
  7094.  
  7095. Select Execute to execute a highlighted line in the response area. 
  7096.  
  7097.  
  7098. ΓòÉΓòÉΓòÉ 16.2.2. Delete ΓòÉΓòÉΓòÉ
  7099.  
  7100. Select Delete to delete a highlighted line in the response area. 
  7101.  
  7102.  
  7103. ΓòÉΓòÉΓòÉ 16.2.3. Edit ΓòÉΓòÉΓòÉ
  7104.  
  7105. Select Edit to edit a line in the response area, delete a line in the response 
  7106. area, or delete all the lines in the response area. 
  7107.  
  7108.  
  7109. ΓòÉΓòÉΓòÉ 16.2.4. Edit Choice ΓòÉΓòÉΓòÉ
  7110.  
  7111. Select the choices from the Edit menu to edit a line in the response area, 
  7112. delete a line in the response area, or delete all the lines in the response 
  7113. area of the Passthru window. 
  7114.  
  7115.  
  7116. ΓòÉΓòÉΓòÉ 16.2.5. Delete Choice ΓòÉΓòÉΓòÉ
  7117.  
  7118. Select the Delete choice to delete a line in the response area of the Passthru 
  7119. window. 
  7120.  
  7121. To delete a line: 
  7122.  
  7123.    1. Highlight the line you want to delete. 
  7124.    2. Select the Delete choice. 
  7125.  
  7126.  
  7127. ΓòÉΓòÉΓòÉ 16.2.6. Delete all ΓòÉΓòÉΓòÉ
  7128.  
  7129. Select the Delete all choice to delete all the lines in the response area of 
  7130. the Passthru window. 
  7131.  
  7132. To delete all the lines in the response area: 
  7133.  
  7134.    1. Select the Delete all choice. When you select the Delete all choice, a 
  7135.       message box prompts you to confirm that you want to delete all the lines. 
  7136.    2. Select Yes. 
  7137.  
  7138.  
  7139. ΓòÉΓòÉΓòÉ 16.2.7. Find Choice ΓòÉΓòÉΓòÉ
  7140.  
  7141. Select the Find choice to search for a text string in the active window. You 
  7142. can search for simple text strings that do not use wildcards (*). 
  7143.  
  7144. When you select Find, the Find window displays, prompting you for the text 
  7145. string you want to find. 
  7146.  
  7147. If you are searching in the same program component, the default is the text 
  7148. string you typed the last time you completed the Find window for this 
  7149. component. 
  7150.  
  7151.  
  7152. ΓòÉΓòÉΓòÉ 16.2.8. Find Next Choice ΓòÉΓòÉΓòÉ
  7153.  
  7154. Select the Find next choice to search for the next occurrence of a text string. 
  7155. If you are searching in the same program component, the default is the text 
  7156. string you typed the last time you completed the Find window for this 
  7157. component. 
  7158.  
  7159.  
  7160. ΓòÉΓòÉΓòÉ 16.3. Options Menu ΓòÉΓòÉΓòÉ
  7161.  
  7162. Select choices from the Options menu to change the font and control what items 
  7163. are shown in the Passthru window. 
  7164.  
  7165. Menu Bar Summary 
  7166.  
  7167.  Fonts 
  7168.            Change the font in the window. 
  7169.  
  7170.  Display style... 
  7171.            Select the items you want displayed in the window, number of items 
  7172.            you want displayed, and save the output in a file. 
  7173.  
  7174.  Restore defaults 
  7175.            Reset all of the window settings to their original settings. 
  7176.  
  7177.  Tool buttons 
  7178.            Display the tool buttons in the window. 
  7179.  
  7180.  Hover help 
  7181.            Display the hover help. 
  7182.  
  7183.  Infoarea 
  7184.            Display the information area. 
  7185.  
  7186.  Resync with ring 3 
  7187.            Changes the debugger to ring-3 context. 
  7188.  
  7189.  Add custom tool buttons 
  7190.            Associate a Passthru command with a tool button icon. 
  7191.  
  7192.  
  7193. ΓòÉΓòÉΓòÉ 16.3.1. Fonts Choice ΓòÉΓòÉΓòÉ
  7194.  
  7195. Displays the Font window, which allows you to select the type of font you want 
  7196. to use for the Passthru window. 
  7197.  
  7198.  
  7199. ΓòÉΓòÉΓòÉ 16.3.2. Display Style Choice ΓòÉΓòÉΓòÉ
  7200.  
  7201. Displays the Display Style window, which allows you to select the items you 
  7202. want displayed in the window, select the number of items you want displayed, 
  7203. and save the output in a file. 
  7204.  
  7205.  
  7206. ΓòÉΓòÉΓòÉ 16.3.2.1. Display Style ΓòÉΓòÉΓòÉ
  7207.  
  7208. To use the Display Style window: 
  7209.  
  7210.      Select the items you want under the Select Items group heading. Each item 
  7211.       you select causes a new column to be added to the response area of the 
  7212.       Passthru window. 
  7213.      In the Number Items entry field, type the number of lines you want to be 
  7214.       displayed in the response area.  The maximum number of lines is 10,000. 
  7215.      The Output File entry field allows you to specify the name of the file 
  7216.       where Passthru responses are optionally saved. 
  7217.      The Save output in file also check box allows you to copy the Passthru 
  7218.       response items into a file (logging function). If the check box is 
  7219.       enabled, the responses are copied into the file that you specified in the 
  7220.       Output File entry field. 
  7221.  
  7222.  
  7223. ΓòÉΓòÉΓòÉ 16.3.3. Restore Defaults Choice ΓòÉΓòÉΓòÉ
  7224.  
  7225. Select the Restore defaults choice to reset all of the window settings to their 
  7226. original settings. 
  7227.  
  7228.  
  7229. ΓòÉΓòÉΓòÉ 16.3.4. Add Custom Tool Buttons Choice ΓòÉΓòÉΓòÉ
  7230.  
  7231. Select the Add custom tool buttons choice to associate a Passthru command with 
  7232. a tool button icon. When you select Add custom tool button, the Add custom tool 
  7233. button window displays. 
  7234.  
  7235.  
  7236. ΓòÉΓòÉΓòÉ 16.3.4.1. Add Custom Tool Button ΓòÉΓòÉΓòÉ
  7237.  
  7238. To use the Add custom tool button choice: 
  7239.  
  7240.    1. Select one of the 10 icons to associate with a command. 
  7241.    2. Enter a Passthru command in the Commands entry field.  For example, dg 
  7242.       cs. 
  7243.    3. Select the Add push button to place the icon on the toolbar. When you 
  7244.       select the icon from the toolbar, the associated command is executed. 
  7245.       You can add, delete, or change icons and their associated text. 
  7246.  
  7247.  Note:  If the tool buttons choice has not been selected or if the tool buttons 
  7248.  are on the title bar, you can not select the Add custom tool buttons choice. 
  7249.  
  7250.  
  7251. ΓòÉΓòÉΓòÉ 16.3.5. Tool Buttons Choice ΓòÉΓòÉΓòÉ
  7252.  
  7253. You can select to display the buttons in the tool bar of the window. 
  7254.  
  7255. If this choice is enabled, a check mark symbol displays beside the Tool buttons 
  7256. choice and buttons display. 
  7257.  
  7258.  
  7259. ΓòÉΓòÉΓòÉ 16.3.6. Hover Help Choice ΓòÉΓòÉΓòÉ
  7260.  
  7261. Select the Hover help choice if you want hover help. 
  7262.  
  7263.  
  7264. ΓòÉΓòÉΓòÉ 16.3.7. Infoarea Choice ΓòÉΓòÉΓòÉ
  7265.  
  7266. Select the Infoarea choice if you want the information area to be shown in the 
  7267. window. 
  7268.  
  7269.  
  7270. ΓòÉΓòÉΓòÉ 16.3.8. Resync With Ring 3 Choice ΓòÉΓòÉΓòÉ
  7271.  
  7272. Select the Resync with ring 3 choice if you want the debugger to act as though 
  7273. it is in the ring-3 context just before it entered the kernel on the current 
  7274. thread. The assumption is that the current thread is at ring 0. 
  7275.  
  7276.  
  7277. ΓòÉΓòÉΓòÉ 16.4. Windows Menu ΓòÉΓòÉΓòÉ
  7278.  
  7279. Select the Windows menu from the Passthru window to view a list of all the open 
  7280. debugger windows. By selecting a window from the Windows menu, it is brought 
  7281. into focus and made the active window. Also, if the window is minimized, it is 
  7282. restored. 
  7283.  
  7284.  
  7285. ΓòÉΓòÉΓòÉ 16.5. Help Menu ΓòÉΓòÉΓòÉ
  7286.  
  7287. Select choices from the Help menu to complement the online help information 
  7288. that you can get for the debugger when you press F1 or select the Help push 
  7289. button. 
  7290.  
  7291. Menu Summary 
  7292.  
  7293.  Help index 
  7294.            An alphabetical index of all available debugger help topics. 
  7295.  
  7296.  General help 
  7297.            Help information for the active window. 
  7298.  
  7299.  Using help 
  7300.            How to use the debugger help facility. 
  7301.  
  7302.  Product information 
  7303.            Display product information. 
  7304.  
  7305.  
  7306. ΓòÉΓòÉΓòÉ 16.5.1. Product Information Choice ΓòÉΓòÉΓòÉ
  7307.  
  7308. Select the Product information choice to display the product information. 
  7309.  
  7310.  
  7311. ΓòÉΓòÉΓòÉ 16.5.2. Help Index Choice ΓòÉΓòÉΓòÉ
  7312.  
  7313. Select the Help index choice to display an alphabetical list of index topics 
  7314. for the debugger. Use the Find choice provided with the online help facility to 
  7315. locate topics in the index. 
  7316.  
  7317.  
  7318. ΓòÉΓòÉΓòÉ 16.5.3. General Help Choice ΓòÉΓòÉΓòÉ
  7319.  
  7320. Select the General help choice to display online help for the active debugger 
  7321. window. The online help panel displayed is the same panel that displays when 
  7322. you place your cursor inside the window and press F1. 
  7323.  
  7324.  
  7325. ΓòÉΓòÉΓòÉ 16.5.4. Using Help Choice ΓòÉΓòÉΓòÉ
  7326.  
  7327. Select the Using help choice to display online help information about the OS/2 
  7328. help facility. 
  7329.  
  7330.  
  7331. ΓòÉΓòÉΓòÉ 16.5.5. Product Information Choice ΓòÉΓòÉΓòÉ
  7332.  
  7333. Select the Product information choice to display the product information. 
  7334.  
  7335.  
  7336. ΓòÉΓòÉΓòÉ <hidden> Push Buttons ΓòÉΓòÉΓòÉ
  7337.  
  7338.  Restart 
  7339.            Restarts the debugging session. 
  7340.  
  7341.  Startup 
  7342.            Displays the startup window. 
  7343.  
  7344.  Close Debugger 
  7345.            Closes the debugging session. 
  7346.  
  7347.  Help 
  7348.            Displays help information for this window. 
  7349.  
  7350.  
  7351. ΓòÉΓòÉΓòÉ <hidden> Push Buttons ΓòÉΓòÉΓòÉ
  7352.  
  7353.  OK 
  7354.            Accepts the information you have typed and closes this window. 
  7355.  
  7356.  Cancel 
  7357.            Closes the window without saving any changes. 
  7358.  
  7359.  Help 
  7360.            Displays help information for this window. 
  7361.  
  7362.  
  7363. ΓòÉΓòÉΓòÉ <hidden> Push Buttons ΓòÉΓòÉΓòÉ
  7364.  
  7365.  OK 
  7366.            Accepts the information you have typed and closes this window. 
  7367.  
  7368.  Apply 
  7369.            Substitutes the file and leaves the window open. 
  7370.  
  7371.  Cancel 
  7372.            Closes this window without saving any changes. 
  7373.  
  7374.  File List 
  7375.            Displays a list of the files that you can select. 
  7376.  
  7377.  Help 
  7378.            Displays help information for this window. 
  7379.  
  7380.  
  7381. ΓòÉΓòÉΓòÉ <hidden> Push Buttons ΓòÉΓòÉΓòÉ
  7382.  
  7383.  OK 
  7384.            Accepts the information you have typed and closes this window. 
  7385.  
  7386.  Reset 
  7387.            Changes the information to the previously saved setting. 
  7388.  
  7389.  Default 
  7390.            Defaults to the default setting. 
  7391.  
  7392.  Cancel 
  7393.            Closes the window without saving any changes. 
  7394.  
  7395.  Help 
  7396.            Displays help information for this window. 
  7397.  
  7398.  
  7399. ΓòÉΓòÉΓòÉ <hidden> Push Buttons ΓòÉΓòÉΓòÉ
  7400.  
  7401.  OK 
  7402.            Accepts the information you have typed and closes this window. 
  7403.  
  7404.  Apply 
  7405.            Applies the change to the window. The change applies only until you 
  7406.            close the window. Select OK to close the window and keep the 
  7407.            changes. 
  7408.  
  7409.  Reset 
  7410.            Changes the information to the previously saved setting. 
  7411.  
  7412.  Default 
  7413.            Replaces the current settings with the default settings. 
  7414.  
  7415.  Cancel 
  7416.            Closes the window without saving any changes. 
  7417.  
  7418.  Help 
  7419.            Displays help information for this window. 
  7420.  
  7421.  
  7422. ΓòÉΓòÉΓòÉ 16.6. Push Buttons ΓòÉΓòÉΓòÉ
  7423.  
  7424.  OK 
  7425.            Accepts the information you have typed and closes this window. 
  7426.  
  7427.  Apply 
  7428.            Applies the change to the window. The change applies only until you 
  7429.            close the window. Select OK to select the new font. 
  7430.  
  7431.  Reset 
  7432.            Changes the font back to your earlier selection. 
  7433.  
  7434.  Default 
  7435.            Replaces the current selection with the default. The default font is 
  7436.            System Monospaced 8x8. 
  7437.  
  7438.  Cancel 
  7439.            Closes the window without saving any changes. 
  7440.  
  7441.  Help 
  7442.            Displays help information for this window. 
  7443.  
  7444.  
  7445. ΓòÉΓòÉΓòÉ <hidden> Push Buttons ΓòÉΓòÉΓòÉ
  7446.  
  7447.  OK 
  7448.            Accepts the information you have typed and closes this window. 
  7449.  
  7450.  Set 
  7451.            Select Set to set a breakpoint. 
  7452.  
  7453.  Default 
  7454.            Defaults to the default settings. 
  7455.  
  7456.  Cancel 
  7457.            Closes the window without saving any changes. 
  7458.  
  7459.  Help 
  7460.            Displays help information for this window. 
  7461.  
  7462.  
  7463. ΓòÉΓòÉΓòÉ 16.7. Push Buttons ΓòÉΓòÉΓòÉ
  7464.  
  7465.  OK 
  7466.            Accepts the information you have typed and closes this window. 
  7467.  
  7468.  Set 
  7469.            Select Set to set the breakpoints. 
  7470.  
  7471.  Cancel 
  7472.            Closes the window without saving any changes. 
  7473.  
  7474.  Default 
  7475.            Defaults to the default settings. 
  7476.  
  7477.  File List 
  7478.            Displays a list of the files that you can select. 
  7479.  
  7480.  Help 
  7481.            Displays help information for this window. 
  7482.  
  7483.  
  7484. ΓòÉΓòÉΓòÉ <hidden> Push Buttons ΓòÉΓòÉΓòÉ
  7485.  
  7486.  OK 
  7487.            Select OK to set the breakpoint and close this window. 
  7488.  
  7489.  Cancel 
  7490.            Closes the window without saving any changes. 
  7491.  
  7492.  Help 
  7493.            Displays help information for this window. 
  7494.  
  7495.  Default 
  7496.            Defaults the current window information to the debugger defaults. 
  7497.  
  7498.  
  7499. ΓòÉΓòÉΓòÉ <hidden> Push Buttons ΓòÉΓòÉΓòÉ
  7500.  
  7501.  OK 
  7502.            Accepts the information you have typed and close this window. 
  7503.  
  7504.  Delete 
  7505.            Remove the highlighted breakpoint. 
  7506.  
  7507.  Delete all 
  7508.            Remove all of the breakpoints displayed in the window. 
  7509.  
  7510.  Sort 
  7511.            Sort the breakpoints by different categories. 
  7512.  
  7513.  Disable/Enable 
  7514.            Disable or enable the highlighted breakpoint. 
  7515.  
  7516.  Modify 
  7517.            Modify the existing breakpoints. 
  7518.  
  7519.  Help 
  7520.            Displays the online help for this window. 
  7521.  
  7522.  
  7523. ΓòÉΓòÉΓòÉ <hidden> Push Buttons ΓòÉΓòÉΓòÉ
  7524.  
  7525.  Add 
  7526.            Select Add to add the new message you have defined. 
  7527.  
  7528.  Update 
  7529.            Select Update to update a message that previously existed. 
  7530.  
  7531.  Delete 
  7532.            Select Delete to delete a message that previously existed. 
  7533.  
  7534.  Cancel 
  7535.            Select Cancel to ignore any changes that were made and close this 
  7536.            window. 
  7537.  
  7538.  Help 
  7539.            Displays help information for this window. 
  7540.  
  7541.  
  7542. ΓòÉΓòÉΓòÉ <hidden> Push Buttons ΓòÉΓòÉΓòÉ
  7543.  
  7544.  OK 
  7545.            Accepts the information you have typed and to close this window. 
  7546.  
  7547.  Reset 
  7548.            Select Reset to clear any changes you have made in this session. 
  7549.  
  7550.  Default 
  7551.            Select Default to replace the current default display style with 
  7552.            default display style. 
  7553.  
  7554.  Cancel 
  7555.            Closes the window without saving any changes. 
  7556.  
  7557.  Help 
  7558.            Displays Help information for this window. 
  7559.  
  7560.  
  7561. ΓòÉΓòÉΓòÉ <hidden> Push Buttons ΓòÉΓòÉΓòÉ
  7562.  
  7563.  OK 
  7564.            Accepts the information you have selected in this window. 
  7565.  
  7566.  Reset 
  7567.            Select Reset to clear any changes you have made in this window. 
  7568.  
  7569.  Default 
  7570.            Select Default to replace the default selection in this window. 
  7571.  
  7572.  Cancel 
  7573.            Closes the window without saving any changes. 
  7574.  
  7575.  Help 
  7576.            Displays help information for this window. 
  7577.  
  7578.  
  7579. ΓòÉΓòÉΓòÉ <hidden> Push Buttons ΓòÉΓòÉΓòÉ
  7580.  
  7581.  OK 
  7582.            Accepts the information you have typed and closes this window. 
  7583.  
  7584.  Apply 
  7585.            Apply the changes to the window. 
  7586.  
  7587.  Reset 
  7588.            Select Reset to change the colors back to what they were when you 
  7589.            opened this window. 
  7590.  
  7591.  Default 
  7592.            Select Default to change the color back to the default color. 
  7593.  
  7594.  Cancel 
  7595.            Closes the window without saving any changes. 
  7596.  
  7597.  Help 
  7598.            Displays Help information for this window. 
  7599.  
  7600.  
  7601. ΓòÉΓòÉΓòÉ 17. Glossary ΓòÉΓòÉΓòÉ
  7602.  
  7603. Double-click on any term for a definition: 
  7604.  
  7605.      Automatic variable 
  7606.  
  7607.      Breakpoint 
  7608.  
  7609.      Clock icon 
  7610.  
  7611.      Component 
  7612.  
  7613.      Context 
  7614.  
  7615.      Debug data 
  7616.  
  7617.      Disable 
  7618.  
  7619.      Enable 
  7620.  
  7621.      Event breakpoint 
  7622.  
  7623.      Executable files 
  7624.  
  7625.      Executable statement 
  7626.  
  7627.      Functions 
  7628.  
  7629.      Local variables 
  7630.  
  7631.      Location breakpoint 
  7632.  
  7633.      Object files 
  7634.  
  7635.      Overloaded 
  7636.  
  7637.      Prefix area 
  7638.  
  7639.      Process 
  7640.  
  7641.      Program generated breakpoint 
  7642.  
  7643.      Program profiles 
  7644.  
  7645.      Search path 
  7646.  
  7647.      Session 
  7648.  
  7649.      Stopping thread 
  7650.  
  7651.      Storage 
  7652.  
  7653.      Thread 
  7654.  
  7655.  
  7656. ΓòÉΓòÉΓòÉ 17.1. Automatic variable ΓòÉΓòÉΓòÉ
  7657.  
  7658. A variable that is allocated during the invocation of the function containing 
  7659. the variable is called an automatic variable. Every time a function is invoked, 
  7660. a new copy of the variable is placed in storage. 
  7661.  
  7662.  
  7663. ΓòÉΓòÉΓòÉ 17.2. Breakpoint ΓòÉΓòÉΓòÉ
  7664.  
  7665. A breakpoint is a defined location or condition in a program that, when it is 
  7666. met, stops the execution of the program. 
  7667.  
  7668.  
  7669. ΓòÉΓòÉΓòÉ 17.3. Clock Icon ΓòÉΓòÉΓòÉ
  7670.  
  7671. There are two wait states in the debugger. 
  7672.  
  7673. When the debugger is busy doing something, it displays a clock icon. This icon 
  7674. displays when the wait is over (for example, loading a program into the 
  7675. debugger). 
  7676.  
  7677. When your program is running, the debugger displays a clock icon with a 
  7678. rectangle behind it. This may mean that your program is waiting for input. If 
  7679. so, select your application window (if necessary) and provide it with the input 
  7680. it needs. 
  7681.  
  7682.  
  7683. ΓòÉΓòÉΓòÉ 17.4. Component ΓòÉΓòÉΓòÉ
  7684.  
  7685. Components are the executable files, source files or object files, and the 
  7686. functions that comprise a program. 
  7687.  
  7688.  
  7689. ΓòÉΓòÉΓòÉ 17.5. Context ΓòÉΓòÉΓòÉ
  7690.  
  7691. Context is the information relating to an expression or variable when it is 
  7692. valid. The information consists of the source file, line number, and thread. 
  7693.  
  7694.  
  7695. ΓòÉΓòÉΓòÉ 17.6. Debuggee ΓòÉΓòÉΓòÉ
  7696.  
  7697. Debuggee is the application that is being debugged. 
  7698.  
  7699.  
  7700. ΓòÉΓòÉΓòÉ 17.7. Debuggee window ΓòÉΓòÉΓòÉ
  7701.  
  7702. Debuggee window is a window built by the application being debugged. Every 
  7703. debuggee window is a descendent of the desktop or desktop-object window. 
  7704.  
  7705.  
  7706. ΓòÉΓòÉΓòÉ 17.8. Debugging data ΓòÉΓòÉΓòÉ
  7707.  
  7708. Debugging data is the symbolic and line number information contained in the 
  7709. executable file. 
  7710.  
  7711.  
  7712. ΓòÉΓòÉΓòÉ 17.9. Disable ΓòÉΓòÉΓòÉ
  7713.  
  7714. Disable prevents a thread from executing. 
  7715.  
  7716.  
  7717. ΓòÉΓòÉΓòÉ 17.10. Enable ΓòÉΓòÉΓòÉ
  7718.  
  7719. Enable allows a thread to execute. 
  7720.  
  7721.  
  7722. ΓòÉΓòÉΓòÉ 17.11. Event breakpoint ΓòÉΓòÉΓòÉ
  7723.  
  7724. An event breakpoint is one of the following: 
  7725.  
  7726.      A load occurrence breakpoint 
  7727.  
  7728.      A watchpoint. 
  7729.  
  7730.  
  7731. ΓòÉΓòÉΓòÉ 17.12. Executable files ΓòÉΓòÉΓòÉ
  7732.  
  7733. Executable files are the EXE or DLL files. 
  7734.  
  7735.  
  7736. ΓòÉΓòÉΓòÉ 17.13. Executable statement ΓòÉΓòÉΓòÉ
  7737.  
  7738. An executable statement is a statement where you can stop the execution of your 
  7739. program by setting breakpoints. These statements are initially displayed in 
  7740. blue. 
  7741.  
  7742.  
  7743. ΓòÉΓòÉΓòÉ 17.14. Functions ΓòÉΓòÉΓòÉ
  7744.  
  7745. A Function is a block of statements executed by a function call. Synonymous 
  7746. with procedures. 
  7747.  
  7748.  
  7749. ΓòÉΓòÉΓòÉ 17.15. Image ΓòÉΓòÉΓòÉ
  7750.  
  7751. Image is a graphical representation of a program s windows in three dimensions 
  7752. (x, y, and z). A window is represented on a plane (x and y), using its size and 
  7753. position. Window planes in the image are perpendicular to the z-axis and 
  7754. positioned in z-order. A window at the top of z-order has the largest z 
  7755. coordinate and is the top window. 
  7756.  
  7757.  
  7758. ΓòÉΓòÉΓòÉ 17.16. Load occurrence breakpoints ΓòÉΓòÉΓòÉ
  7759.  
  7760. A load occurrence breakpoint allows you to stop the execution of your program 
  7761. after the DLL that you specify is loaded. 
  7762.  
  7763.  
  7764. ΓòÉΓòÉΓòÉ 17.17. Local variables ΓòÉΓòÉΓòÉ
  7765.  
  7766. A local variable is a variable that is specific to a function. The debugger 
  7767. displays the following types of local variables: 
  7768.  
  7769.      Static 
  7770.  
  7771.      Automatic 
  7772.  
  7773.      Parameters. 
  7774.  
  7775.  
  7776. ΓòÉΓòÉΓòÉ 17.18. Location breakpoint ΓòÉΓòÉΓòÉ
  7777.  
  7778. A location breakpoint is one of the following: 
  7779.  
  7780.      A line breakpoint 
  7781.  
  7782.      An address breakpoint 
  7783.  
  7784.      A function breakpoint. 
  7785.  
  7786.  
  7787. ΓòÉΓòÉΓòÉ 17.19. Non-Debuggee ΓòÉΓòÉΓòÉ
  7788.  
  7789. Non-debuggee is an application that is not being debugged. 
  7790.  
  7791.  
  7792. ΓòÉΓòÉΓòÉ 17.20. Non-Debuggee window ΓòÉΓòÉΓòÉ
  7793.  
  7794. Non-debuggee window is a window not built by the application being debugged. 
  7795. Every non-debuggee window is a descendent of the desktop or desktop-object 
  7796. window. 
  7797.  
  7798.  
  7799. ΓòÉΓòÉΓòÉ 17.21. Object files ΓòÉΓòÉΓòÉ
  7800.  
  7801. Object files are the object (OBJ) files. 
  7802.  
  7803.  
  7804. ΓòÉΓòÉΓòÉ 17.22. Overloaded function ΓòÉΓòÉΓòÉ
  7805.  
  7806. An overloaded function in C++ is when you have two or more functions with the 
  7807. same name with different parameters. An overloaded function also occurs when 
  7808. you have the same function in different modules (EXE or DLLs). 
  7809.  
  7810.  
  7811. ΓòÉΓòÉΓòÉ 17.23. Parent-Child relationship ΓòÉΓòÉΓòÉ
  7812.  
  7813. Parent-child relationship defines the appearance of a window when it is drawn 
  7814. on the screen. A child window is drawn relative to its parent window. No part 
  7815. of a child window ever displays outside the borders of its parent window. 
  7816.  
  7817.  
  7818. ΓòÉΓòÉΓòÉ 17.24. Post messages ΓòÉΓòÉΓòÉ
  7819.  
  7820. Messages created through WinPostMsg or WinPostMsgQueu. The calls place the 
  7821. message on the Message Queue of the receiver. The message is posted on the 
  7822. Message Queue. The calls return immediately not waiting for the receiver to 
  7823. return. 
  7824.  
  7825.  
  7826. ΓòÉΓòÉΓòÉ 17.25. Prefix area ΓòÉΓòÉΓòÉ
  7827.  
  7828. Prefix area is the area within the source views where line numbers or address 
  7829. numbers are located. 
  7830.  
  7831.  
  7832. ΓòÉΓòÉΓòÉ 17.26. Process ΓòÉΓòÉΓòÉ
  7833.  
  7834. Process is the collection of one or more threads and their associated system 
  7835. resources, such as storage, open files, and devices. 
  7836.  
  7837.  
  7838. ΓòÉΓòÉΓòÉ 17.27. Program generated breakpoint ΓòÉΓòÉΓòÉ
  7839.  
  7840.  A program generated breakpoint is the trap instruction, which in the case of 
  7841. OS/2 is a CC instruction, which causes the program to stop as if a breakpoint 
  7842. has been encountered.  If this occurs, use the jump to location feature to go 
  7843. to the next instruction or source line. 
  7844.  
  7845.  
  7846. ΓòÉΓòÉΓòÉ 17.28. Program profiles ΓòÉΓòÉΓòÉ
  7847.  
  7848. Program profiles are used to restore the breakpoints, monitor expressions, and 
  7849. source windows when debugging a program more than once. They are stored 
  7850. separately for each program debugged and are stored when the debugger is closed 
  7851. or when starting to debug a different program. The file extension for the files 
  7852. that contain this information is @4R. 
  7853.  
  7854. Note:  All breakpoints are saved.  All other information such as monitors and 
  7855. source windows is saved only for the primary thread and only for executables 
  7856. and preloaded DLLs. 
  7857.  
  7858.  
  7859. ΓòÉΓòÉΓòÉ 17.29. Recursion level ΓòÉΓòÉΓòÉ
  7860.  
  7861. The number that represents the level of recursion of a function, where the 
  7862. number 0 represents the first invocation. A recursive function is a function 
  7863. that calls itself. 
  7864.  
  7865.  
  7866. ΓòÉΓòÉΓòÉ 17.30. Search Path ΓòÉΓòÉΓòÉ
  7867.  
  7868. The search path tells the debugger where to find the source file used in the 
  7869. Source and Mixed windows. The debugger searches for the source files in the 
  7870. following order: 
  7871.  
  7872.    1. The path defined by the CAT_OVERRIDE environment variable, if specified. 
  7873.  
  7874.    2. The path where the object file was compiled. 
  7875.  
  7876.    3. The path defined by the CAT_LOCAL_PATH environment variable, if 
  7877.       specified. 
  7878.  
  7879.    4. The path where the executable file is located. 
  7880.  
  7881.    5. The path defined by the CAT_PATH environment variable, if specified. 
  7882.  
  7883.    6. The current path. 
  7884.  
  7885.    7. The path defined in the INCLUDE environment variable. 
  7886.  
  7887.    8. The path of the last source file found in this debug session. 
  7888.  
  7889.  To override the normal search order, use the CAT_OVERRIDE environment 
  7890.  variable. To set the CAT_OVERRIDE environment variable, type the following at 
  7891.  the command prompt: 
  7892.  
  7893.        Set CAT_OVERRIDE=path
  7894.  
  7895.  where, path is the location of your source files. If the source file is not 
  7896.  found in the defined override path, the debugger uses the normal search order. 
  7897.  
  7898.  To set the number of spaces between tab stops in your source code, type the 
  7899.  following at the command prompt: 
  7900.  
  7901.        set CATTABGRID=n
  7902.  
  7903.  where, n is the increment number of spaces between tab stops. For example, if 
  7904.  n is 5, tab stops would be 5, 10, 15, and so on. 
  7905.  
  7906.  
  7907. ΓòÉΓòÉΓòÉ 17.31. Send messages ΓòÉΓòÉΓòÉ
  7908.  
  7909. Messages created through WinSendMsg call. The WinSendMsg function call does not 
  7910. complete until the message has been processed by the window procedure whose 
  7911. return value is returned. 
  7912.  
  7913. If the window receiving the message belongs to the same thread, the window 
  7914. function is called immediately as a subroutine. If the window is of another 
  7915. thread or process, the operating system switches to the appropriate thread then 
  7916. enters the necessary window procedure recursively. The message is not placed in 
  7917. the queue of the destination thread. 
  7918.  
  7919.  
  7920. ΓòÉΓòÉΓòÉ 17.32. Session ΓòÉΓòÉΓòÉ
  7921.  
  7922. Session is the collection of one or more processes associated with a virtual 
  7923. console such as keyboard, video display, or mouse. 
  7924.  
  7925.  
  7926. ΓòÉΓòÉΓòÉ 17.33. Shortcut keys ΓòÉΓòÉΓòÉ
  7927.  
  7928. Shortcut keys are the keyboard keys that you use to invoke the menu choices. 
  7929.  
  7930.  
  7931. ΓòÉΓòÉΓòÉ 17.34. Stopping thread ΓòÉΓòÉΓòÉ
  7932.  
  7933. A stopping thread is the thread that caused the program being debugged to stop. 
  7934.  
  7935.  
  7936. ΓòÉΓòÉΓòÉ 17.35. Storage ΓòÉΓòÉΓòÉ
  7937.  
  7938. The storage is the computer memory space in use during the execution of a 
  7939. program. 
  7940.  
  7941.  
  7942. ΓòÉΓòÉΓòÉ 17.36. Tag word ΓòÉΓòÉΓòÉ
  7943.  
  7944. The contents of a tag word tell you which registers are in use at a specific 
  7945. time. 
  7946.  
  7947.  
  7948. ΓòÉΓòÉΓòÉ 17.37. Thread ΓòÉΓòÉΓòÉ
  7949.  
  7950. A thread is the basic OS/2 unit of execution. A thread gives a program its 
  7951. context, including registers, stack, and processor mode. Multiple threads can 
  7952. be running at the same time, and any particular thread can start another 
  7953. thread. 
  7954.  
  7955.  
  7956. ΓòÉΓòÉΓòÉ 17.37.1. Time Stamp Check ΓòÉΓòÉΓòÉ
  7957.  
  7958. Information that is program profile information includes the time stamps on the 
  7959. executable files that make up the application. When you select to start a 
  7960. program with program profile, the debugger compares the time stamp in the 
  7961. executable program file (and the pre-loaded dynamic link libraries) with the 
  7962. time stamp on the program profile. If these time stamps do not match, a message 
  7963. box displays. 
  7964.  
  7965. Select Yes from the message box to start the program with program profile, 
  7966. select No to load the program without the program profile, or select Cancel to 
  7967. cancel the startup process and return to the Debug Session Control window. 
  7968.  
  7969. If the source file changed but was not compiled, breakpoints might be invalid 
  7970. or display on the wrong lines. 
  7971.  
  7972.  
  7973. ΓòÉΓòÉΓòÉ 17.38. Z-Order ΓòÉΓòÉΓòÉ
  7974.  
  7975. Z-order is the order of overlapping windows. Every window, in addition to 
  7976. having a screen position, has a z-order position. This viewing order is 
  7977. oriented along an imaginary axis, the z-axis, extending outward from the 
  7978. screen. A window at the bottom of the z-order is overlapped by all sibling 
  7979. windows. 
  7980.  
  7981.  
  7982. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7983.  
  7984. Trademark of International Business Machines