home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / HELP / DDE4HELP.HLP (.txt) < prev    next >
OS/2 Help File  |  1993-06-25  |  166KB  |  5,910 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. o IBM 
  29.  
  30. o OS/2 
  31.  
  32. o Presentation Manager 
  33.  
  34.  
  35. ΓòÉΓòÉΓòÉ 2. Glossary ΓòÉΓòÉΓòÉ
  36.  
  37. Double-click on any term for a definition: 
  38.  
  39. o Asynchronous 
  40. o Automatic variable 
  41. o Breakpoint 
  42. o Component 
  43. o Context 
  44. o Debug data 
  45. o Debuggee 
  46. o Desktop 
  47. o Desktop-object 
  48. o Disable 
  49. o Enable 
  50. o Event breakpoint 
  51. o Executable files 
  52. o Executable statement 
  53. o Functions 
  54. o Image 
  55. o Local variable 
  56. o Location breakpoint 
  57. o Non-debuggee 
  58. o Object files 
  59. o Overloaded 
  60. o Parent-child relationship 
  61. o Prefix area 
  62. o Process 
  63. o Recursion level 
  64. o Restart information 
  65. o Session 
  66. o Shortcut keys 
  67. o Stopping thread 
  68. o Storage 
  69. o Synchronous 
  70. o Tag word 
  71. o Thread. 
  72. o Post messages. 
  73. o Send messages. 
  74. o Profile information. 
  75. o Z-order. 
  76.  
  77.  
  78. ΓòÉΓòÉΓòÉ 2.1. Context ΓòÉΓòÉΓòÉ
  79.  
  80. Context is the information relating to an expression or variable when it is 
  81. valid.  The information consists of the source file, line number, and thread. 
  82.  
  83.  
  84. ΓòÉΓòÉΓòÉ 2.2. Profile information ΓòÉΓòÉΓòÉ
  85.  
  86. Profile information  This information does not pertain to the specific 
  87. application being debugged. 
  88.  
  89.  
  90. ΓòÉΓòÉΓòÉ 2.3. Post Messages ΓòÉΓòÉΓòÉ
  91.  
  92. Messages created through WinPostMsg or WinPostMsgQueu.  The calls place the 
  93. message on the Message Queue of the receiver.  The message is posted on the 
  94. Message Queue.  The calls return immediately not waiting for the receiver to 
  95. return. 
  96.  
  97.  
  98. ΓòÉΓòÉΓòÉ 2.4. Send Messages ΓòÉΓòÉΓòÉ
  99.  
  100. Messages created through WinSendMsg call.  The WinSendMsg function call does 
  101. not complete until the message has been processed by the window procedure whose 
  102. return value is returned. 
  103.  
  104. If the window receiving the message belongs to the same thread, the window 
  105. function is called immediately as a subroutine.  If the window is of another 
  106. thread or process, the operating system switches to the appropriate thread then 
  107. enters the necessary window procedure recursively.  The message is not placed 
  108. in the queue of the destination thread. 
  109.  
  110.  
  111. ΓòÉΓòÉΓòÉ 2.5. Parent-Child Relationship                          . ΓòÉΓòÉΓòÉ
  112.  
  113. Parent-child relationship defines the appearance of a window when it is drawn 
  114. on the screen.  A child window is drawn relative to its parent window.  No part 
  115. of a child window ever appears outside the borders of its parent window. 
  116.  
  117.  
  118. ΓòÉΓòÉΓòÉ 2.6. Image ΓòÉΓòÉΓòÉ
  119.  
  120. Image is a graphical representation of a program's windows in three dimensions 
  121. (x, y, and z).  A window is represented on a plane (x and y), using its size 
  122. and position.  Window planes in the image are perpendicular to the z-axis and 
  123. positioned in z-order. A window at the top of z-order has the largest z 
  124. coordinate and is the top window. 
  125.  
  126.  
  127. ΓòÉΓòÉΓòÉ 2.7. Z-Order ΓòÉΓòÉΓòÉ
  128.  
  129. Z-order is the order of overlapping windows.  Every window, in addition to 
  130. having a screen position, has a z-order position.  This viewing order is 
  131. oriented along an imaginary axis, the z-axis, extending outward from the 
  132. screen.  A window at the bottom of the z-order is overlapped by all sibling 
  133. windows. 
  134.  
  135.  
  136. ΓòÉΓòÉΓòÉ 2.8. Debuggee ΓòÉΓòÉΓòÉ
  137.  
  138. Debuggee is the application that is being debugged. 
  139.  
  140.  
  141. ΓòÉΓòÉΓòÉ 2.9. Non-Debuggee ΓòÉΓòÉΓòÉ
  142.  
  143. Non-debuggee is an application that is not being debugged. 
  144.  
  145.  
  146. ΓòÉΓòÉΓòÉ 2.10. Debuggee Window ΓòÉΓòÉΓòÉ
  147.  
  148. Debuggee window is a window built by the application being debugged.  Every 
  149. debuggee window is a descendent of the desktop or desktop-object window. 
  150.  
  151.  
  152. ΓòÉΓòÉΓòÉ 2.11. Non-debuggee Window ΓòÉΓòÉΓòÉ
  153.  
  154. Non-debuggee window is a window not built by the application being debugged. 
  155. Every non-debuggee window is a descendent of the desktop or desktop-object 
  156. window. 
  157.  
  158.  
  159. ΓòÉΓòÉΓòÉ 2.12. Desktop window ΓòÉΓòÉΓòÉ
  160.  
  161. Desktop window is a window automatically created by OS/2 when it starts a PM 
  162. interface session.  The desktop window serves as a base (bottom-most) window 
  163. for the windows which can be displayed.  Whether a descendent window is 
  164. actually seen depends on the window visibility, its position and size, and 
  165. overlapping windows.  The desktop window paints the background color of the 
  166. screen. 
  167.  
  168.  
  169. ΓòÉΓòÉΓòÉ 2.13. Desktop-Object Window ΓòÉΓòÉΓòÉ
  170.  
  171. Desktop-object window is a window automatically created by OS/2 when it starts 
  172. a PM interface session.  The desktop-object window serves as a base 
  173. (bottom-most) window for the windows that can not be displayed. This is 
  174. irrespective for the window visibility, its position and size, and overlapping 
  175. windows.  Any descendents of the desktop-object windows are called object 
  176. windows.  Object windows provide services to other windows. 
  177.  
  178.  
  179. ΓòÉΓòÉΓòÉ 2.14. Functions ΓòÉΓòÉΓòÉ
  180.  
  181. A Function is a block of statements executed by a function call.  Synonymous 
  182. with procedures. 
  183.  
  184.  
  185. ΓòÉΓòÉΓòÉ 2.15. Overloaded ΓòÉΓòÉΓòÉ
  186.  
  187. An overloaded function occurs when there is more than one function with the 
  188. same name. 
  189.  
  190.  
  191. ΓòÉΓòÉΓòÉ 2.16. Executable statement ΓòÉΓòÉΓòÉ
  192.  
  193. An executable statement is a statement where you can stop the execution of your 
  194. program by setting breakpoints. These statements are displayed in blue. 
  195.  
  196.  
  197. ΓòÉΓòÉΓòÉ 2.17. Enable ΓòÉΓòÉΓòÉ
  198.  
  199. Enable allows a thread to execute. 
  200.  
  201.  
  202. ΓòÉΓòÉΓòÉ 2.18. Disable ΓòÉΓòÉΓòÉ
  203.  
  204. Disable prevents a thread to from executing. 
  205.  
  206.  
  207. ΓòÉΓòÉΓòÉ 2.19. Executable files ΓòÉΓòÉΓòÉ
  208.  
  209. Executable files are the EXE or DLL files. 
  210.  
  211.  
  212. ΓòÉΓòÉΓòÉ 2.20. Debug data ΓòÉΓòÉΓòÉ
  213.  
  214. Debug data is the symbolic and line number information contained in the 
  215. executable file. 
  216.  
  217.  
  218. ΓòÉΓòÉΓòÉ 2.21. Object Files ΓòÉΓòÉΓòÉ
  219.  
  220. Object files are the object (OBJ) files. 
  221.  
  222.  
  223. ΓòÉΓòÉΓòÉ 2.22. Process ΓòÉΓòÉΓòÉ
  224.  
  225. Process is the collection of one or more threads and their associated system 
  226. resources, such as storage, open files, and devices. 
  227.  
  228.  
  229. ΓòÉΓòÉΓòÉ 2.23. Restart information ΓòÉΓòÉΓòÉ
  230.  
  231. Restart information is used to restore the debugger windows and breakpoints 
  232. when debugging a program more than once. It is stored separately for each 
  233. program debugged. The file extension for the files that contain this 
  234. information is @2R. 
  235.  
  236. Note:  Only information for executable files and preloaded DLLs relating to the 
  237. primary thread is restored. 
  238.  
  239.  
  240. ΓòÉΓòÉΓòÉ 2.24. Session ΓòÉΓòÉΓòÉ
  241.  
  242. Session is the collection of one or more processes associated with a virtual 
  243. console such as keyboard, video display, or mouse. 
  244.  
  245.  
  246. ΓòÉΓòÉΓòÉ 2.25. Shortcut keys ΓòÉΓòÉΓòÉ
  247.  
  248. Shortcut keys are the keyboard keys that you use to invoke the menu choices. 
  249.  
  250.  
  251. ΓòÉΓòÉΓòÉ 2.26. Asynchronous ΓòÉΓòÉΓòÉ
  252.  
  253. When the debugger is operating in asynchronous mode and the debuggee is 
  254. stopped, message handling is stopped.  All processing of PM messages is 
  255. suspended except for the debugger which will continue to operate. All PM 
  256. messages are sent to the debugger, which answers the messages with a simple 
  257. generic response.  Thus, debuggee messages are lost. When you are running the 
  258. debugger in asynchronous mode, other PM applications running in the system do 
  259. not halt when the debugger stops. 
  260.  
  261.  
  262. ΓòÉΓòÉΓòÉ 2.27. Automatic variable ΓòÉΓòÉΓòÉ
  263.  
  264. A variable that is allocated during the invocation of the function containing 
  265. the variable is called an automatic variable. Every time a function is invoked, 
  266. a new copy of the variable is placed in storage. 
  267.  
  268.  
  269. ΓòÉΓòÉΓòÉ 2.28. Local variable ΓòÉΓòÉΓòÉ
  270.  
  271. A local variable is a variable that is specific to a function. The debugger 
  272. displays the following types of local variables: 
  273.  
  274. o Static 
  275. o Automatic 
  276. o Parameters. 
  277.  
  278.  
  279. ΓòÉΓòÉΓòÉ 2.29. Breakpoint ΓòÉΓòÉΓòÉ
  280.  
  281. A breakpoint is a defined location or condition in a program that, when it is 
  282. met, stops the execution of the program. 
  283.  
  284.  
  285. ΓòÉΓòÉΓòÉ 2.30. Event breakpoint ΓòÉΓòÉΓòÉ
  286.  
  287. An event breakpoint is one of the following: 
  288.  
  289. o A load occurrence breakpoint 
  290. o A change address breakpoint. 
  291.  
  292.  
  293. ΓòÉΓòÉΓòÉ 2.31. Stopping thread ΓòÉΓòÉΓòÉ
  294.  
  295. A stopping thread is the thread that caused the program being debugged to stop. 
  296.  
  297.  
  298. ΓòÉΓòÉΓòÉ 2.32. Location breakpoint ΓòÉΓòÉΓòÉ
  299.  
  300. A location breakpoint is one of the following: 
  301.  
  302. o A line breakpoint 
  303. o An address breakpoint 
  304. o A function breakpoint. 
  305.  
  306.  
  307. ΓòÉΓòÉΓòÉ 2.33. Prefix area ΓòÉΓòÉΓòÉ
  308.  
  309. Prefix area is the area within the program view windows where line numbers or 
  310. address numbers are located. 
  311.  
  312.  
  313. ΓòÉΓòÉΓòÉ 2.34. Component ΓòÉΓòÉΓòÉ
  314.  
  315. Components are the executable files, source files or object files, and the 
  316. functions that comprise a program. 
  317.  
  318.  
  319. ΓòÉΓòÉΓòÉ 2.35. Recursion level ΓòÉΓòÉΓòÉ
  320.  
  321. The number that represents the level of recursion of a function, where the 
  322. number 0 represents the first invocation. A recursive function is a function 
  323. that calls itself. 
  324.  
  325.  
  326. ΓòÉΓòÉΓòÉ 2.36. Storage ΓòÉΓòÉΓòÉ
  327.  
  328. The storage is the computer memory space in use during the execution of a 
  329. program. 
  330.  
  331.  
  332. ΓòÉΓòÉΓòÉ 2.37. Synchronous ΓòÉΓòÉΓòÉ
  333.  
  334. When the debugger is operating in synchronous mode and the debuggee is stopped, 
  335. message handling is stopped. All processing of PM messages is suspended except 
  336. for the debugger which will continue to operate.  The order of all messages is 
  337. maintained, except for the debugger.  No messages are lost. 
  338.  
  339.  
  340. ΓòÉΓòÉΓòÉ 2.38. Tag word ΓòÉΓòÉΓòÉ
  341.  
  342. The contents of a tag word tell a programmer which registers are in use at a 
  343. specific time. 
  344.  
  345.  
  346. ΓòÉΓòÉΓòÉ 2.39. Thread ΓòÉΓòÉΓòÉ
  347.  
  348. A thread is the basic OS/2 unit of execution.  A thread gives a program its 
  349. context, including registers, stack, and processor mode. Multiple threads can 
  350. be running at the same time, and any particular thread can start another 
  351. thread. 
  352.  
  353.  
  354. ΓòÉΓòÉΓòÉ 3. Debug Session Control Window ΓòÉΓòÉΓòÉ
  355.  
  356. The Debug Session Control window is the control window of the debugger and is 
  357. displayed during the entire debugging session. This window contains the threads 
  358. and components for the program you are debugging. 
  359.  
  360. The Threads box contains the threads and the state of the threads that have 
  361. been started by your program. The following states are possible for the threads 
  362. listed in the Threads box: 
  363.  
  364. o Enabled and runnable 
  365. o Disabled and runnable 
  366. o Critical and runnable 
  367. o Suspended and runnable 
  368. o Enabled and blocked 
  369. o Disabled and blocked 
  370. o Critical and blocked 
  371. o Suspended and blocked. 
  372.  
  373. To view the state of a thread, click on the plus icon to the left of the 
  374. thread. You may enable or disable the thread highlighted in the Threads list by 
  375. toggling the Enabled choice from the Run menu.  When a check mark is displayed, 
  376. threads are enabled and the debugger allows the highlighted thread to be 
  377. executed.  When the check mark is not displayed, threads are disabled and are 
  378. not executed. You can also double-click on Enabled to change the thread status 
  379. to Disabled. 
  380.  
  381. The Components box shows the executable files that are associated with the 
  382. program you are debugging. To display a list of object files contained within 
  383. an executable file, click on the plus icon to the left of the executable file 
  384. name. To open a program view of an object file, double-click on the object file 
  385. name. To display a list of functions for a specific object file, click on the 
  386. plus icon to the left of the object file name. To open a program view to a 
  387. specific function, double-click on the function name. You can view any 
  388. component by double-clicking on the name of the component displayed in the 
  389. Components box, or by highlighting the component and selecting a view from the 
  390. View cascading choice from the File menu. 
  391.  
  392. You specify which components are displayed in the Components list by selecting 
  393. Options  Window Settings  Only components with debug data. If this choice is 
  394. enabled, only components compiled and linked with debug data are listed. 
  395. Otherwise, all components are listed. 
  396.  
  397. You can also access any debugger window that is already open and hidden or 
  398. minimized by selecting the menu choice that displays that window from the 
  399. Windows menu. 
  400.  
  401. Menu Bar Summary 
  402.  
  403. File 
  404.   Start or end the debugging session and control the program views. 
  405.  
  406. Breakpoints 
  407.   Set and manipulate breakpoints in your programs. 
  408.  
  409. Windows 
  410.   Select other windows to be displayed. 
  411.  
  412. Run 
  413.   Execute the program, halt execution, or enable/disable threads. 
  414.  
  415. Options 
  416.   Access various utility action windows where you can set debugger options. 
  417.   These debugger options control the various debugger windows. 
  418.  
  419. Help 
  420.   You have access to several kinds of help information that compliment the 
  421.   online help information that you can get for the debugger.  Press F1 or 
  422.   select the Help push button. 
  423.  
  424.  
  425. ΓòÉΓòÉΓòÉ 3.1. File Menu ΓòÉΓòÉΓòÉ
  426.  
  427. Select choices from the File menu of the Debug Session Control window to start 
  428. programs, find the current line, replace your current program file with a 
  429. program file from another location or with a different name, restart the 
  430. current debugging session, restart a previous debugging session for this 
  431. program, and end the debugging session. 
  432.  
  433. Menu Summary 
  434.  
  435. View 
  436.   Select one of the three program view windows. 
  437.  
  438. Locate function 
  439.   Open a program view window to a particular function. 
  440.  
  441. Open new source 
  442.   Display a new source file. 
  443.  
  444. Where 
  445.   Open a program view containing the next line to be executed. 
  446.  
  447. Startup 
  448.   Start the program you want to debug after terminating the current program. 
  449.  
  450. Restart 
  451.   Restart the current debugging session. 
  452.  
  453. Close debug 
  454.   End the debugging session. 
  455.  
  456.  
  457. ΓòÉΓòÉΓòÉ 3.1.1. View Cascading Choice ΓòÉΓòÉΓòÉ
  458.  
  459. Select the View cascading choice to open a view of your program. You can view 
  460. the program as: 
  461.  
  462. o Source 
  463. o Disassembly 
  464. o Mixed. 
  465.  
  466. The selected view is displayed in a new window. Program views are 
  467. thread-specific. Executable lines are displayed in blue and non-executable 
  468. lines are displayed in black. Any lines that are highlighted in the existing 
  469. view are also highlighted in the new view and any breakpoints highlighted in 
  470. the prefix area of the existing view are also shown in the new view. If you 
  471. select a view that is already open, that view is focused and moved in front of 
  472. the other windows. 
  473.  
  474.  
  475. ΓòÉΓòÉΓòÉ 3.1.2. Where Choice ΓòÉΓòÉΓòÉ
  476.  
  477. Select the Where choice to locate the next line to be executed in the thread. 
  478.  
  479.  
  480. ΓòÉΓòÉΓòÉ 3.1.3. Startup Choice ΓòÉΓòÉΓòÉ
  481.  
  482. Select the Startup choice to start a program for debugging. You can select 
  483. Startup to finish debugging the program you are currently debugging and to 
  484. start another program for debugging. 
  485.  
  486. When you select Startup, the Startup Information action window appears. 
  487.  
  488.  
  489. ΓòÉΓòÉΓòÉ 3.1.4. Restart Choice ΓòÉΓòÉΓòÉ
  490.  
  491. Select the Restart choice to terminate the current program and start the 
  492. debugging session using restart information. 
  493.  
  494.  
  495. ΓòÉΓòÉΓòÉ 3.1.5. Source Filename Action Window ΓòÉΓòÉΓòÉ
  496.  
  497. The Source Filename action window appears when you try to open a component for 
  498. which you have debug data, but the debugger cannot locate the source code. 
  499.  
  500. To use the Source Filename action window: 
  501.  
  502.  1. If the source code is located in another directory on the system, type in 
  503.     the path name and select OK. 
  504.  
  505.  2. If you do not have the source code for this component, select Cancel. The 
  506.     Disassembly view is opened for this component. 
  507.  
  508.  
  509. ΓòÉΓòÉΓòÉ 3.2. Startup Information Action Window ΓòÉΓòÉΓòÉ
  510.  
  511. Use the Startup Information action window to specify the program you want to 
  512. start for this debugging session. 
  513.  
  514.  1. Select a program for debugging by using one of the following methods: 
  515.  
  516.    o Type the name of the program you want to start in the Program entry field. 
  517.      (If you type the name, it must be the full path name of the file). 
  518.  
  519.    o Open the Program list by selecting the arrow then selecting a program 
  520.      name. (The programs listed are those for which restart information has 
  521.      been saved). 
  522.  
  523.    o Select the File List push button and select a program from the Select 
  524.      Program action window. 
  525.  
  526.  2. Type any parameters you want to pass to your program in the Parameters 
  527.     entry field. Separate multiple parameters with a space. 
  528.  
  529.     Note:  All DLLs used by your program must be in directories specified in 
  530.     your LIBPATH. 
  531.  
  532.  3. Select one of the push buttons to continue. 
  533.  
  534. Program 
  535.  
  536. Type the name of the program you want to start for your debugging session. You 
  537. do not need to include the file name extension when you type the program name. 
  538.  
  539. Parameters 
  540.  
  541. If the program accepts parameters, type the parameters that you want to pass to 
  542. the program you are starting. 
  543.  
  544. Use restart information 
  545.  
  546. Select the Use restart information check box to start the debugging session 
  547. with 
  548.  
  549. Note:  Restart information is saved with a time stamp. A time stamp check is 
  550. done before the program is started with restart information. 
  551.  
  552. Debug program initialization 
  553.  
  554. Select Debug program initialization to halt execution of the application before 
  555. any initialization routines have been executed. This allows you to debug any 
  556. DLL initialization routines. 
  557.  
  558. Save session settings 
  559.  
  560. Select the Save session settings check box to save action window settings that 
  561. you saved for the next debugging session. 
  562.  
  563.  
  564. ΓòÉΓòÉΓòÉ 3.2.1. Push Buttons ΓòÉΓòÉΓòÉ
  565.  
  566. OK 
  567.   Select OK to accept the information you have entered and close this action 
  568.   window. 
  569.  
  570. Cancel 
  571.   Select Cancel to close this action window. 
  572.  
  573. Help 
  574.   Select Help to display help information that tells you how to use this action 
  575.   window. 
  576.  
  577.  
  578. ΓòÉΓòÉΓòÉ 3.2.2. Time Stamp Check ΓòÉΓòÉΓòÉ
  579.  
  580. Information that is restart information includes the time stamps on the 
  581. executable files that make up the application. When you select to start a 
  582. program with restart information, the debugger compares the time stamps in the 
  583. executable program file (and the pre-loaded dynamic link libraries) with the 
  584. time stamp on the restart information. If these time stamps do not match, a 
  585. message box is displayed. 
  586.  
  587. Select Yes from the message box to start the program with restart information, 
  588. select No to load the program without the restart information, or select Cancel 
  589. to cancel the startup process and return to the Debug Session Control window. 
  590.  
  591. If the source has been changed but not compiled, breakpoints might be invalid 
  592. or appear on the wrong line. 
  593.  
  594.  
  595. ΓòÉΓòÉΓòÉ 3.3. Breakpoints Menu ΓòÉΓòÉΓòÉ
  596.  
  597. Select choices from the Breakpoints menu to set breakpoints to stop the 
  598. execution of your program at any point.  You can set as many breakpoints as you 
  599. want. 
  600.  
  601. Breakpoints can be set from the Debug Session Control window or from the 
  602. program view windows. When you set a breakpoint in one view of your program, it 
  603. is reflected in the other appropriate views. 
  604.  
  605. There are five types of breakpoints that can be set. The breakpoints can be 
  606. customized using the various breakpoint action windows. 
  607.  
  608. Menu Summary 
  609.  
  610. Line 
  611.   Set a line breakpoint to stop the execution of your program at a specific 
  612.   line number. 
  613.  
  614. Function 
  615.   Set a function breakpoint to stop the execution of your program after a 
  616.   specific function is called. 
  617.  
  618. Address 
  619.   Set an address breakpoint to stop the execution of your program at specific 
  620.   address. 
  621.  
  622. Change address 
  623.   Set a change address breakpoint to stop the execution of your program when 
  624.   contents of memory at a given address changes. 
  625.  
  626. Load occurrence 
  627.   Set a load occurrence breakpoint to stop the execution of your program after 
  628.   a DLL is loaded. 
  629.  
  630. List 
  631.   List the breakpoints that have been set. 
  632.  
  633. Delete all 
  634.   Delete all the breakpoints that have been set. 
  635.  
  636. You can also set simple line breakpoints. Double-click on one of the following 
  637. for the procedure you use to set or clear simple line breakpoints: 
  638.  
  639. o Setting simple line breakpoints 
  640. o Clearing simple line breakpoints. 
  641.  
  642.  
  643. ΓòÉΓòÉΓòÉ 3.3.1. Line Choice ΓòÉΓòÉΓòÉ
  644.  
  645. Select the Line choice to stop the execution of your program at the line number 
  646. you select. When you select Line, the Line Breakpoint action window is 
  647. displayed. 
  648.  
  649. You can also set simple line breakpoints. Double-click on one of the following 
  650. for the procedure you use to set or clear simple line breakpoints: 
  651.  
  652. o Setting simple line breakpoints 
  653. o Clearing simple line breakpoints. 
  654.  
  655.  
  656. ΓòÉΓòÉΓòÉ 4. Setting Breakpoints ΓòÉΓòÉΓòÉ
  657.  
  658. Use the Setting Breakpoints action window to select the type of breakpoint you 
  659. want to set in your program.  The tabs at the bottom of the notebook represent 
  660. the five different types of breakpoints. 
  661.  
  662. For detailed information on how to set a breakpoint, double-click on one of the 
  663. following: 
  664.  
  665. Line 
  666.           Allows you to set a line breakpoint that stops the execution of your 
  667.           program at a line number. 
  668.  
  669. Function 
  670.           Allows you to set a function breakpoint that stops the execution of 
  671.           your program after the function that you specify is called. 
  672.  
  673. Address 
  674.           Allows you to set an address breakpoint that stops the execution of 
  675.           your program at an address. 
  676.  
  677. Change 
  678.           Allows you to set a change address breakpoint that stops the 
  679.           execution of your program after the contents of memory at a given 
  680.           address changes. 
  681.  
  682. Load 
  683.           Allows you to set a load occurrence breakpoint that stops the 
  684.           execution of your program after the DLL that you specify is loaded. 
  685.  
  686. List 
  687.           Allows you to see a list of all the breakpoints that have been set. 
  688.  
  689. You can also set simple line breakpoints. Double-click on one of the following 
  690. for the procedure you use to set or clear simple line breakpoints: 
  691.  
  692. o Setting simple line breakpoints 
  693. o Clearing simple line breakpoints. 
  694.  
  695.  
  696. ΓòÉΓòÉΓòÉ 4.1. Setting a Line Breakpoint ΓòÉΓòÉΓòÉ
  697.  
  698. Use the Line action window to set a line breakpoint. 
  699.  
  700. For a description of types you can enter in the action window, double-click on 
  701. one of the following topics: 
  702.  
  703. o Executable 
  704. o Source 
  705. o File 
  706. o Line number 
  707. o Expression 
  708. o Thread 
  709. o Every 
  710. o From 
  711. o To 
  712.  
  713. Select the appropriate  push button to continue. 
  714.  
  715.  
  716. ΓòÉΓòÉΓòÉ 4.1.1. Push Buttons ΓòÉΓòÉΓòÉ
  717.  
  718. OK 
  719.   Select OK to accept the information you have entered and to close this action 
  720.   window. 
  721.  
  722. Set 
  723.   Select Set to set a breakpoint. 
  724.  
  725. Default 
  726.   Select Default to change to the default settings. 
  727.  
  728. Cancel 
  729.   Select Cancel to close this action window. 
  730.  
  731. Help 
  732.   Select Help to display help information that tells you how to use this action 
  733.   window. 
  734.  
  735.  
  736. ΓòÉΓòÉΓòÉ 4.1.2. Push Buttons ΓòÉΓòÉΓòÉ
  737.  
  738. OK 
  739.   Select OK to accept the information you have entered and to close this action 
  740.   window. 
  741.  
  742. Set 
  743.   Select Set to set the breakpoints. 
  744.  
  745. Cancel 
  746.   Select Cancel to close this action window. 
  747.  
  748. Default 
  749.   Select Default to change to the default settings. 
  750.  
  751. File List 
  752.   Select File List to view a list of the files that you can select. 
  753.  
  754. Help 
  755.   Select Help to display help information that tells you how to use this action 
  756.   window. 
  757.  
  758.  
  759. ΓòÉΓòÉΓòÉ 4.1.3. Setting Simple Line Breakpoints ΓòÉΓòÉΓòÉ
  760.  
  761. To set a simple line breakpoint in all threads, double-click in the prefix area 
  762. of an executable statement in the: 
  763.  
  764. o Source view, to set the breakpoint at a specific statement 
  765.  
  766. o Disassembly view, to set the breakpoint at a specific machine instruction 
  767.  
  768. o Mixed view, to set the breakpoint at a specific machine instruction. (The 
  769.   lines of source code displayed in the Mixed view are treated as comment lines 
  770.   only.) 
  771.  
  772.   The prefix area turns red indicating that the breakpoint has been set. 
  773.  
  774.  
  775. ΓòÉΓòÉΓòÉ 4.1.4. Clearing Simple Line Breakpoints ΓòÉΓòÉΓòÉ
  776.  
  777. To remove a simple line breakpoint in all threads, double-click in a red prefix 
  778. area of the Source, Disassembly, or Mixed program view windows. The color 
  779. changes indicating that the breakpoint has been cleared. If the prefix area 
  780. turns grey instead, double-click again to make sure the breakpoint is cleared. 
  781.  
  782.  
  783. ΓòÉΓòÉΓòÉ 4.1.5. Executable ΓòÉΓòÉΓòÉ
  784.  
  785. If you are setting a breakpoint, select a component from the Executable list: 
  786.  
  787.  1. Open the Executable list by selecting the arrow with your mouse. 
  788.  
  789.  2. Highlight the executable where you want to set the breakpoint. 
  790.  
  791.     OR 
  792.  
  793.  3. Type the name of the executable in the entry field. 
  794.  
  795.  
  796. ΓòÉΓòÉΓòÉ 4.1.6. Source ΓòÉΓòÉΓòÉ
  797.  
  798. If you are setting a line breakpoint, select a component from the Source list: 
  799.  
  800.  1. Open the Source list by selecting the arrow with your mouse. 
  801.  
  802.  2. Highlight the source where you want to set the breakpoint. 
  803.  
  804.     OR 
  805.  
  806.  3. Type the name of the source in the entry field. 
  807.  
  808.  
  809. ΓòÉΓòÉΓòÉ 4.1.7. Line Number ΓòÉΓòÉΓòÉ
  810.  
  811. To set a line breakpoint, type the line number in the line number entry field. 
  812. The breakpoint will be set on the line number you selected. 
  813.  
  814.  
  815. ΓòÉΓòÉΓòÉ 4.1.8. Address Choice ΓòÉΓòÉΓòÉ
  816.  
  817. Select the Address choice to stop the execution of your program at the address 
  818. you select. When you select Address, the Address Breakpoint action window is 
  819. displayed. 
  820.  
  821.  
  822. ΓòÉΓòÉΓòÉ 4.2. Setting an Address Breakpoint ΓòÉΓòÉΓòÉ
  823.  
  824. Use the Address action window to set an address breakpoint. Type in the address 
  825. that represents the location in your program where you want to set the 
  826. breakpoint. 
  827.  
  828. Note:  The address can be either segmented or flat format. 
  829.  
  830. To set an address breakpoint for the address 000A1FCC, you would type the 
  831. following in the Address (hex) entry field. 
  832.  
  833. A1FCC
  834.  
  835. For a description of types of data you can enter in the action window, 
  836. double-click on one of the following topics: 
  837.  
  838. o Expression 
  839. o Thread 
  840. o Every 
  841. o From 
  842. o To 
  843.  
  844. Click on the appropriate  push button to continue. 
  845.  
  846.  
  847. ΓòÉΓòÉΓòÉ 4.2.1. Function Choice ΓòÉΓòÉΓòÉ
  848.  
  849. Select the Function choice to stop the execution of your program after the 
  850. function that you specify is called.  When you select Function, the Function 
  851. Breakpoint action window is displayed. 
  852.  
  853.  
  854. ΓòÉΓòÉΓòÉ 4.3. Setting a Function Breakpoint ΓòÉΓòÉΓòÉ
  855.  
  856. Use the Function action window to set a function breakpoint. Type the name of 
  857. the function. If a function is overloaded, then a window is displayed with a 
  858. list of all the overloaded function names.  Select one of the functions from 
  859. the list. 
  860.  
  861. For a description of types of data you can enter in the action window, 
  862. double-click on one of the following topics: 
  863.  
  864. o Executable 
  865. o Source 
  866. o Function 
  867. o Expression 
  868. o Thread 
  869. o Every 
  870. o From 
  871. o To. 
  872.  
  873. All executables 
  874.  
  875. Enable this option if you want to search all the executable files for the 
  876. function. 
  877.  
  878. Note:  To search for a function in a particular executable file, disable this 
  879. option and type in the name of the executable file in the Executable entry 
  880. field and the name of the source file in the Source entry field 
  881.  
  882. Debug data only 
  883.  
  884. Enable this option if you want to search only the object files that contain 
  885. debug data. 
  886.  
  887. Case Sensitive 
  888.  
  889. Enable this option if you want to search for the string exactly as typed. 
  890. Disable this option if you want to search for both uppercase and lowercase 
  891. characters. 
  892.  
  893. Function Example: 
  894.  
  895. To set a function breakpoint for the function my_func, you would type the 
  896. following in the Function entry field. 
  897.  
  898. my_func
  899.  
  900. Note:  You cannot set a function breakpoint to a function name that was defined 
  901.        using the define preprocessor directive. 
  902.  
  903. Click on the appropriate  push button to continue. 
  904.  
  905.  
  906. ΓòÉΓòÉΓòÉ 4.3.1. Load Occurrence Choice ΓòÉΓòÉΓòÉ
  907.  
  908. Select the Load Occurrence choice to stop the execution of your program after 
  909. the DLL that you specify is loaded.  When you select Load Occurrence, the Load 
  910. Occurrence Breakpoint action window is displayed. 
  911.  
  912.  
  913. ΓòÉΓòÉΓòÉ 4.4. Setting a Load Occurrence Breakpoint ΓòÉΓòÉΓòÉ
  914.  
  915. To set a load occurrence breakpoint, type the name of the DLL.  Execution stops 
  916. when the DLL is loaded. 
  917.  
  918. Load Occurrence Example: 
  919.  
  920. You would type the following in the DLL file name entry field to set a load 
  921. occurrence breakpoint when MY.DLL is loaded: 
  922.  
  923. MY.DLL
  924.  
  925. For a description of types of data you can enter in the action window, 
  926. double-click on one of the following topics: 
  927.  
  928. o Thread 
  929. o Every 
  930. o From 
  931. o To 
  932.  
  933. Click on the appropriate  push button to continue. 
  934.  
  935.  
  936. ΓòÉΓòÉΓòÉ 4.4.1. Change Address Choice ΓòÉΓòÉΓòÉ
  937.  
  938. Select the Change address choice to stop the execution of your program after 
  939. the contents of memory at a given address changes.  When you select Change 
  940. address, the Change Address Breakpoint action window is displayed. 
  941.  
  942.  
  943. ΓòÉΓòÉΓòÉ 4.5. Setting a Change Address Breakpoint ΓòÉΓòÉΓòÉ
  944.  
  945. To set a change address breakpoint, type a hexadecimal address and select the 
  946. range of bytes. The range of bytes can be one of the numbers:1, 2, or 4. The 
  947. 2-byte range must be aligned on a word boundary and the 4-byte range must be 
  948. aligned on a doubleword boundary. 
  949.  
  950. Execution stops when the specified range of memory changes. 
  951.  
  952. Change - Address Example: 
  953.  
  954. You would type the following in the Address (hex) entry field to set a change - 
  955. address breakpoint starting at address 000A1FCC. 
  956.  
  957. A1FCC
  958.  
  959. Warning: If you set a change address breakpoint that is on the stack, you 
  960. should remove the breakpoint prior to leaving the routine associated with the 
  961. breakpoint.  Otherwise, when you return from the routine, the routine's stack 
  962. frame will be removed from the stack leaving the breakpoint intact.  Any other 
  963. routine that gets loaded on the stack will then contain the breakpoint. 
  964.  
  965. For a description of types of data you can enter in the action window, 
  966. double-click on one of the following topics: 
  967.  
  968. o Thread 
  969. o Every 
  970. o From 
  971. o To 
  972.  
  973. Click on the appropriate  push button to continue. 
  974.  
  975.  
  976. ΓòÉΓòÉΓòÉ 4.5.1. File ΓòÉΓòÉΓòÉ
  977.  
  978. If the source you selected has include files with executable statements, then 
  979. the File list displays all the file names that contain executable lines. 
  980.  
  981.  1. Open the File list by selecting the arrow with your mouse. 
  982.  
  983.  2. Highlight the file where you want to set the breakpoint. 
  984.  
  985.     OR 
  986.  
  987.  3. Type the name of the file in the entry field. 
  988.  
  989.  
  990. ΓòÉΓòÉΓòÉ 4.5.2. Function ΓòÉΓòÉΓòÉ
  991.  
  992. Type in the name of the function where you want to set the breakpoint or select 
  993. a function from the Function list: 
  994.  
  995.  1. Open the Function list by selecting the arrow with your mouse. 
  996.  
  997.  2. Highlight the function you want to set the breakpoint. 
  998.  
  999.     OR 
  1000.  
  1001.  3. Type the name of the function in the entry field. 
  1002.  
  1003.  
  1004. ΓòÉΓòÉΓòÉ 4.5.3. Expression ΓòÉΓòÉΓòÉ
  1005.  
  1006. If you are setting an address, function, or line breakpoint, you can also type 
  1007. in an expression. The execution of the program stops only if this condition 
  1008. tests true. For example, you could type the following: 
  1009.  
  1010.    (i==1) || (j==k) && (k!=5)
  1011.  
  1012. Note:  Variables in a conditional expression associated with a Function 
  1013. breakpoint are limited to any static or global variables that are known to the 
  1014. called function when the function is called. Local variables and automatic 
  1015. variables cannot be used. 
  1016.  
  1017. The maximum length of the condition is 256 characters. 
  1018.  
  1019.  
  1020. ΓòÉΓòÉΓòÉ 4.5.4. Thread ΓòÉΓòÉΓòÉ
  1021.  
  1022. To select a thread ID from the Thread list: 
  1023.  
  1024.  1. Open the Thread list by selecting the arrow with your mouse. 
  1025.  
  1026.  2. Highlight the thread where you want to set the breakpoint. 
  1027.  
  1028. Select Every, the default, to set a breakpoint in all of the active threads in 
  1029. your program. The Every choice is thread independent. Select one of the 
  1030. individual threads to set a breakpoint in one thread only. Threads are added to 
  1031. the Thread list as new threads are activated. 
  1032.  
  1033.  
  1034. ΓòÉΓòÉΓòÉ 4.5.5. Every ΓòÉΓòÉΓòÉ
  1035.  
  1036. This field is used for location breakpoints only. Type in a whole integer 
  1037. number to indicate how often the breakpoint should be activated within the From 
  1038. and To range. 
  1039.  
  1040.  
  1041. ΓòÉΓòÉΓòÉ 4.5.6. From ΓòÉΓòÉΓòÉ
  1042.  
  1043. This field is used for location breakpoints only. Type in a whole integer 
  1044. number to start activating the breakpoint the nth time the location is 
  1045. encountered. 
  1046.  
  1047.  
  1048. ΓòÉΓòÉΓòÉ 4.5.7. To ΓòÉΓòÉΓòÉ
  1049.  
  1050. This field is used for location breakpoints only. Type in a whole integer 
  1051. number to stop activating the breakpoint after the nth time the location is 
  1052. encountered. 
  1053.  
  1054.  
  1055. ΓòÉΓòÉΓòÉ 4.5.8. Push Buttons ΓòÉΓòÉΓòÉ
  1056.  
  1057. OK 
  1058.   Select OK to set the breakpoint and close this action window. 
  1059.  
  1060. Cancel 
  1061.   Select Cancel to close this action window. 
  1062.  
  1063. Help 
  1064.   Select Help to display help information that tells you how to use this action 
  1065.   window. 
  1066.  
  1067. Default 
  1068.   Select Default to change the current window information to the debugger 
  1069.   defaults. 
  1070.  
  1071.  
  1072. ΓòÉΓòÉΓòÉ 4.5.9. List Choice ΓòÉΓòÉΓòÉ
  1073.  
  1074. Select the List choice to list the breakpoints that you have set. When you 
  1075. select List, the List Breakpoint action window is displayed. 
  1076.  
  1077.  
  1078. ΓòÉΓòÉΓòÉ 4.5.10. Delete All Choice ΓòÉΓòÉΓòÉ
  1079.  
  1080. Select the Delete all choice to delete all the breakpoints that you have set. 
  1081.  
  1082. When you select Delete all, an information box is displayed for verification 
  1083. that you want to delete all the breakpoints. 
  1084.  
  1085.  
  1086. ΓòÉΓòÉΓòÉ 4.6. List Action Window ΓòÉΓòÉΓòÉ
  1087.  
  1088. Use the List action window to display a list of the breakpoints that have been 
  1089. set. The following information is also provided for each breakpoint. 
  1090.  
  1091. o The enablement state 
  1092. o The type of breakpoint 
  1093. o The position of the breakpoint 
  1094. o The conditions under which the breakpoint is activated. 
  1095.  
  1096. Push Buttons Summary 
  1097.  
  1098. OK 
  1099.   Select OK to accept the information you have entered and close this action 
  1100.   window. 
  1101.  
  1102. Delete 
  1103.   Remove the highlighted breakpoint. 
  1104.  
  1105. Delete all 
  1106.   Remove all of the breakpoints displayed in the action window. 
  1107.  
  1108. Sort 
  1109.   Sort the breakpoints by different categories. 
  1110.  
  1111. Disable/Enable 
  1112.   Disable or enable the highlighted breakpoint. 
  1113.  
  1114. Modify 
  1115.   Modify the existing breakpoints. 
  1116.  
  1117. Help 
  1118.   Displays the online help for this action window. 
  1119.  
  1120.  
  1121. ΓòÉΓòÉΓòÉ 4.6.1. Modify ΓòÉΓòÉΓòÉ
  1122.  
  1123. Use the Modify push button to change the breakpoints that have been set in your 
  1124. program. 
  1125.  
  1126. To modify a breakpoint: 
  1127.  
  1128.  1. Highlight the breakpoint you want to change. 
  1129.  
  1130.  2. Select the Modify push button. 
  1131.  
  1132.     The page of notebook is turned to the appropriate type of breakpoint. 
  1133.  
  1134.  3. The entry fields contain the information pertaining to that breakpoint. 
  1135.     Make your changes to the entry fields. 
  1136.  
  1137.  4. Select OK to accept the changes and close the action window.  If you want 
  1138.     to make other changes, select Set to accept the changes and keep the action 
  1139.     window open. 
  1140.  
  1141.  
  1142. ΓòÉΓòÉΓòÉ 4.6.2. Sort Action Window ΓòÉΓòÉΓòÉ
  1143.  
  1144. Use the Sort action window to sort the breakpoints that have been set in your 
  1145. program. 
  1146.  
  1147. Breakpoints can be sorted according to the following categories: 
  1148.  
  1149. o Type 
  1150. o Executable 
  1151. o Source 
  1152. o File 
  1153. o Function 
  1154. o Line number 
  1155. o Address 
  1156. o Status 
  1157. o Thread 
  1158. o Condition 
  1159. o From 
  1160. o To 
  1161. o Every. 
  1162.  
  1163. Select the category you want and click on the appropriate push button to 
  1164. continue. 
  1165.  
  1166.  
  1167. ΓòÉΓòÉΓòÉ 4.7. Windows Menu ΓòÉΓòÉΓòÉ
  1168.  
  1169. Select choices from the Windows menu to view other debugger windows. 
  1170.  
  1171. Menu Summary 
  1172.  
  1173. Local variables 
  1174.   Display the local variables for the program's current function. 
  1175.  
  1176. Registers 
  1177.   Monitor registers and flags for a particular component or thread. 
  1178.  
  1179. Stack 
  1180.   Monitor the call chain stack for a particular thread. 
  1181.  
  1182. Program monitor 
  1183.   Create or focus the Program Monitor window. 
  1184.  
  1185. Storage 
  1186.   Monitor the storage in your program. 
  1187.  
  1188. Window Analysis 
  1189.   Display the windows of the program in a three dimensional view. 
  1190.  
  1191. Message queue monitor 
  1192.   Display the PM messages associated with a PM application. 
  1193.  
  1194. Inheritance 
  1195.   Display the class hierarchy of a C++ program. 
  1196.  
  1197.  
  1198. ΓòÉΓòÉΓòÉ 4.8. Run Menu ΓòÉΓòÉΓòÉ
  1199.  
  1200. Select choices from the Run menu to execute your program, halt execution, or 
  1201. enable or disable threads. 
  1202.  
  1203. When you select a choice from the Run menu, the mouse pointer changes to a 
  1204. clock icon to indicate that the application is running and might require input 
  1205. to continue to the next breakpoint or termination of the program. 
  1206.  
  1207. Menu Summary 
  1208.  
  1209. Thread enabled 
  1210.   Enable or disable threads. 
  1211.  
  1212. Run 
  1213.   Execute the program from the current line until a breakpoint is encountered 
  1214.   or the program terminates. 
  1215.  
  1216. Halt 
  1217.   Interrupt the program you are debugging. 
  1218.  
  1219.  
  1220. ΓòÉΓòÉΓòÉ 4.8.1. Thread Enabled Choice ΓòÉΓòÉΓòÉ
  1221.  
  1222. Select the Thread enabled choice so that the thread that is highlighted in the 
  1223. Threads box is executed when the program runs. When threads are enabled, a ΓêÜ 
  1224. symbol appears beside the Thread enabled choice. When threads are not enabled, 
  1225. a ΓêÜ symbol is not displayed and the highlighted thread is not executed when the 
  1226. program runs. 
  1227.  
  1228.  
  1229. ΓòÉΓòÉΓòÉ 4.8.2. Storage Conditional Choice ΓòÉΓòÉΓòÉ
  1230.  
  1231. Select the Storage conditional choice to display the contents of storage used 
  1232. by your program.  You can choose to open a new storage window, or you can 
  1233. locate a storage window that is already open by clicking on the arrow. 
  1234.  
  1235. New               Open a new storage window. 
  1236.  
  1237. storage address   Locate a storage window that is already open. 
  1238.  
  1239.  
  1240. ΓòÉΓòÉΓòÉ 4.8.3. New Choice ΓòÉΓòÉΓòÉ
  1241.  
  1242. Select the New choice to open a new storage window. 
  1243.  
  1244.  
  1245. ΓòÉΓòÉΓòÉ 4.8.4. Storage Address Choice ΓòÉΓòÉΓòÉ
  1246.  
  1247. Select the storage address choice to open an existing storage window. 
  1248.  
  1249.  
  1250. ΓòÉΓòÉΓòÉ 4.8.5. Using the Storage Window ΓòÉΓòÉΓòÉ
  1251.  
  1252. You can scroll through storage using the up or down arrow keys and the PageUp 
  1253. or PageDown keys. 
  1254.  
  1255. To update the storage contents, type over the contents displayed in the Storage 
  1256. window. The display is updated when an elapsed time of one second occurs after 
  1257. the last keystroke has been entered. The contents of all affected windows are 
  1258. updated for each character changed in the Storage window. 
  1259.  
  1260. To specify a new address location, type over the address field displayed in the 
  1261. Storage window. When an elapsed time of one second occurs after the last 
  1262. keystroke has been entered, the window scrolls to the appropriate storage 
  1263. location. 
  1264.  
  1265.  
  1266. ΓòÉΓòÉΓòÉ 4.8.6. Storage Data Displayed ΓòÉΓòÉΓòÉ
  1267.  
  1268. The following information can be displayed in the Storage window: 
  1269.  
  1270. o Fields for the displayed addresses. You can select one of the following 
  1271.   memory models for the addresses that are displayed: 
  1272.  
  1273.    - 16:16 (segmented) memory addresses 
  1274.    - Flat memory model addresses 
  1275.    - Both segmented and flat memory model addresses. 
  1276.  
  1277. o Fields for the data storage contents. The number of fields displayed and 
  1278.   their display characteristics depend on the storage style you select. Storage 
  1279.   can be displayed as hex, integer, float, or ASCII. 
  1280.  
  1281. o Titles for the displayed addresses and storage content fields. 
  1282.  
  1283.  
  1284. ΓòÉΓòÉΓòÉ 4.8.7. Registers Choice ΓòÉΓòÉΓòÉ
  1285.  
  1286. Select the Registers choice to display the processor and math coprocessor 
  1287. registers. 
  1288.  
  1289.  
  1290. ΓòÉΓòÉΓòÉ 4.8.8. Stack Choice ΓòÉΓòÉΓòÉ
  1291.  
  1292. Select the Stack choice to list the active functions or procedures for a 
  1293. particular thread. 
  1294.  
  1295. One call stack exists for each thread. The Stack window displays the call stack 
  1296. information for a given thread. The functions are displayed in the order that 
  1297. they were called. 
  1298.  
  1299. The Stack window contains a line of data for each function call. Each line 
  1300. contains the function name of the procedure or function followed by the data 
  1301. you select in the Display Style action window. You can display the following 
  1302. information for call stack items: 
  1303.  
  1304. o Entry number 
  1305. o Function 
  1306. o Source 
  1307. o Recursion level. 
  1308.  
  1309.  
  1310. ΓòÉΓòÉΓòÉ 4.8.9. Local Variables Choice ΓòÉΓòÉΓòÉ
  1311.  
  1312. Select the Local variables choice to display the local variables (static, 
  1313. automatic, and parameters) for the current function. The local variables are 
  1314. displayed in the Local Variable Monitor window. 
  1315.  
  1316.  
  1317. ΓòÉΓòÉΓòÉ 4.9. Options Menu ΓòÉΓòÉΓòÉ
  1318.  
  1319. Select choices from the Options menu to control the debugger windows. 
  1320.  
  1321. Menu Summary 
  1322.  
  1323. Window settings 
  1324.   Control how the items in the Debug Session Control window are displayed. 
  1325.  
  1326. Session settings 
  1327.   Display action windows to control the debugger windows. 
  1328.  
  1329. Profile 
  1330.   Change the location of the debugger restart information. file and save or 
  1331.   delete restart information for programs that you have debugged. 
  1332.  
  1333.  
  1334. ΓòÉΓòÉΓòÉ 4.9.1. Window Settings Choice ΓòÉΓòÉΓòÉ
  1335.  
  1336. Select choices from the Window settings choice to modify the characteristics of 
  1337. the Debug Session Control window. 
  1338.  
  1339. Menu Summary 
  1340.  
  1341. Only components with debug data 
  1342.   Display components that contain debug data. 
  1343.  
  1344. Sort threads 
  1345.   Sort the threads in the numerical order. 
  1346.  
  1347. Sort components 
  1348.   Sort the components in alphabetical order. 
  1349.  
  1350. Titles on 
  1351.   Enable or disable the titles from being displayed in the window. 
  1352.  
  1353. Fonts 
  1354.   Select the font you want to use for the text displayed in the active window. 
  1355.  
  1356.  
  1357. ΓòÉΓòÉΓòÉ 4.9.2. Only Components with Debug Data ΓòÉΓòÉΓòÉ
  1358.  
  1359. You can specify which components are displayed in the Components box. If this 
  1360. option is enabled, a ΓêÜ symbol appears beside the Only components with debug 
  1361. data menu choice and only components containing debug information are listed. 
  1362. If it is not, all components are listed. 
  1363.  
  1364.  
  1365. ΓòÉΓòÉΓòÉ 4.9.3. Session Settings Cascading Choice ΓòÉΓòÉΓòÉ
  1366.  
  1367. Select choices from the Session settings cascading choice to set various 
  1368. debugger options that control how the debugger windows are displayed. These 
  1369. settings affect the behavior of the debugger and remain in effect for the 
  1370. duration of the debugging session. 
  1371.  
  1372. Menu Summary 
  1373.  
  1374. Source window properties 
  1375.   Select the view that is to be displayed when the debugger starts and how to 
  1376.   process the views. 
  1377.  
  1378. Monitor properties 
  1379.   Select the settings for the variable monitor windows. 
  1380.  
  1381. PM debugging mode 
  1382.   Set parameters that control how the debugger handles messages passed within 
  1383.   the debugger and between other PM applications. 
  1384.  
  1385. Default data representation 
  1386.   Select how you want your data displayed in monitor windows. 
  1387.  
  1388. Animation rate 
  1389.   Specify the rate at which you can automatically execute lines of code in your 
  1390.   program. 
  1391.  
  1392. Initial window placement 
  1393.   Select the initial position and size of the debugger windows. 
  1394.  
  1395.  
  1396. ΓòÉΓòÉΓòÉ 4.9.4. Sort Threads ΓòÉΓòÉΓòÉ
  1397.  
  1398. You can specify to sort the threads in numerical order from the Threads box. If 
  1399. this option is enabled, a ΓêÜ symbol appears beside the sort threads choice and 
  1400. threads are sorted numerically. 
  1401.  
  1402.  
  1403. ΓòÉΓòÉΓòÉ 4.9.5. Sort Components ΓòÉΓòÉΓòÉ
  1404.  
  1405. You can specify to sort the components in alphabetical order from the 
  1406. Components box. If this option is enabled, a ΓêÜ symbol appears beside the Sort 
  1407. components choice and components are sorted alphabetically. 
  1408.  
  1409.  
  1410. ΓòÉΓòÉΓòÉ 4.9.6. Titles On ΓòÉΓòÉΓòÉ
  1411.  
  1412. You can specify to display the titles or to turn the titles off in the Debug 
  1413. Session Control window. The titles are Threads and Components. If this option 
  1414. is enabled, a ΓêÜ symbol appears beside the Titles on choice and titles are 
  1415. displayed. 
  1416.  
  1417.  
  1418. ΓòÉΓòÉΓòÉ 4.9.7. PM Debugging Mode Choice ΓòÉΓòÉΓòÉ
  1419.  
  1420. The PM Debugging Mode choice allows to set the debugging mode to asynchronous 
  1421. or synchronous, and control the interaction between the program windows and PM, 
  1422. while the application has stopped executing. 
  1423.  
  1424. When you select PM debugging mode, the PM Debugging Mode action window is 
  1425. displayed. 
  1426.  
  1427.  
  1428. ΓòÉΓòÉΓòÉ 4.9.8. Asynchronous ΓòÉΓòÉΓòÉ
  1429.  
  1430. When the debugger is operating in asynchronous mode and the program you are 
  1431. debugging is stopped, the debugger immediately responds to messages that have 
  1432. been sent to the program being debugged on this program's behalf. The debugger 
  1433. answers the messages with a simple default response, freeing up other processes 
  1434. to operate while the debugger has control. When you are running the debugger in 
  1435. asynchronous mode, other PM applications running in the system are not blocked 
  1436. when the program being debugged stops. 
  1437.  
  1438. Warning: Do not operate the debugger in asynchronous mode if the PM application 
  1439. that you are debugging requires the appropriate response to its messages. For 
  1440. example, a dynamic data exchange (DDE) message would require the appropriate 
  1441. response. 
  1442.  
  1443.  
  1444. ΓòÉΓòÉΓòÉ 4.9.9. Synchronous ΓòÉΓòÉΓòÉ
  1445.  
  1446. When the debugger is operating in synchronous mode, the messages that are 
  1447. passed between PM applications are answered by their target applications in the 
  1448. order that they were created. The messages that are passed within the debugger 
  1449. take priority over any other messages that are passed in the system. 
  1450.  
  1451. When the program being debugged is stopped and the debugger is in synchronous 
  1452. mode, other PM applications are locked, leaving the debugger free to operate. 
  1453. In synchronous mode, you will not be able to use any other PM applications that 
  1454. are running. 
  1455.  
  1456.  
  1457. ΓòÉΓòÉΓòÉ 4.9.10. Default Data Representation Choice ΓòÉΓòÉΓòÉ
  1458.  
  1459. When you select Default data representation, a cascaded menu is displayed with 
  1460. language choices.  This lets you change the default representation for a data 
  1461. type in the language that you select. 
  1462.  
  1463.  
  1464. ΓòÉΓòÉΓòÉ 4.9.11. System Choice ΓòÉΓòÉΓòÉ
  1465.  
  1466. Select the System choice to change the default representation of the math 
  1467. coprocessor registers.  This choice is language independent. 
  1468.  
  1469. When you select the System choice, the Default Representation action window is 
  1470. displayed. 
  1471.  
  1472.  
  1473. ΓòÉΓòÉΓòÉ 4.9.12. Language Choices ΓòÉΓòÉΓòÉ
  1474.  
  1475. Select a language to change the default representation of the selected data 
  1476. type. For example, you can change the default representation for an integer in 
  1477. the C language from decimal to hexadecimal. 
  1478.  
  1479. When you select the System choice, the Default Representation action window is 
  1480. displayed. 
  1481.  
  1482.  
  1483. ΓòÉΓòÉΓòÉ 4.10. Default Representation Action Window ΓòÉΓòÉΓòÉ
  1484.  
  1485. Use the Default Representation action window to select the default data 
  1486. representation. 
  1487.  
  1488. Select the appropriate radio button(s) for the data type you want. 
  1489.  
  1490. Select the appropriate push button to continue. 
  1491.  
  1492.  
  1493. ΓòÉΓòÉΓòÉ 4.11. Animation Rate Action Window ΓòÉΓòÉΓòÉ
  1494.  
  1495. When you select Animate from the Run menu, the debugger automatically does Step 
  1496. over commands to execute your statements one line at a time. The animation rate 
  1497. specifies the rate at which the debugger is automatically executed. 
  1498.  
  1499. To change the speed at which single lines of code are automatically executed: 
  1500.  
  1501.  1. Set the speed of execution by positioning the slider between the slow and 
  1502.     fast limits or by entering a number in the entry field. 
  1503.  
  1504.     The numbers (1 to 20) are for reference purposes only. The true speed of 
  1505.     animation depends on the: 
  1506.  
  1507.    o Processor speed 
  1508.  
  1509.    o Number of open windows 
  1510.  
  1511.    o The types of instructions being stepped over. 
  1512.  
  1513.  2. Select the Save session settings check box to save action window settings 
  1514.     that you saved for the next debugging session. check box to save your 
  1515.     selection for the next debugging session. 
  1516.  
  1517.  3. Select the appropriate push button to continue. 
  1518.  
  1519. To stop the animation, select SysRq (Alt + Print Screen). 
  1520.  
  1521.  
  1522. ΓòÉΓòÉΓòÉ 4.11.1. PM Debugging Mode Action Window ΓòÉΓòÉΓòÉ
  1523.  
  1524. Use the PM Debugging Mode action window to set the debugging mode to 
  1525. asynchronous or synchronous, and control the interaction between the program 
  1526. windows and PM, while the application has stopped executing. 
  1527.  
  1528. The PM system is a message-based system. As program events are encountered by 
  1529. PM programs, the programs communicate with each other by passing messages and 
  1530. by receiving user input through input messages. When a PM program encounters an 
  1531. enabled breakpoint, the input queue can become blocked and dependent program 
  1532. events, or processes, can also become blocked as a result.  For example, the 
  1533. input queue can become blocked when your program is halted at a breakpoint that 
  1534. has been triggered by an input event. 
  1535.  
  1536. The debugger provides two modes of operation by which PM messages can be 
  1537. processed while the debugger has control.  These two modes are: 
  1538.  
  1539. o Synchronous 
  1540. o Asynchronous. 
  1541.  
  1542. After you have selected the parameters you want from this action window, click 
  1543. on the appropriate push buttons. 
  1544.  
  1545. Mode 
  1546.  
  1547. Select the PM Debugging mode you want:  either Synchronous or Asynchronous. 
  1548.  
  1549. Invalid area color 
  1550.  
  1551. Select the color that is to be used to repaint the invalid area of an 
  1552. application window. Depending on the original color of the application window, 
  1553. certain colors will be more appropriate for repainting. The color you choose is 
  1554. used when you select the Color invalid areas, Restore, or Repaint options. 
  1555.  
  1556. No repainting 
  1557.  
  1558. None of the invalid areas of the window are repainted. 
  1559.  
  1560. Color invalid areas 
  1561.  
  1562. The Color invalid areas option works only in asynchronous mode. This option 
  1563. paints the invalid areas in a solid fill color. The color can be changed by 
  1564. selecting a different color from the Invalid area color combination box. 
  1565.  
  1566. Restore 
  1567.  
  1568. The Restore option works only in asynchronous mode. This option restores the 
  1569. application window with the last available image of the window. The image that 
  1570. you can regain consists of the last available image when a step or run command 
  1571. ended, minus any parts of the window that were covered when the step or run 
  1572. command ended. The parts of the window that were covered are filled with the 
  1573. solid color you chose from the Invalid area color combination box. 
  1574.  
  1575. Repaint 
  1576.  
  1577. Restores that application window with the last available image. The image that 
  1578. you can regain consists of the last available image when a step or run command 
  1579. ended minus any parts of the window that were covered when the step or run 
  1580. command ended. The parts of the window that were covered are filled with the 
  1581. solid color you chose from the Invalid area color combination box. 
  1582.  
  1583. The Repaint option differs from the Restore option. It interrupts the normal 
  1584. debugging process of the window as follows: 
  1585.  
  1586. o The program windows will not receive any screen interaction messages while 
  1587.   the application is stopped. For example, the application will not receive any 
  1588.   of the WM_MOUSEMOVE or WM_PAINT messages that were generated while the 
  1589.   application was stopped. 
  1590.  
  1591. o An extra WM_PAINT message is generated for the program windows when execution 
  1592.   resumes. 
  1593.  
  1594.   Note:  The program windows might not process the WM_PAINT message depending 
  1595.   on where the breakpoints are set or on which step or run command was 
  1596.   selected. 
  1597.  
  1598. Save settings 
  1599.  
  1600. Select Save settings to save your selections for the next debugging session. 
  1601.  
  1602.  
  1603. ΓòÉΓòÉΓòÉ 4.11.2. Debug Session Control Choice ΓòÉΓòÉΓòÉ
  1604.  
  1605. Select the Debug session control choice to display the Debug Session Control 
  1606. window. 
  1607.  
  1608.  
  1609. ΓòÉΓòÉΓòÉ 4.12. Help Menu ΓòÉΓòÉΓòÉ
  1610.  
  1611. Select choices from the Help menu to complement the online help information 
  1612. that you can get for the debugger when you press F1 or select the Help push 
  1613. button. 
  1614.  
  1615. Menu Summary 
  1616.  
  1617. Help index 
  1618.   An alphabetical index of all available debugger help topics. 
  1619.  
  1620. General help 
  1621.   Help information for the active window. 
  1622.  
  1623. Using help 
  1624.   How to use the IBM C/C++ Debugger help facility. 
  1625.  
  1626.  
  1627. ΓòÉΓòÉΓòÉ 4.13. Help Menu ΓòÉΓòÉΓòÉ
  1628.  
  1629. Select choices from the Help menu to complement the online help information 
  1630. that you can get for the debugger when you press F1 or select the Help push 
  1631. button. 
  1632.  
  1633. Menu Summary 
  1634.  
  1635. Help index 
  1636.   An alphabetical index of all available debugger help topics. 
  1637.  
  1638. General help 
  1639.   Help information for the active window. 
  1640.  
  1641. Using help 
  1642.   How to use the IBM C/C++ Debugger help facility. 
  1643.  
  1644. Tutorial 
  1645.   Display the debugger tutorial. 
  1646.  
  1647.  
  1648. ΓòÉΓòÉΓòÉ 4.13.1. Using help ΓòÉΓòÉΓòÉ
  1649.  
  1650. Select the Using help choice to display online help information about the OS/2 
  1651. help facility. 
  1652.  
  1653.  
  1654. ΓòÉΓòÉΓòÉ 4.13.2. General help ΓòÉΓòÉΓòÉ
  1655.  
  1656. Select the General help choice to display online help for the active debugger 
  1657. window. The online help panel displayed is the same panel that is displayed 
  1658. when you place your cursor inside the window and press F1. 
  1659.  
  1660.  
  1661. ΓòÉΓòÉΓòÉ 4.13.3. Tutorial ΓòÉΓòÉΓòÉ
  1662.  
  1663. Select the Tutorial choice to display the online tutorial.  This tutorial 
  1664. guides you through many of the debugger functions, including the new C++ 
  1665. features. 
  1666.  
  1667.  
  1668. ΓòÉΓòÉΓòÉ 4.13.4. Shortcut Keys ΓòÉΓòÉΓòÉ
  1669.  
  1670. This help panel lists the  shortcut keys you use to invoke debugger choices. 
  1671. When two key names are joined by a plus sign (+), use these two keys together. 
  1672. Hold down the first key and press the second key. 
  1673.  
  1674. The following shortcut keys are available for the program view windows 
  1675. (Source/Disassembly/Mixed): 
  1676.  
  1677. Step over                               O 
  1678. Step into                               I 
  1679. Step debug                              D 
  1680. Step return                             T 
  1681. Run                                     R 
  1682. Run to location                         L 
  1683. Jump to location                        N 
  1684. Animate                                 A 
  1685. Halt                                    SysRq 
  1686.  
  1687.  
  1688. ΓòÉΓòÉΓòÉ 4.13.5. Help index ΓòÉΓòÉΓòÉ
  1689.  
  1690. Select the Index choice display an alphabetical list of index topics for the 
  1691. debugger. Use the Search choice provided with the online help facility to 
  1692. locate topics in the index. 
  1693.  
  1694.  
  1695. ΓòÉΓòÉΓòÉ 5. Program View Windows ΓòÉΓòÉΓòÉ
  1696.  
  1697. The program view windows display a view of the program you are debugging. The 
  1698. types of program view windows that are displayed are as follows: 
  1699.  
  1700. o Source 
  1701. o Disassembly 
  1702. o Mixed 
  1703.  
  1704. These program views differ in the way they display the program code.  Although 
  1705. only one program view is initially displayed, you can display additional 
  1706. program views at any time. Each view is displayed in its own window. 
  1707.  
  1708. Executable statements are displayed in blue. Comments and other non-executable 
  1709. lines are displayed in black. You can set breakpoints or execute your program 
  1710. only on executable lines. 
  1711.  
  1712. Source 
  1713.  
  1714. The Source window displays the source code for the component you have selected. 
  1715. It displays the source file as it was originally written. 
  1716.  
  1717. The prefix area of each line displays the line number. 
  1718.  
  1719. When you start the debugger, the Source window is displayed if the source file 
  1720. is available.  If it is not, the Source Filename action window is displayed. 
  1721. (You can change the new view priority order of the views using the Source 
  1722. Window Properties action window, which determines which view is displayed.) 
  1723.  
  1724. Disassembly 
  1725.  
  1726. The Disassembly window displays your program as assembler instructions without 
  1727. symbolic information. 
  1728.  
  1729. The prefix area of each line displays the address of the instruction. 
  1730.  
  1731. Mixed 
  1732.  
  1733. The Mixed window displays each source statement followed by the assembler 
  1734. instructions that the particular source statement generates. 
  1735.  
  1736. The Mixed window is displayed as follows: 
  1737.  
  1738. o Each source line is prefixed with its line number as in the Source window. 
  1739.  
  1740. o Each disassembled line is prefixed with an address as in the Disassembly 
  1741.   view. 
  1742.  
  1743. o Source comment lines are included in the display. 
  1744.  
  1745. o The lines of source code are treated as comments within the lines of 
  1746.   disassembly code. You can only set breakpoints or execute your program on 
  1747.   lines of disassembly code. 
  1748.  
  1749. o The Mixed view cannot be opened if the source code is not available. 
  1750.  
  1751. The Source, Disassembly, and Mixed windows offer the same menu choices, except 
  1752. that: 
  1753.  
  1754. o The Variable menu is not available in the Disassembly program view window. 
  1755.  
  1756. o The Change source file choice is not available from the File  View menu of 
  1757.   the Disassembly program view window. 
  1758.  
  1759. Basic tasks from the program view windows include: 
  1760.  
  1761. Set line breakpoints Double-click on the prefix area of any line to set a 
  1762.           simple line breakpoint.  For more information, see Setting 
  1763.           Breakpoints. 
  1764.  
  1765. Single Step your program Press mouse button two to single step your program. 
  1766.           This performs a step over command. See below for information on the 
  1767.           different step commands. 
  1768.  
  1769. Monitor and modify variables Double-click the mouse on any variable name in 
  1770.           your program to display that variable in a monitor window. Drag the 
  1771.           mouse over an expression, and then double-click on the highlighted 
  1772.           expression, to display the expression in a monitor window. 
  1773.  
  1774.           Select Local Variables from the Windows menu to display a monitor 
  1775.           window of all the Local Variables in your program. 
  1776.  
  1777.           The four monitors for variables and expressions are: 
  1778.  
  1779.    o Program Monitor 
  1780.    o Private Monitor 
  1781.    o Data Popup 
  1782.    o Local Variables Monitor 
  1783.  
  1784.           See also Monitor Properties for how to change which monitor is used 
  1785.           to display variables and expressions. 
  1786.  
  1787. Menu Bar Summary 
  1788.  
  1789. File 
  1790.   Start and end the debugger and control the program views. 
  1791.  
  1792. Edit 
  1793.   Edit text and search for strings in the text. 
  1794.  
  1795. Breakpoints 
  1796.   Set and manipulate breakpoints in your program. 
  1797.  
  1798. Variable 
  1799.   Display the contents of program variables and expressions. 
  1800.  
  1801. Windows 
  1802.   Select other windows for viewing. 
  1803.  
  1804. Run 
  1805.   Execute your program in several ways. 
  1806.  
  1807. Options 
  1808.   Change the parameters that control how your program is displayed and 
  1809.   executed. 
  1810.  
  1811. Help 
  1812.   Online help information that compliments the information you get when you 
  1813.   press F1 or select the Help push button. 
  1814.  
  1815. Title Bar Buttons Summary 
  1816.  
  1817. The following buttons have been provided in the title bar of the program view 
  1818. windows for easier access to frequently used functions: 
  1819.  
  1820.        Step over executes the current (highlighted) line in the program, but 
  1821.        does not enter any called function. 
  1822.  
  1823.        Step into executes the current (highlighted) line in the program and 
  1824.        enters any called program or function. 
  1825.  
  1826.        Step debug executes the current (highlighted) line in the program. The 
  1827.        debugger steps over any function for which debug information is not 
  1828.        available (for example, library and system routines), and steps into any 
  1829.        function for which debugging information is available. 
  1830.  
  1831.        Step return automatically executes the lines of code up to, and 
  1832.        including, the return statement of the current function. 
  1833.  
  1834.        Run runs the program, executing all enabled threads. Control returns to 
  1835.        the debugger when: 
  1836.  
  1837.    o The program terminates 
  1838.    o Execution stops at an enabled breakpoint. 
  1839.  
  1840.        View changes the current view to one of the other views, depending on 
  1841.        the view priority. 
  1842.  
  1843.        Stack displays the Stack window. 
  1844.  
  1845.        Register displays the Register window. 
  1846.  
  1847.        Program Monitor displays the Program Monitor window. 
  1848.  
  1849.        Storage displays a new Storage window. 
  1850.  
  1851.        Debug Session Control displays the Debug Session Control window. 
  1852.  
  1853.  
  1854. ΓòÉΓòÉΓòÉ 5.1. File Menu ΓòÉΓòÉΓòÉ
  1855.  
  1856. Select choices from the File menu of the program view windows to start 
  1857. programs, find the current line, replace your current program file with a 
  1858. program file from another location or with a different name, restart the 
  1859. current debugging session, restart a previous debugging session for this 
  1860. program, and end the debugging session. 
  1861.  
  1862. Menu Summary 
  1863.  
  1864. View 
  1865.   Select one of the three program view windows (Source, Disassembly, or Mixed). 
  1866.  
  1867. Locate function 
  1868.   Open a program view window to a particular function. 
  1869.  
  1870. Open new source 
  1871.   Display a new source file. 
  1872.  
  1873. Where 
  1874.   Open a program view containing the next line to be executed. 
  1875.  
  1876. Startup 
  1877.   Start the program you want to debug after terminating the current program. 
  1878.  
  1879. Restart 
  1880.   Restart the current debugging session. 
  1881.  
  1882. Close debug 
  1883.   Close the debugging session. 
  1884.  
  1885.  
  1886. ΓòÉΓòÉΓòÉ 5.1.1. View Cascading Choice ΓòÉΓòÉΓòÉ
  1887.  
  1888. Select the View cascading choice to select a different view of your program or 
  1889. change the current window to a notebook format. 
  1890.  
  1891. Each type of view can be opened only once for a program component; program 
  1892. views are thread-specific. Any lines that are highlighted in the existing view 
  1893. are also highlighted in the new view, and any breakpoints highlighted in the 
  1894. prefix area of the existing view are also shown in the new view. You can view 
  1895. the program as: 
  1896.  
  1897. o Source 
  1898. o Disassembly 
  1899. o Mixed. 
  1900.  
  1901. Note:  The Source and Mixed views can be displayed in a notebook format if they 
  1902. have include files that contain executable statements. 
  1903.  
  1904. You can enable or disable the Notebook option by toggling the enabled choice in 
  1905. the Notebook option box.  When the check mark is displayed, it is enabled and 
  1906. the views will be displayed in notebook format.  When the check mark is not 
  1907. displayed, it is disabled. The default is to have the option enabled. 
  1908.  
  1909. The Change source file choice lets you replace the source you are currently 
  1910. debugging with the source code in another location or with a different name. 
  1911.  
  1912.  
  1913. ΓòÉΓòÉΓòÉ 5.1.2. Notebook Choice ΓòÉΓòÉΓòÉ
  1914.  
  1915. Enable the Notebook choice to display the program view windows in notebook 
  1916. format. 
  1917.  
  1918. Note:  If you have include files in your program, the Notebook choice is 
  1919. enabled by default. 
  1920.  
  1921. You can enable or disable the Notebook option by selecting the Notebook choice. 
  1922. When it is enabled, a ΓêÜ symbol is displayed.  If it is disabled, a ΓêÜ symbol is 
  1923. not displayed. 
  1924.  
  1925. The Source and Mixed views can be displayed in a notebook format.  The 
  1926. Disassembly view cannot be displayed in a notebook format. 
  1927.  
  1928.  
  1929. ΓòÉΓòÉΓòÉ 5.1.3. Source Choice ΓòÉΓòÉΓòÉ
  1930.  
  1931. Select the Source choice to display the source code for your program. 
  1932.  
  1933. The initial Source window displays the source code for the object that contains 
  1934. the main function to the program being debugged. If it is available, the Source 
  1935. window appears with the Debug Session Control window when the debugging session 
  1936. is started.  Otherwise, the Disassembly view appears. 
  1937.  
  1938. You can change the order of program views that are opened by setting the source 
  1939. window properties in the  Source Window Properties action window.) 
  1940.  
  1941.  
  1942. ΓòÉΓòÉΓòÉ 5.1.4. Disassembly Choice ΓòÉΓòÉΓòÉ
  1943.  
  1944. Select the Disassembly choice to display the assembler instructions for your 
  1945. program, without symbolic information.  The menu choices available in the 
  1946. Disassembly window are the same as for the Source window except that the 
  1947. Variable menu and the Change source file choice in the File menu are not 
  1948. available. 
  1949.  
  1950. You can change the order of program views that are opened by setting the source 
  1951. window properties in the  Source Window Properties action window.) 
  1952.  
  1953.  
  1954. ΓòÉΓòÉΓòÉ 5.1.5. Mixed Choice ΓòÉΓòÉΓòÉ
  1955.  
  1956. Select the Mixed choice to display each source statement followed by the 
  1957. assembler instructions that the particular source statement generates. 
  1958.  
  1959. You can change the order of program view windows that are opened by setting the 
  1960. source window properties in the  Source Window Properties action window.) 
  1961.  
  1962. The Mixed view works as follows: 
  1963.  
  1964. o Each source line is prefixed with its line number as in the Source window. 
  1965.  
  1966. o Each disassembled line is prefixed with an address as in the Disassembly 
  1967.   view. 
  1968.  
  1969. o Source comment lines are included in the display. 
  1970.  
  1971. o The lines of source code are treated as comments within the lines of 
  1972.   disassembly code. The execution of the program and breakpoints only relate to 
  1973.   the lines of disassembly code. 
  1974.  
  1975. o The Mixed view cannot be opened if the source code is not available. 
  1976.  
  1977.  
  1978. ΓòÉΓòÉΓòÉ 5.1.6. Inheritance Choice ΓòÉΓòÉΓòÉ
  1979.  
  1980. Select the Inheritance choice to view the class hierarchy of a C++ program. 
  1981.  
  1982.  
  1983. ΓòÉΓòÉΓòÉ 5.1.7. Locate Function Choice ΓòÉΓòÉΓòÉ
  1984.  
  1985. Select the Locate function choice to open a program view window to a particular 
  1986. function.  When you select Locate function, the Locate Function action window 
  1987. is displayed. 
  1988.  
  1989.  
  1990. ΓòÉΓòÉΓòÉ 5.2. Locate Function Action Window ΓòÉΓòÉΓòÉ
  1991.  
  1992. Use the Locate Function action window to open a program view window to a 
  1993. particular function. 
  1994.  
  1995. To use the Locate Function action window: 
  1996.  
  1997.  1. Type the name of the function you want to search for in the Function entry 
  1998.     field. 
  1999.  
  2000.  2. Click on the appropriate push button to continue. 
  2001.  
  2002. All executables 
  2003.  
  2004. Enable this option if you want to search all the executable files for the 
  2005. function. 
  2006.  
  2007. The debugger searches each object file for global functions that match the 
  2008. function name specified. If a global function is found in an object file, the 
  2009. object file is searched for that static function. 
  2010.  
  2011. Note:  To search for a function in a specific executable file, disable this 
  2012. option and type the name of the executable file in the Executable entry field 
  2013. and type the name of the source file in the Source entry field. 
  2014.  
  2015. Debug data only 
  2016.  
  2017. Enable this option if you want to search only the object files that contain 
  2018. debugging information. 
  2019.  
  2020. Case Sensitive 
  2021.  
  2022. Enable this option if you want to search for the string exactly as typed. 
  2023. Disable this option if you want to search for both uppercase and lowercase 
  2024. characters. 
  2025.  
  2026.  
  2027. ΓòÉΓòÉΓòÉ 5.3. Overloaded Action Window ΓòÉΓòÉΓòÉ
  2028.  
  2029. Use the Overloaded action window to select the appropriate function. This 
  2030. window is displayed when a you have an overloaded function. 
  2031.  
  2032. To use the Overloaded action window: 
  2033.  
  2034.  1. Select the name of the function you want from the list. 
  2035.  
  2036.  2. Click on the appropriate push button to continue. 
  2037.  
  2038. Signature 
  2039.  
  2040. Displays the function name and any parameters that the function may have. 
  2041.  
  2042.  
  2043. ΓòÉΓòÉΓòÉ 5.3.1. Open New Source Choice ΓòÉΓòÉΓòÉ
  2044.  
  2045. Select the Open new source choice to open a new source file.  When you select 
  2046. Open new source, the Open New Source action window is displayed. 
  2047.  
  2048.  
  2049. ΓòÉΓòÉΓòÉ 5.4. Open New Source Action Window ΓòÉΓòÉΓòÉ
  2050.  
  2051. Use the Open New Source window to open a new source file. To use the Open new 
  2052. source action window: 
  2053.  
  2054.  1. Type the name of the executable file in the Executable entry field.  The 
  2055.     source files for the executable file will be displayed in the Source entry 
  2056.     field. 
  2057.  
  2058.  2. Select the object file you want to open the source for from the Source 
  2059.     entry field.  For example, if you want to look for the source used to 
  2060.     compile A123.OBJ, enter A123. 
  2061.  
  2062.  3. Click on the appropriate push button to continue. 
  2063.  
  2064. All executables 
  2065.  
  2066. Enable this option if you want to search all the executable files. Disable this 
  2067. option if you want to search only one executable file. 
  2068.  
  2069. Debug data only 
  2070.  
  2071. Enable this option if you want to search only the source files that contain 
  2072. debug information. 
  2073.  
  2074.  
  2075. ΓòÉΓòÉΓòÉ 5.4.1. Where Choice ΓòÉΓòÉΓòÉ
  2076.  
  2077. Select the Where choice to locate the next line to be executed in the thread. 
  2078.  
  2079.  
  2080. ΓòÉΓòÉΓòÉ 5.4.2. Change Source File Choice ΓòÉΓòÉΓòÉ
  2081.  
  2082. Select the Change source file choice to specify the file name to use as the 
  2083. source in the current view. 
  2084.  
  2085. This is useful if the debugger found the incorrect source file for your 
  2086. program, so that you can specify the use of a different source file from a 
  2087. different directory. 
  2088.  
  2089. For information about how the debugger searches for source files, refer to 
  2090. understanding the search information. 
  2091.  
  2092.  
  2093. ΓòÉΓòÉΓòÉ 5.4.3. Understanding the Search Path ΓòÉΓòÉΓòÉ
  2094.  
  2095. The search path tells the debugger where to find the source file used in the 
  2096. Source and Mixed windows. The debugger searches for the source files in the 
  2097. following order: 
  2098.  
  2099.  1. The path where the object file was compiled. 
  2100.  
  2101.  2. The path where the executable file is located. 
  2102.  
  2103.  3. The path defined by the PMDPATH environment variable, if specified. 
  2104.  
  2105.  4. The current path. 
  2106.  
  2107.  5. The path defined in the INCLUDE environment variable. 
  2108.  
  2109. Using the Environment Variables 
  2110.  
  2111. The debugger uses two environment variables: PMDPATH and PMDOVERRIDE. 
  2112.  
  2113. To set the PMDPATH environment variable, do the following: 
  2114.  
  2115. Set PMDPATH=path;path
  2116.  
  2117. where path is the location of your source files. 
  2118.  
  2119. To override the normal search order, use the PMDOVERRIDE environment variable: 
  2120.  
  2121. Set PMDOVERRIDE=path;path
  2122.  
  2123. where path is the location of your source files. If the source file is not 
  2124. found in the defined override path, the debugger uses the normal search order. 
  2125.  
  2126. For information about how the debugger searches for source files, refer to 
  2127. understanding the search information. 
  2128.  
  2129. When you select the Change source file choice, the Change Source File action 
  2130. window is displayed. 
  2131.  
  2132.  
  2133. ΓòÉΓòÉΓòÉ 5.4.4. Restart Choice ΓòÉΓòÉΓòÉ
  2134.  
  2135. Select the Restart choice to terminate the current program and start the 
  2136. debugging session using restart information. 
  2137.  
  2138.  
  2139. ΓòÉΓòÉΓòÉ 5.4.5. Close Debug Choice ΓòÉΓòÉΓòÉ
  2140.  
  2141. Select the Close debug choice to close your current debugging session.  The 
  2142. Close Debug message box prompts you to confirm that you want to end the 
  2143. debugging session. 
  2144.  
  2145.  
  2146. ΓòÉΓòÉΓòÉ 5.5. Edit Menu ΓòÉΓòÉΓòÉ
  2147.  
  2148. Select choices from the Edit menu to search for strings of text or for the next 
  2149. occurrence of a string. 
  2150.  
  2151. Menu Summary 
  2152.  
  2153. Copy 
  2154.   Copy text into the clipboard. 
  2155.  
  2156. Search 
  2157.   Search for strings of text in the active program view. 
  2158.  
  2159. Find next 
  2160.   Find the next occurrence of a string. 
  2161.  
  2162.  
  2163. ΓòÉΓòÉΓòÉ 5.5.1. Search Choice ΓòÉΓòÉΓòÉ
  2164.  
  2165. Select the Search choice to search for a string of text in the active program 
  2166. view. You can search for simple text strings that do not use wildcards. 
  2167.  
  2168. When you select Search, the Search action window appears, prompting you for the 
  2169. text string you want to find. If you are searching in the same program 
  2170. component, the default text string is the string you entered the last time you 
  2171. completed the Search choice for this component. 
  2172.  
  2173.  
  2174. ΓòÉΓòÉΓòÉ 5.5.2. Find Next Choice ΓòÉΓòÉΓòÉ
  2175.  
  2176. Select the Find next choice to search for the next occurrence of a string of 
  2177. text. The last text string that was typed in the Search action window for this 
  2178. component is used. 
  2179.  
  2180.  
  2181. ΓòÉΓòÉΓòÉ 5.6. Search Action Window ΓòÉΓòÉΓòÉ
  2182.  
  2183. To use the Search action window to search for a text string: 
  2184.  
  2185.  1. Type the text string you want to search for in the Enter Search String 
  2186.     entry field. 
  2187.  
  2188.  2. Click on the appropriate push button to continue. 
  2189.  
  2190. Enter Search String 
  2191.  
  2192. Type the text string you want to search for. 
  2193.  
  2194. The search string can have: 
  2195.  
  2196. o Both alphabetic and numeric characters 
  2197. o A maximum of 251 characters 
  2198. o Both uppercase and lowercase characters. 
  2199.  
  2200. Case Sensitive 
  2201.  
  2202. Enable this option if you want to search for the string exactly as typed. 
  2203. Disable this option if you want to search for both uppercase and lowercase 
  2204. characters. 
  2205.  
  2206.  
  2207. ΓòÉΓòÉΓòÉ 5.6.1. Change Source File Action Window ΓòÉΓòÉΓòÉ
  2208.  
  2209. Use the Change Source File action window from the File  View cascading choice 
  2210. in the program view window to replace the path name or file name of the program 
  2211. you are debugging with a new path name or file name. 
  2212.  
  2213. This specifies a new file name to use as the source in the current view. 
  2214.  
  2215. This is useful if the debugger found the incorrect source file for your 
  2216. program, so that you can specify the use of a different source file from a 
  2217. different directory. 
  2218.  
  2219. For information about how the debugger searches for source files, see 
  2220. understanding the search information. 
  2221.  
  2222. To replace the file name: 
  2223.  
  2224.  1. Type the new path name or file name in the New File entry field. 
  2225.  
  2226.  2. Click on the appropriate push button to continue. 
  2227.  
  2228. New File 
  2229.  
  2230. The path name and file name of the program you want to replace with the program 
  2231. you are currently debugging. 
  2232.  
  2233.  
  2234. ΓòÉΓòÉΓòÉ 5.6.2. Push Buttons ΓòÉΓòÉΓòÉ
  2235.  
  2236. OK 
  2237.   Click on OK to accept the information you have entered and to close this 
  2238.   action window. 
  2239.  
  2240. Apply 
  2241.   Click on Apply to substitute the file and leave this action window open. 
  2242.  
  2243. Cancel 
  2244.   Click on Cancel to close this action window. 
  2245.  
  2246. File List 
  2247.   Click on File List to view a list of the files that you can select. 
  2248.  
  2249. Help 
  2250.   Click on Help to display help information that tells you how to use this 
  2251.   action window. 
  2252.  
  2253.  
  2254. ΓòÉΓòÉΓòÉ 5.7. Variable Menu ΓòÉΓòÉΓòÉ
  2255.  
  2256. Select choices from the Variable menu to display the variables and expressions. 
  2257.  
  2258. You can select the variables or expressions you want to display: 
  2259.  
  2260. o Using the mouse 
  2261.  
  2262. o Using the mouse and the Monitor Expression action window 
  2263.  
  2264. o Using the keyboard. 
  2265.  
  2266. You must select an expression with: 
  2267.  
  2268. o A valid operand type 
  2269. o A valid operator 
  2270. o A valid typecasting operation 
  2271.  
  2272.  1. Bit fields are supported for C/C++ compiled code only. You can display and 
  2273.     update bit fields, but you cannot use them in expressions. 
  2274.  2. You cannot look at variables that have been defined using the define 
  2275.     preprocessor directive. 
  2276.  
  2277. For more information about manipulating the variable monitors, double-click on 
  2278. Using the data popup and monitor windows. 
  2279.  
  2280. Menu Summary 
  2281.  
  2282. Popup expression 
  2283.   Monitors the highlighted variable or expression in a data popup window. 
  2284.  
  2285. Add to private monitor 
  2286.   Adds the highlighted variable or expression to the Private Monitor window. 
  2287.  
  2288. Add to program monitor 
  2289.   Adds the highlighted variable or expression to the Program Monitor window. 
  2290.  
  2291. Monitor expression 
  2292.   Type the name of the variable or expression you want to monitor. 
  2293.  
  2294.  
  2295. ΓòÉΓòÉΓòÉ 5.7.1. Popup Expression Choice ΓòÉΓòÉΓòÉ
  2296.  
  2297. Select the Popup expression choice to monitor the highlighted variable or 
  2298. expression in a data popup window. 
  2299.  
  2300.  
  2301. ΓòÉΓòÉΓòÉ 5.7.2. Add to Private Monitor Choice ΓòÉΓòÉΓòÉ
  2302.  
  2303. Select the Add to private monitor choice to add the highlighted variable or 
  2304. expression to the Private Monitor window. 
  2305.  
  2306. To use the Add to private monitor choice: 
  2307.  
  2308.  1. Highlight the variable or expression you want to monitor by clicking on the 
  2309.     variable or dragging the mouse across the variable or expression while 
  2310.     holding down mouse button one. 
  2311.  
  2312.  2. Select the Add to private monitor choice. 
  2313.  
  2314.     The variable or expression you highlighted is added to the Private Monitor 
  2315.     window. 
  2316.  
  2317.  
  2318. ΓòÉΓòÉΓòÉ 5.7.3. Add to Program Monitor Choice ΓòÉΓòÉΓòÉ
  2319.  
  2320. Select the Add to program monitor choice to add the highlighted variable or 
  2321. expression to the Program Monitor window. 
  2322.  
  2323. To use the Add to program monitor choice: 
  2324.  
  2325.  1. Highlight the variable or expression you want to monitor by clicking on the 
  2326.     variable or dragging the mouse across the variable or expression while 
  2327.     holding down mouse button one. 
  2328.  2. Select the Add to program monitor choice. 
  2329.  
  2330.     The variable or expression you highlighted is added to the Program Monitor 
  2331.     window. 
  2332.  
  2333.  
  2334. ΓòÉΓòÉΓòÉ 5.7.4. Monitor Expression Choice ΓòÉΓòÉΓòÉ
  2335.  
  2336. Select the Monitor expression choice if you want to use the keyboard to type a 
  2337. variable or any expression you want to monitor. 
  2338.  
  2339. When you select Monitor expression, the Monitor Expression action window is 
  2340. displayed. 
  2341.  
  2342.  
  2343. ΓòÉΓòÉΓòÉ 5.7.5. Selecting Variables with the Mouse ΓòÉΓòÉΓòÉ
  2344.  
  2345. To select a variable or expression for display using the mouse, use one of the 
  2346. following methods: 
  2347.  
  2348. o Point to any character within the variable name and double-click mouse button 
  2349.   one. 
  2350.  
  2351. o Highlight the variable name or expression by dragging the mouse while holding 
  2352.   down mouse button one, and then double-click mouse button one anywhere within 
  2353.   the name. 
  2354.  
  2355. o Highlight the variable name or expression and select Add to program monitor 
  2356.   or Add to private monitor from the Variable menu. 
  2357.  
  2358.  
  2359. ΓòÉΓòÉΓòÉ 5.7.6. Selecting Variables with the Mouse and Monitor Expression ΓòÉΓòÉΓòÉ
  2360.  
  2361. To monitor a variable or an expression using the mouse and the Monitor 
  2362. Expression action window, use one of the following methods: 
  2363.  
  2364. For a single variable name: 
  2365.  
  2366.  1. Highlight the variable name using either of the following methods: 
  2367.  
  2368.    o Point to the variable name and click mouse button one. 
  2369.  
  2370.    o Highlight the variable by placing the mouse pointer on the beginning of 
  2371.      the variable and dragging the mouse across the entire variable while 
  2372.      pressing mouse button one. 
  2373.  
  2374.  2. Select Monitor expression from the Variable menu. 
  2375.  
  2376.     The Monitor Expression action window appears, and the highlighted variable 
  2377.     name is placed in the Expression entry field. 
  2378.  
  2379. For an expression: 
  2380.  
  2381.  1. Highlight the expression by placing the mouse pointer on the beginning of 
  2382.     the expression and dragging the mouse across the entire expression while 
  2383.     pressing mouse button one. 
  2384.  
  2385.  2. Select Monitor expression from the Variable menu. 
  2386.  
  2387.     The Monitor Expression action window appears, and the highlighted 
  2388.     expression name is placed in the Expression entry field. 
  2389.  
  2390. Select the appropriate push button to continue. 
  2391.  
  2392.  
  2393. ΓòÉΓòÉΓòÉ 5.7.7. Selecting Variables with the Keyboard ΓòÉΓòÉΓòÉ
  2394.  
  2395. To monitor a variable or expression using the keyboard: 
  2396.  
  2397.  1. Select Monitor expression from the Variable menu.  The Monitor Expression 
  2398.     action window appears. 
  2399.  
  2400.  2. Type the name of the variable or expression in the Expression entry field. 
  2401.  
  2402.  3. If you want to change the defaults that control how a variable or 
  2403.     expression is displayed in a monitor or data popup window: 
  2404.  
  2405.     a. Select Monitor Properties push button to display the Monitor Properties 
  2406.        action window. 
  2407.  
  2408.     b. Select OK to close the Monitor Properties action window. 
  2409.  
  2410.  4. Select OK to close the Monitor Expression action window. 
  2411.  
  2412.  
  2413. ΓòÉΓòÉΓòÉ 5.7.8. Using the Variable Monitors ΓòÉΓòÉΓòÉ
  2414.  
  2415. After you have selected a variable or expression for monitoring, you can: 
  2416.  
  2417. o Use the data manipulation icons 
  2418.  
  2419. o Use the keyboard to move around a monitor 
  2420.  
  2421. o Enable or disable monitors 
  2422.  
  2423. o Display context 
  2424.  
  2425. o Change the value of a variable 
  2426.  
  2427. o Change the representation of a variable or expression. 
  2428.  
  2429.  
  2430. ΓòÉΓòÉΓòÉ 5.7.9. Keyboard Sequences ΓòÉΓòÉΓòÉ
  2431.  
  2432. You can use various combinations of keys to move around the monitor windows. 
  2433. The key combinations you can use and the function they provide are: 
  2434.  
  2435. Action    Key Sequence 
  2436.  
  2437. Alt+     Move to the next monitor 
  2438.  
  2439. Alt+     Move to the previous monitor 
  2440.  
  2441. Tab       Move to the next monitor component. (The cursor moves in a circular 
  2442.           fashion from component to component. The monitor, itself, is included 
  2443.           in the circular path.) 
  2444.  
  2445. BackTab   Move to the previous monitor component 
  2446.  
  2447. Alt+     Dereference a highlighted pointer 
  2448.  
  2449. Enter     Open or close data structures (structures or arrays) 
  2450.  
  2451. Alt+PageUp, Alt+PageDown Scroll through the monitor 
  2452.  
  2453.  
  2454. ΓòÉΓòÉΓòÉ 5.7.10. Enabling and Disabling Monitors ΓòÉΓòÉΓòÉ
  2455.  
  2456. You can enable or disable monitors. In the enabled state, when the debugger 
  2457. stops, the displayed value in the monitor is changed to reflect the actual 
  2458. value in storage. A disabled monitor suspends this updating, and reflects the 
  2459. value the debugged program held when the monitor was disabled. When a monitor 
  2460. is disabled, the data entry field is greyed and you cannot change the value 
  2461. displayed. When a disabled monitor is enabled, the current program values are 
  2462. displayed. 
  2463.  
  2464.  
  2465. ΓòÉΓòÉΓòÉ 5.7.11. Displaying Context ΓòÉΓòÉΓòÉ
  2466.  
  2467. Monitors display the data value in their context. The context consists of: 
  2468.  
  2469. o Source 
  2470. o File 
  2471. o line 
  2472. o Thread. 
  2473.  
  2474.  
  2475. ΓòÉΓòÉΓòÉ 5.7.12. Changing the Value of a Variable ΓòÉΓòÉΓòÉ
  2476.  
  2477. You can change the value of a variable or expression that is displayed in a 
  2478. monitor. To change the value: 
  2479.  
  2480.  1. Select the variable or expression with your mouse or the Tab key. 
  2481.  
  2482.  2. Type in the new value. 
  2483.  
  2484.  3. Press Enter (or select another part of the debugger). 
  2485.  
  2486.  
  2487. ΓòÉΓòÉΓòÉ 5.7.13. Changing the Representation ΓòÉΓòÉΓòÉ
  2488.  
  2489. To change the representation: 
  2490.  
  2491.  1. Select the expression. 
  2492.  
  2493.  2. Select an alternate representation from the Options  Representation 
  2494.     choice. The new representation takes effect immediately. 
  2495.  
  2496. You change the representation of the value displayed in a monitor to: 
  2497.  
  2498. o Hexadecimal 
  2499. o Decimal 
  2500. o String 
  2501. o Character 
  2502. o Floating-point 
  2503. o Hexadecimal pointer 
  2504. o Decimal pointer 
  2505. o Array. 
  2506.  
  2507. Note:  The representation you can select varies with the data type being 
  2508. displayed. 
  2509.  
  2510.  
  2511. ΓòÉΓòÉΓòÉ 5.7.14. Supported Expression Operands ΓòÉΓòÉΓòÉ
  2512.  
  2513. You can monitor an expression that uses the following types of operands only: 
  2514.  
  2515. Variable          A variable 
  2516.  
  2517. Constant          The constant can be one of the following types: 
  2518.  
  2519.    o A fixed or floating-point constant 
  2520.  
  2521.      Note:  The largest floating-point constant is 1.8E308. The smallest 
  2522.      floating-point number supported is 2.23E-308. 
  2523.  
  2524.    o A string constant (enclosed in " ") 
  2525.  
  2526.    o A character constant (enclosed in ' ') 
  2527.  
  2528.    o Segment:Offset address specification (0000:0000) 
  2529.  
  2530.      When you are specifying a segment offset address for monitoring in a 
  2531.      variable monitor window, specify the offset address in the format 
  2532.      0x0000:0x0000. 
  2533.  
  2534. Register          One of the following register names: AX, BX, CX, DX, SP, BP, 
  2535.                   SI, DI, AL, BL, CL, DL, AH, BH, CH, DH, EAX, EBX, ECX, EDX, 
  2536.                   ESP, EBP, ESI, EDI, EIP, CS, DS, ES, FS, GS, SS, EFLAGS. One 
  2537.                   of the following floating-point register names: ST0 through 
  2538.                   ST7, FPCW, FPSW, FPTW, FPEIP, FPCS, FPEDP, FPDS. 
  2539.  
  2540.                   In the case of conflicting names, the program variable names 
  2541.                   take precedence over the register names. For conversions that 
  2542.                   are done automatically when the registers appear in 
  2543.                   mixed-mode expressions, general purpose registers are treated 
  2544.                   as unsigned arithmetic items with a length appropriate to the 
  2545.                   register. For example, EAX is 32-bits, AX is 16-bits, and AL 
  2546.                   is 8-bits. 
  2547.  
  2548. If you monitor an enumerated variable, a comment is displayed to the right of 
  2549. the value.  If the value of the variable matches one of the enumerated types, 
  2550. the comment will contain the name of the first enumerated type that matches the 
  2551. variable's value. If the length of the enumerated name will not fit in the 
  2552. monitor, the contents are displayed as an empty field. 
  2553.  
  2554. The comment (empty or not) lets you distinquish between a valid enumerated 
  2555. value and an invalid value.  An invalid value will not have a comment to the 
  2556. right of the value. 
  2557.  
  2558. You can not update an enumerated variable by entering an enumerated type.  You 
  2559. must enter a value or expression.  If the value is a valid enumerated value, 
  2560. the comment to the right of the value will be updated. 
  2561.  
  2562. Bit fields are supported for C/C++ compiled code only. You can display and 
  2563. update bit fields, but you cannot use them in expressions. You cannot look at 
  2564. variables that have been defined using the define preprocessor directive. 
  2565.  
  2566.  
  2567. ΓòÉΓòÉΓòÉ 5.7.15. Supported Expression Operators ΓòÉΓòÉΓòÉ
  2568.  
  2569. You can monitor an expression that uses the following types of operators only: 
  2570.  
  2571. Operator                      Coded as 
  2572.  
  2573. Complement                    -a 
  2574. Bitwise negate                ~a 
  2575. Logical negation              !a 
  2576. Dereference                   *a 
  2577. Address of                    &a 
  2578. Multiply                      a * b 
  2579. Divide                        a / b 
  2580. Modulo                        a % b 
  2581. Add                           a + b 
  2582. Subtract                      a - b 
  2583. Shift left                    a << b 
  2584. Shift right                   a >> b 
  2585. Less than                     a < b 
  2586. Greater than                  a > b 
  2587. Less than or equal to         a <= b 
  2588. Greater than or equal to      a >= b 
  2589. Equal                         a == b 
  2590. Not equal                     a != b 
  2591. Bitwise AND                   a & b 
  2592. Bitwise OR                    a | b 
  2593. Bitwise exclusive OR          a ╨║ b 
  2594. Logical AND                   a && b 
  2595. Logical OR                    a || b 
  2596. Structure element             a.b 
  2597. Array element                 a[b] 
  2598. Subfield select               a->b 
  2599. Segment: Offset address specification When you are specifying a segment offset 
  2600.                               address for monitoring in a variable monitor 
  2601.                               window, specify the offset address in the format 
  2602.                               0x0000:0x0000. 
  2603. Cast                          (dt)(exp), where dt is one of the supported data 
  2604.                               types, and exp is an expression that evaluates to 
  2605.                               one of these data types. 
  2606.  
  2607.  
  2608. ΓòÉΓòÉΓòÉ 5.7.16. Supported Data Types ΓòÉΓòÉΓòÉ
  2609.  
  2610. You can monitor an expression that uses the following typecasting operations 
  2611. only: 
  2612.  
  2613. o 8-bit signed byte 
  2614. o 8-bit unsigned byte 
  2615. o 16-bit signed integer 
  2616. o 16-bit unsigned integer 
  2617. o 32-bit signed integer 
  2618. o 32-bit unsigned integer 
  2619. o 32-bit floating-point 
  2620. o 64-bit floating-point 
  2621. o 80-bit floating-point 
  2622. o Pointers 
  2623. o User-defined types. 
  2624.  
  2625.  
  2626. ΓòÉΓòÉΓòÉ 5.8. Monitor Expression Action Window ΓòÉΓòÉΓòÉ
  2627.  
  2628. Use this action window to type in the expression that you want to monitor. 
  2629.  
  2630. This action window lists the following contextual information: 
  2631.  
  2632. o The component you are in 
  2633. o The view of the program that is active 
  2634. o The line of the source code active (highlighted) 
  2635. o The thread you are in. 
  2636.  
  2637. The expression language supported by the debugger is a subset of the C/C++ 
  2638. language. You can monitor only expressions with: 
  2639.  
  2640. o A supported operand type 
  2641. o A supported operator 
  2642. o A supported typecasting operation. 
  2643.  
  2644. To specify an expression to be monitored: 
  2645.  
  2646.  1. Type the name of the variable or expression you want to monitor. 
  2647.  
  2648.  2. Select the appropriate push button. 
  2649.  
  2650.  3. The expression is displayed in the fashion specified in the Monitor 
  2651.     Properties action window. 
  2652.  
  2653.  
  2654. ΓòÉΓòÉΓòÉ 5.9. Windows Menu ΓòÉΓòÉΓòÉ
  2655.  
  2656. Select choices from the Windows menu to display other debugger windows. 
  2657.  
  2658. Menu Summary 
  2659.  
  2660. Local variables 
  2661.   Display the local variables for the program's current line. 
  2662.  
  2663. Registers 
  2664.   Monitor registers and flags for a particular thread. 
  2665.  
  2666. Stack 
  2667.   Monitor the call chain stack for a particular thread. 
  2668.  
  2669. Private monitor 
  2670.   Display the Private Monitor window. 
  2671.  
  2672. Program monitor 
  2673.   Display the Program Monitor window. 
  2674.  
  2675. Storage 
  2676.   Monitor the storage that a program is using. 
  2677.  
  2678. Window analysis 
  2679.   View graphical and textual information of program windows and observe the 
  2680.   relationships between windows. 
  2681.  
  2682. Message queue monitor 
  2683.   Select the PM messages that you want displayed. 
  2684.  
  2685. Inheritance 
  2686.   Look at classes of C++ programs. 
  2687.  
  2688. Command Log 
  2689.   Display the Command Log window. 
  2690.  
  2691. Command Line 
  2692.   Display the Command Line window. 
  2693.  
  2694. Debug session control 
  2695.   Displays the Debug Session Control window. 
  2696.  
  2697.  
  2698. ΓòÉΓòÉΓòÉ 5.9.1. Message Queue Monitor Choice ΓòÉΓòÉΓòÉ
  2699.  
  2700. Select the Message queue monitor choice to display the Message Queue Monitor 
  2701. window which displays the PM messages for PM applications. 
  2702.  
  2703.  
  2704. ΓòÉΓòÉΓòÉ 5.9.2. Window Analysis Choice ΓòÉΓòÉΓòÉ
  2705.  
  2706. Select the Window analysis choice to help you understand PM application 
  2707. windows. It presents both graphical and textual information of debugged windows 
  2708. and lets you observe the relationships between windows. 
  2709.  
  2710. Note:  To display the Window Analysis window, you must stop your program. 
  2711.  
  2712.  
  2713. ΓòÉΓòÉΓòÉ 5.10. Run Menu ΓòÉΓòÉΓòÉ
  2714.  
  2715. Select choices from the Run menu to control the execution of your program. You 
  2716. can choose from several ways to step through your program, or you can execute 
  2717. your program until a breakpoint is encountered or your program is terminated. 
  2718.  
  2719. You can access any of the choices in the Run menu by using the shortcut keys. 
  2720. These keys are also listed in the Run menu. In the case of the Step over 
  2721. command, you can use the mouse. 
  2722.  
  2723. When you select a choice from the Run menu, the mouse pointer changes to a 
  2724. clock icon to indicate that the application is running and might require input 
  2725. to continue to the next breakpoint or termination of the program. 
  2726.  
  2727. Menu Summary 
  2728.  
  2729. Thread enabled 
  2730.   Enable or disable threads. 
  2731.  
  2732. Step over 
  2733.   Execute the current line in your program.  If the current line is a call, 
  2734.   execution is halted when the call is completed. 
  2735.  
  2736. Step into 
  2737.   Execute the current line in your program.  If the current line is a call, 
  2738.   execution is halted at the first statement in the called function. 
  2739.  
  2740. Step debug 
  2741.   Execute the current line in the program. The debuggers steps over any 
  2742.   function for which debugging information is not available and steps into any 
  2743.   function for which debugging information is available. 
  2744.  
  2745. Step return 
  2746.   Step through the current function until the return is executed. 
  2747.  
  2748. Run 
  2749.   Execute the program from the current line until a breakpoint is encountered 
  2750.   or the program terminates. 
  2751.  
  2752. Run to location 
  2753.   Execute your program from the current line up to the line that is highlighted 
  2754.   with gray in the prefix area. 
  2755.  
  2756. Jump to location 
  2757.   Change the current line in the program without executing the code between the 
  2758.   present current line and the new current line. 
  2759.  
  2760. Animate 
  2761.   Automatically repeat Step over commands. 
  2762.  
  2763. Halt 
  2764.   Interrupt the program you are debugging. 
  2765.  
  2766.  
  2767. ΓòÉΓòÉΓòÉ 5.10.1. Thread Enabled Choice ΓòÉΓòÉΓòÉ
  2768.  
  2769. Select the Thread enabled. choice so that the thread associated with the 
  2770. program view is allowed to execute when the program runs.  When a thread is 
  2771. enabled, a ΓêÜ symbol appears beside the Thread enabled. choice.  When a thread 
  2772. is not enabled, a ΓêÜ symbol is not displayed and the highlighted thread is not 
  2773. executed. 
  2774.  
  2775.  
  2776. ΓòÉΓòÉΓòÉ 5.10.2. Step Debug Choice ΓòÉΓòÉΓòÉ
  2777.  
  2778. Select the Step debug choice to execute the current line in the program. The 
  2779. debugger steps over any function for which debug data. is not available, (for 
  2780. example, library and system functions) and steps into any function for which 
  2781. debugging information is available. 
  2782.  
  2783.  
  2784. ΓòÉΓòÉΓòÉ 5.10.3. Step Into Choice ΓòÉΓòÉΓòÉ
  2785.  
  2786. Select the Step into choice to execute the current line in the program,  If the 
  2787. current line is a call, execution is halted at the first statement in the 
  2788. called function. 
  2789.  
  2790.  
  2791. ΓòÉΓòÉΓòÉ 5.10.4. Step Over Choice ΓòÉΓòÉΓòÉ
  2792.  
  2793. Select the Step over choice to execute the current line of the program. If the 
  2794. current line is a call, execution is halted when the call is completed.  You 
  2795. can also access the Step over function by placing the mouse cursor in a program 
  2796. view window and single-clicking mouse button two to execute one line. 
  2797.  
  2798. All enabled threads will be allowed to continue execute. 
  2799.  
  2800. Note:  The debugger stops in a called function if it encounters a breakpoint. 
  2801.  
  2802.  
  2803. ΓòÉΓòÉΓòÉ 5.10.5. Step Return Choice ΓòÉΓòÉΓòÉ
  2804.  
  2805. Select the Step return choice to automatically execute the lines of code up to, 
  2806. and including, the return statement of the current function (unless a 
  2807. breakpoint is encountered). 
  2808.  
  2809.  
  2810. ΓòÉΓòÉΓòÉ 5.10.6. Run Choice ΓòÉΓòÉΓòÉ
  2811.  
  2812. Select the Run choice to execute the program, including all enabled threads, 
  2813. from the current line until a breakpoint is encountered or the program is 
  2814. terminated. 
  2815.  
  2816.  
  2817. ΓòÉΓòÉΓòÉ 5.10.7. Run to Location Choice ΓòÉΓòÉΓòÉ
  2818.  
  2819. You can execute your program from the current line up to the line that is 
  2820. highlighted with gray in the prefix area. 
  2821.  
  2822. To use the Run to location choice: 
  2823.  
  2824.  1. Single-click in the prefix area of the line you want to become the current 
  2825.     line. 
  2826.  
  2827.     The prefix area turns gray. 
  2828.  
  2829.  2. Select the Run to location choice. 
  2830.  
  2831.     The program is executed up to the line that you marked. 
  2832.  
  2833. The Run to location choice stops only on executable lines. If a highlighted 
  2834. line is not executable, the run is not performed. 
  2835.  
  2836.  
  2837. ΓòÉΓòÉΓòÉ 5.10.8. Jump to Location Choice ΓòÉΓòÉΓòÉ
  2838.  
  2839. You can change the current line in your program without executing the lines 
  2840. between the present current line and the new current line. 
  2841.  
  2842. To use the Jump to location choice: 
  2843.  
  2844.  1. Single-click in the prefix area of the line you want to become the current 
  2845.     line. 
  2846.  
  2847.     The prefix area turns gray. 
  2848.  
  2849.  2. Select the Jump to location choice. 
  2850.  
  2851.     The current line is changed and the lines between are not executed. 
  2852.  
  2853. The Jump to location choice stops only on executable lines. If a highlighted 
  2854. line is not executable, the run is not performed. 
  2855.  
  2856. Note:  Jumping out of the current function may corrupt the stack pointer and 
  2857. cause your program to produce unpredictable results. 
  2858.  
  2859.  
  2860. ΓòÉΓòÉΓòÉ 5.10.9. Halt Choice ΓòÉΓòÉΓòÉ
  2861.  
  2862. Select the Halt choice to interrupt the program that you are debugging. You can 
  2863. also access this choice by pressing SysRq (Alt+PrintScreen). 
  2864.  
  2865.  
  2866. ΓòÉΓòÉΓòÉ 5.10.10. Animate Choice ΓòÉΓòÉΓòÉ
  2867.  
  2868. When you select Animate, the debugger automatically performs Step over 
  2869. commands.  As the program runs, the position of the current line changes and 
  2870. the monitors are updated. 
  2871.  
  2872. To stop the animation, press SysRq (Alt + Print Screen). 
  2873.  
  2874.  
  2875. ΓòÉΓòÉΓòÉ 5.11. Options Menu ΓòÉΓòÉΓòÉ
  2876.  
  2877. Select choices from the Options menu to control the debugger windows. 
  2878.  
  2879. Menu Summary 
  2880.  
  2881. Fonts 
  2882.   Select the font you want to use for the text displayed in the active window. 
  2883.  
  2884. Session settings 
  2885.   Set various debugger options. 
  2886.  
  2887. Profile 
  2888.   Select the location where you want the debugger restart information file 
  2889.   placed. 
  2890.  
  2891. Debug session control 
  2892.   Display the Debug Session Control window. 
  2893.  
  2894.  
  2895. ΓòÉΓòÉΓòÉ 5.11.1. Monitor Properties Choice ΓòÉΓòÉΓòÉ
  2896.  
  2897. Select the Monitor Properties choice to select the settings for monitoring 
  2898. variables or expressions. 
  2899.  
  2900. When you select the Monitor properties choice, the Monitor Properties action 
  2901. window is displayed. 
  2902.  
  2903.  
  2904. ΓòÉΓòÉΓòÉ 5.11.2. Monitor Properties Action Window ΓòÉΓòÉΓòÉ
  2905.  
  2906. Use the Monitor Properties action window to select the settings for monitoring 
  2907. variables or expressions. You can set the following options:    . 
  2908.  
  2909. o Whether or not the context for variables or expressions is displayed in the 
  2910.   variable monitor windows. 
  2911.  
  2912. o The window into which the variable or expression being monitored is placed. 
  2913.  
  2914. o Whether or not the displayed contents of the variable or expression are 
  2915.   updated as the state of the program changes. 
  2916.  
  2917. o For data popup windows, the duration of time that the monitor windows are 
  2918.   displayed. 
  2919.  
  2920. After you have selected the settings you want from this action window, click on 
  2921. one of the push buttons to continue. 
  2922.  
  2923. For a description of the option settings that you can select from this action 
  2924. window, double-click on one of the following topics: 
  2925.  
  2926. o Show context 
  2927. o Monitor location 
  2928. o Enabled 
  2929. o Duration 
  2930.  
  2931.  
  2932. ΓòÉΓòÉΓòÉ 5.11.3. Show context ΓòÉΓòÉΓòÉ
  2933.  
  2934. Select the Show context check box to display the context for variables or 
  2935. expressions when they are selected for monitoring. 
  2936.  
  2937.  
  2938. ΓòÉΓòÉΓòÉ 5.11.4. Monitor location ΓòÉΓòÉΓòÉ
  2939.  
  2940. Choose one of the following radio buttons to select the type of monitor window 
  2941. that is opened when a variable or expression is selected for monitoring. The 
  2942. selections you can make and the corresponding windows are: 
  2943.  
  2944. Popup               Display the variable or expression in a data popup window. 
  2945.  
  2946. Private monitor     Display the variable or expression in the Private Monitor 
  2947.                     window. 
  2948.  
  2949. Program monitor     Display the variable or expression in the Program Monitor 
  2950.                     window. 
  2951.  
  2952.  
  2953. ΓòÉΓòÉΓòÉ 5.11.5. Enabled ΓòÉΓòÉΓòÉ
  2954.  
  2955. Select the Enabled check box to update the displayed contents of variables or 
  2956. expressions when they are selected for monitoring. 
  2957.  
  2958.  
  2959. ΓòÉΓòÉΓòÉ 5.11.6. Duration ΓòÉΓòÉΓòÉ
  2960.  
  2961. If you select Popup from under the Monitor location group heading, select one 
  2962. of the following radio buttons to select the length of time that the data popup 
  2963. window will stay displayed: 
  2964.  
  2965. Step/run        The monitor window closes when the next step command or Run is 
  2966.                 executed. 
  2967.  
  2968. New source      The monitor window closes when execution stops in a new source. 
  2969.  
  2970. Permanent       The monitor window stays open for the remainder of the 
  2971.                 debugging session. 
  2972.  
  2973.  
  2974. ΓòÉΓòÉΓòÉ 5.11.7. Initial Window Placement Choice ΓòÉΓòÉΓòÉ
  2975.  
  2976. Select the Initial window placement choice to set the position and size of the 
  2977. debugger windows when they are first created. When you select Initial window 
  2978. placement, the Initial Window Placement action window is displayed. 
  2979.  
  2980.  
  2981. ΓòÉΓòÉΓòÉ 5.11.8. Profile Cascading Choice ΓòÉΓòÉΓòÉ
  2982.  
  2983. Select the Profile cascading choice to specify the location in which you want 
  2984. the debugger restart information file and session settings placed, or to delete 
  2985. restart information. 
  2986.  
  2987. Menu Summary 
  2988.  
  2989. Change location 
  2990.   Allows you to change the location of the files that hold the debugger 
  2991.   settings. 
  2992.  
  2993. Delete restart information 
  2994.   Allows you to delete restart information for a program that you have 
  2995.   debugged. 
  2996.  
  2997.  
  2998. ΓòÉΓòÉΓòÉ 5.11.9. Change Location Choice ΓòÉΓòÉΓòÉ
  2999.  
  3000. Select the Change location choice to specify the location in which you want the 
  3001. profile information file placed. The debugger restart information file contains 
  3002. your selections for most of the debugger options and information. You choose 
  3003. whether or not you want your selections saved for the next debugging session by 
  3004. selecting Save settings at the time you make your selections in an option 
  3005. action window. 
  3006.  
  3007. When you select the Change location choice, the Change Location action window 
  3008. appears displayed. 
  3009.  
  3010.  
  3011. ΓòÉΓòÉΓòÉ 5.11.10. Save Restart Information Choice ΓòÉΓòÉΓòÉ
  3012.  
  3013. Select the Save restart information choice to save the restart information for 
  3014. a program that you have previously debugged. 
  3015.  
  3016. When you select Save restart information, the Save Restart Information action 
  3017. window is displayed. 
  3018.  
  3019.  
  3020. ΓòÉΓòÉΓòÉ 5.11.11. Save Restart Action Window ΓòÉΓòÉΓòÉ
  3021.  
  3022. Use the Save Restart Information action window to save the restart information 
  3023. for the program that you are currently debugging. 
  3024.  
  3025. To save restart information: 
  3026.  
  3027.  1. Select the path names of the programs whose restart information you want to 
  3028.     delete. 
  3029.  
  3030.  2. Click on the Delete push button. 
  3031.  
  3032.  3. Click on Cancel to close the Delete Restart Information action window. 
  3033.  
  3034.  
  3035. ΓòÉΓòÉΓòÉ 5.11.12. Delete Restart Information Choice ΓòÉΓòÉΓòÉ
  3036.  
  3037. Select the Delete restart information choice to delete restart information for 
  3038. a program that you have previously debugged. 
  3039.  
  3040. When you select Delete restart information, the Delete Restart Information 
  3041. action window is displayed. 
  3042.  
  3043.  
  3044. ΓòÉΓòÉΓòÉ 5.11.13. Delete Restart Information Action Window ΓòÉΓòÉΓòÉ
  3045.  
  3046. Use the Delete Restart Information action window to delete the restart 
  3047. information from the debugger restart information file for a program that you 
  3048. have previously debugged. 
  3049.  
  3050. To delete restart information: 
  3051.  
  3052.  1. Select the path names of the programs whose restart information you want to 
  3053.     delete. 
  3054.  
  3055.  2. Click on the Delete push button. 
  3056.  
  3057. Note:  You can delete restart information to minimize the amount of space your 
  3058. debugger restart information files take up. 
  3059.  
  3060.  
  3061. ΓòÉΓòÉΓòÉ 5.11.14. Initial Window Placement Action Window ΓòÉΓòÉΓòÉ
  3062.  
  3063. Use the Initial Window Placement action window to set the position and size of 
  3064. the debugger windows when they are first opened.  The following is a list of 
  3065. the windows you can manipulate: 
  3066.  
  3067. o Debug Session Control 
  3068. o Local Variable 
  3069. o Parent and Z-order Tree 
  3070. o Program Monitor 
  3071. o Register 
  3072. o Source, Disassembly, or Mixed 
  3073. o Stack 
  3074. o Storage. 
  3075. o Window Analysis 
  3076. o Window Characteristics 
  3077. o Message Queue Monitor 
  3078.  
  3079. The rectangle area under the Window group heading represents your screen. The 
  3080. Width and Height of the representational screen are shown under the Screen Size 
  3081. group heading. 
  3082.  
  3083. Double-click on one of the following topics to see the procedures for changing 
  3084. the initial opening position and opening size of the windows: 
  3085.  
  3086. o Changing Initial Opening Positions 
  3087. o Changing Initial Opening Sizes 
  3088.  
  3089. Click on one of the push buttons to continue. 
  3090.  
  3091. Window Title List Box 
  3092.  
  3093. Use the window title list to select the title of the window you want to edit. 
  3094. (The titles might not be fully displayed for all of the windows.) Select the 
  3095. arrow to open the window title list. Then, highlight the title of the window 
  3096. you want to edit. The new title is displayed in the window title entry field. 
  3097.  
  3098. Placement Values 
  3099.  
  3100. X         The coordinate of the horizontal axis. 
  3101.  
  3102. Y         The coordinate of the vertical axis. 
  3103.  
  3104. Width     The width of the window, in units. 
  3105.  
  3106. Height    The height of the window in units. 
  3107.  
  3108. Click on the Edit Window push button to make the window displayed in the window 
  3109. title entry field, the current window. 
  3110.  
  3111. Screen Size 
  3112.  
  3113. Under the Screen Size group heading are displayed the maximum height and width 
  3114. for a window with coordinates (0,0). 
  3115.  
  3116. Note:  The sum of the X coordinate and the Width cannot be greater than the 
  3117. value displayed under the Screen Size group heading. The sum of the Y 
  3118. coordinate and the Height cannot be greater than the value displayed under the 
  3119. Screen Size group heading. 
  3120.  
  3121.  
  3122. ΓòÉΓòÉΓòÉ 5.11.15. Changing Initial Opening Positions ΓòÉΓòÉΓòÉ
  3123.  
  3124. You can move any window to a new opening position by dragging it with the 
  3125. mouse. The new X (horizontal axis) and Y (vertical axis) coordinates are 
  3126. displayed after it has been moved. 
  3127.  
  3128. You can also change the opening position of a window by doing the following: 
  3129.  
  3130.  1. Select the window you want to edit in either of the following ways: 
  3131.  
  3132.    o With the mouse 
  3133.  
  3134.    o By selecting the arrow in the window title entry field to open the window 
  3135.      title list, and highlighting the title of the window you want to 
  3136.      reposition. 
  3137.  
  3138.      The window you have chosen to edit is now displayed in the window title 
  3139.      entry field. 
  3140.  
  3141.  2. Click on the Edit push button. 
  3142.  
  3143.  3. Type in the new X (horizontal axis) and Y (vertical axis) coordinates. 
  3144.  
  3145.     The position of the window changes as you type in the new coordinates. 
  3146.  
  3147.     Note:  The sum of the X coordinate and the Width cannot be greater than the 
  3148.     value displayed under the Screen Size group heading. The sum of the Y 
  3149.     coordinate and the Height cannot be greater than the value displayed under 
  3150.     the Screen Size group heading. 
  3151.  
  3152.  4. Click on the appropriate push button to continue. 
  3153.  
  3154.  
  3155. ΓòÉΓòÉΓòÉ 5.11.16. Changing Initial Opening Sizes ΓòÉΓòÉΓòÉ
  3156.  
  3157. You can change the opening size of a window by dragging it with the mouse. The 
  3158. new Width and Height are displayed after you have resized it. 
  3159.  
  3160. You can also change the opening size of a window by doing the following: 
  3161.  
  3162.  1. Select the window you want to edit in either of the following ways: 
  3163.  
  3164.    o With the mouse 
  3165.  
  3166.    o By selecting the arrow in the window title entry field to open the title 
  3167.      list, and highlighting the title of the window you want to resize. 
  3168.  
  3169.      The window you have chosen to edit is now displayed in the window title 
  3170.      entry field. 
  3171.  
  3172.  2. Click on the Edit push button. 
  3173.  
  3174.  3. Type in the new Height and Width values. 
  3175.  
  3176.     The size of the window changes as you type in the new values. 
  3177.  
  3178.     Note:  The sum of the X coordinate and the Width cannot be greater than 
  3179.     640. The sum of the Y coordinate and the Height cannot be greater than 480. 
  3180.  
  3181.  4. Click on the appropriate push button to continue. 
  3182.  
  3183.  
  3184. ΓòÉΓòÉΓòÉ 5.11.17. Push Buttons ΓòÉΓòÉΓòÉ
  3185.  
  3186. OK 
  3187.   Click on OK to accept the information you have entered and to close this 
  3188.   action window. 
  3189.  
  3190. Reset 
  3191.   Click on Reset to change the information to the previously saved setting. 
  3192.  
  3193. Default 
  3194.   Click on Default to change to the default setting. 
  3195.  
  3196. Cancel 
  3197.   Click on Cancel to close this action window. 
  3198.  
  3199. Help 
  3200.   Click on Help to display help information that tells you how to use this 
  3201.   action window. 
  3202.  
  3203.  
  3204. ΓòÉΓòÉΓòÉ 5.11.18. Push Buttons ΓòÉΓòÉΓòÉ
  3205.  
  3206. OK 
  3207.   Click on OK to accept the information you have entered and to close this 
  3208.   action window. 
  3209.  
  3210. Reset 
  3211.   Click on Reset to change the information to the previously saved setting. 
  3212.  
  3213. Cancel 
  3214.   Click on Cancel to close this action window. 
  3215.  
  3216. Help 
  3217.   Click on Help to display help information that tells you how to use this 
  3218.   action window. 
  3219.  
  3220.  
  3221. ΓòÉΓòÉΓòÉ 5.11.19. Change Location Action Window ΓòÉΓòÉΓòÉ
  3222.  
  3223. Use the Change Location action window to specify the directory where you want 
  3224. the profile information (session settings and restart information) default 
  3225. options file saved. 
  3226.  
  3227. After you have completed your dialog, click on the appropriate push button. 
  3228.  
  3229. Path 
  3230.  
  3231. Type the full path name of the directory where you want the debugger profile 
  3232. information file stored 
  3233.  
  3234.  
  3235. ΓòÉΓòÉΓòÉ 5.11.20. Push Buttons ΓòÉΓòÉΓòÉ
  3236.  
  3237. OK 
  3238.   Click on OK to accept the information you have entered and to close this 
  3239.   action window. 
  3240.  
  3241. Reset 
  3242.   Click on Reset to clear any changes you have made in this dialog session. 
  3243.  
  3244. Default 
  3245.   Click on Default to replace the current settings with the debugger default 
  3246.   options. 
  3247.  
  3248. Cancel 
  3249.   Click on Cancel to close this action window. 
  3250.  
  3251. Help 
  3252.   Click on Help to display help information that tells you how to use this 
  3253.   action window. 
  3254.  
  3255.  
  3256. ΓòÉΓòÉΓòÉ 5.11.21. Fonts Choice ΓòÉΓòÉΓòÉ
  3257.  
  3258. Select the Fonts choice to set the font you want to use for the text that is 
  3259. displayed in the active window. 
  3260.  
  3261.  
  3262. ΓòÉΓòÉΓòÉ 5.11.22. Private Monitor Choice ΓòÉΓòÉΓòÉ
  3263.  
  3264. Select the Private monitor choice to display the Private Monitor window. 
  3265.  
  3266.  
  3267. ΓòÉΓòÉΓòÉ 5.11.23. Program Monitor Choice ΓòÉΓòÉΓòÉ
  3268.  
  3269. Select the Program monitor choice to display the Program Monitor window. 
  3270.  
  3271.  
  3272. ΓòÉΓòÉΓòÉ 5.11.24. Animation Rate Choice ΓòÉΓòÉΓòÉ
  3273.  
  3274. Select the Animation rate choice to set the rate that you will automatically 
  3275. step through your program. 
  3276.  
  3277. When you select Animation rate, the Animation Rate action window is displayed. 
  3278.  
  3279.  
  3280. ΓòÉΓòÉΓòÉ 5.11.25. Source Window Properties Choice ΓòÉΓòÉΓòÉ
  3281.  
  3282. Select the Source window properties choice to determine how your threads and 
  3283. source files are initially displayed and how they are handled when they stop or 
  3284. are no longer active. When you select Source window properties, the Source 
  3285. Window Properties action window is displayed. 
  3286.  
  3287.  
  3288. ΓòÉΓòÉΓòÉ 5.12. Font Selection Action Window ΓòÉΓòÉΓòÉ
  3289.  
  3290. Use this action window to change the font that is used for the text displayed 
  3291. in the current window. 
  3292.  
  3293.  
  3294. ΓòÉΓòÉΓòÉ 5.12.1. Push Buttons ΓòÉΓòÉΓòÉ
  3295.  
  3296. OK 
  3297.   Click on OK to accept the information you have entered and to close this 
  3298.   action window. 
  3299.  
  3300. Apply 
  3301.   Click on Apply to apply the font to the window. The change applies only until 
  3302.   you close the action window. Click on OK to select the new font. 
  3303.  
  3304. Reset 
  3305.   Click on Reset to change the font back to your earlier selection. 
  3306.  
  3307. Default 
  3308.   Click on Default to replace the current font selection with the default font. 
  3309.   The default font is System Monospaced 8x8. 
  3310.  
  3311. Cancel 
  3312.   Click on Cancel to close this action window. 
  3313.  
  3314. Help 
  3315.   Click on Help to display help information that tells you how to use this 
  3316.   action window. 
  3317.  
  3318.  
  3319. ΓòÉΓòÉΓòÉ 5.13. Source Window Properties Action Window ΓòÉΓòÉΓòÉ
  3320.  
  3321. Use this action window to define: 
  3322.  
  3323. o The program view that is to be displayed when the debugger is started and 
  3324.   when a program view is first displayed in the course of debugging. 
  3325.  
  3326. o How to process view windows from which execution has just left. These 
  3327.   components and threads can: 
  3328.  
  3329.    - Remain displayed 
  3330.    - Be turned into an Icon 
  3331.    - Be discarded. 
  3332.  
  3333. New view priority 
  3334.  
  3335. When a program view is created, this setting indicates the view that is to be 
  3336. displayed (subject to the availability of the source code). 
  3337.  
  3338. The views that can be displayed are: 
  3339.  
  3340. Source                Displays the source code for the thread or component. 
  3341.  
  3342. Disassembly           Displays your program as assembler instructions without 
  3343.                       symbolic information for the thread or component. 
  3344.  
  3345. Mixed                 Displays a line of source code followed by the assembler 
  3346.                       instructions for that line of source code. 
  3347.  
  3348. You can change the priority by dragging the view icons with mouse button two to 
  3349. arrange the items in the order you want, and you can use the tab keys to move 
  3350. around to the other parts of the action window. You can also rearrange the view 
  3351. icons using the Alt+Up and Alt+Down arrow keystrokes. 
  3352.  
  3353. You can choose to display the program views in the New view priority as icons 
  3354. or text. Click on the appropriate push button to set the display mode. 
  3355.  
  3356. Old source disposition 
  3357.  
  3358. In the course of debugging, these selections allow you to control the behavior 
  3359. of view windows from which execution has just left. The Old source disposition 
  3360. controls the behavior of view windows within a thread. 
  3361.  
  3362. The dispositions that the views can take are: 
  3363.  
  3364. Keep           Leaves open the views that contain the components and threads 
  3365.                that you select with Display at stop. 
  3366.  
  3367. Iconize        Changes into icons the views that contain the components and 
  3368.                threads that you select with Display at stop. 
  3369.  
  3370. Discard        Disposes of the views that contain the components and threads 
  3371.                that you select with Display at stop. 
  3372.  
  3373. Display at stop 
  3374.  
  3375. You can control how many windows are displayed at one time. 
  3376.  
  3377. The choices are: 
  3378.  
  3379. Only stopping thread     Either keeps, iconizes, or discards all views that are 
  3380.                          not the stopping thread. 
  3381.  
  3382. All threads              Keeps, iconizes, or discards the views for old 
  3383.                          components within each thread. 
  3384.  
  3385. For example, if you select Only stopping thread, the Old source disposition 
  3386. applies to all of the view windows except the current view of the stopping 
  3387. thread. If you select All threads, the Old source disposition applies only to 
  3388. the view windows for the components from which execution has just left within a 
  3389. thread. 
  3390.  
  3391. Source as Notebook 
  3392.  
  3393. You can display your program view in a notebook format if there are include 
  3394. files in the source file. 
  3395.  
  3396. Multiple views 
  3397.  
  3398. You can choose to display more than one program view for a particular source 
  3399. file. The default is not to display multiple views. 
  3400.  
  3401. Title bar buttons 
  3402.  
  3403. You can choose to display or not display the title bar buttons. The default is 
  3404. to display the title bar buttons. 
  3405.  
  3406. Save session settings 
  3407.  
  3408. You can choose to save your selections for the next debugging session. 
  3409.  
  3410. Click on the appropriate push button to complete your dialog. 
  3411.  
  3412.  
  3413. ΓòÉΓòÉΓòÉ 6. Inheritance View Window ΓòÉΓòÉΓòÉ
  3414.  
  3415. The Inheritance View window displays a list of classes and a graphical 
  3416. depiction of the C++ class hierarchy.  You can also display the class 
  3417. definitions of your program. 
  3418.  
  3419. Menu Bar Summary 
  3420.  
  3421. File 
  3422.   Display class details, display overview, or close the debugger. 
  3423.  
  3424. Options 
  3425.   Select the font, control how the classes are displayed, find a class, and 
  3426.   display the Debug Session Control window. 
  3427.  
  3428. Help 
  3429.   You have access to several kinds of help information that compliments the 
  3430.   online help information that you can get for the debugger.  Press F1 or 
  3431.   select the Help push button. 
  3432.  
  3433.  
  3434. ΓòÉΓòÉΓòÉ 6.1. File Menu ΓòÉΓòÉΓòÉ
  3435.  
  3436. You can look at class details and select an overview of the class hierarchy. 
  3437.  
  3438. Menu Summary 
  3439.  
  3440. Class details 
  3441.   Open the Class Details window for the selected class. 
  3442.  
  3443. Overview 
  3444.   Display the Overview window for the class hierarchy. 
  3445.  
  3446. Close Debug 
  3447.   Close the debugging session. 
  3448.  
  3449.  
  3450. ΓòÉΓòÉΓòÉ 6.1.1. Class Details Choice ΓòÉΓòÉΓòÉ
  3451.  
  3452. Select the Class details choice to get more information about a particular 
  3453. class definition. 
  3454.  
  3455. Select a class from the list, then select the Class details choice. The Class 
  3456. Details action window is displayed. 
  3457.  
  3458.  
  3459. ΓòÉΓòÉΓòÉ 6.1.2. Overview Choice ΓòÉΓòÉΓòÉ
  3460.  
  3461. Select the Overview choice to display a scaled-down image of the Inheritance 
  3462. View window. You can zoom in and out on the Inheritance View window. This 
  3463. allows you to enlarge the nodes displaying the text for that node. 
  3464.  
  3465.  
  3466. ΓòÉΓòÉΓòÉ 6.2. Overview Window ΓòÉΓòÉΓòÉ
  3467.  
  3468. The Overview window displays a scaled-down image of the Inheritance View 
  3469. window. 
  3470.  
  3471. To change the view of the window: 
  3472.  
  3473.  1. Press and hold down mouse button one, while pointing to any edge of the 
  3474.     shaded rectangle in the Overview window. By moving the mouse forward or 
  3475.     backward, the rectangle becomes larger or smaller. 
  3476.  
  3477.  2. Release mouse button one and the main window is redrawn to reflect the new 
  3478.     view. 
  3479.  
  3480. To change to a different area of the window: 
  3481.  
  3482.  1. Press and hold down mouse button one in the center of the shaded rectangle 
  3483.     in the Overview window. Move the rectangle over the part of the graph that 
  3484.     you want to view. 
  3485.  
  3486.  2. Release mouse button one and the main window is redrawn to reflect the new 
  3487.     view. 
  3488.  
  3489.  
  3490. ΓòÉΓòÉΓòÉ 6.3. Options Menu ΓòÉΓòÉΓòÉ
  3491.  
  3492. Select choices from the Options menu to change the parameters that control how 
  3493. the program is displayed and executed. 
  3494.  
  3495. Menu Summary 
  3496.  
  3497. Fonts 
  3498.   Select the font you want to use for the text displayed in the active window. 
  3499.  
  3500. Derived to Base Class Tree 
  3501.   Display the class list as a tree.  When you click on the plus icon, the base 
  3502.   classes are displayed for that class. 
  3503.  
  3504. Base Class to Derived Tree 
  3505.   Display the class list as a tree.  When you click on the plus icon, the 
  3506.   derived classes are displayed for that class. 
  3507.  
  3508. Class List 
  3509.   Display only a list of the classes. 
  3510.  
  3511. Find class 
  3512.   Locate a class. 
  3513.  
  3514. Debug session control 
  3515.   Display the Debug Session Control window. 
  3516.  
  3517.  
  3518. ΓòÉΓòÉΓòÉ 6.3.1. Find Class Choice ΓòÉΓòÉΓòÉ
  3519.  
  3520. Select Find class to highlight a particular class definition in the Inheritance 
  3521. View window. When you select Find class, the Find Class action window is 
  3522. displayed. 
  3523.  
  3524.  
  3525. ΓòÉΓòÉΓòÉ 6.4. Find Class Action Window ΓòÉΓòÉΓòÉ
  3526.  
  3527. Use the Find Class action window to highlight a class in the Inheritance View 
  3528. window. Type the name of the class that you want to locate in the Enter class 
  3529. name entry field and select the appropriate push button. 
  3530.  
  3531.  
  3532. ΓòÉΓòÉΓòÉ 6.4.1. Derived to Base Class Tree Choice ΓòÉΓòÉΓòÉ
  3533.  
  3534. Select the Derived to base class tree choice to control how the classes are 
  3535. displayed in the Classes box. 
  3536.  
  3537. When the Derived to base class tree choice is enabled, the classes box is 
  3538. displayed as a hierarchical tree listing the classes alphabetically.  When you 
  3539. click on the plus icon, the base classes are displayed for that class. 
  3540.  
  3541. The title of this list includes (D->B) to indicate that the Derived classes can 
  3542. be expanded into their Base classes. 
  3543.  
  3544.  
  3545. ΓòÉΓòÉΓòÉ 6.4.2. Base to Derived Class Tree Choice ΓòÉΓòÉΓòÉ
  3546.  
  3547. Select the Base to derived class tree choice to control how the classes are 
  3548. displayed in the Classes box. 
  3549.  
  3550. When the Base to derived class tree choice is enabled, the classes box is 
  3551. displayed as a hierarchical tree listing the classes alphabetically.  When you 
  3552. click on the plus icon, the derived classes are displayed for that class. 
  3553.  
  3554. The title of this list includes (B->D) to indicate that the Base classes can be 
  3555. expanded into their Derived classes. 
  3556.  
  3557.  
  3558. ΓòÉΓòÉΓòÉ 6.4.3. Class List Choice ΓòÉΓòÉΓòÉ
  3559.  
  3560. Inheritance View window 
  3561.  
  3562. Select the Class list choice to display the list of classes alphabetically in 
  3563. the Classses list. 
  3564.  
  3565.  
  3566. ΓòÉΓòÉΓòÉ 6.5. Class Details Window ΓòÉΓòÉΓòÉ
  3567.  
  3568. The Class Details window provides information about a particular class 
  3569. definition. 
  3570.  
  3571. Each page has a vertical split bar that lets you resize the notebook page. To 
  3572. resize the page, press and drag the mouse pointer on the vertical split bar. 
  3573.  
  3574. This window contains a notebook with tabs at the bottom. There are six pages in 
  3575. the notebook and each page contains information about a particular class 
  3576. definition. The name of the notebook page is above the tabs. You can change 
  3577. pages in the notebook by selecting the spin buttons in the bottom-right corner 
  3578. or by selecting the tabs on the bottom of the notebook page. The names of the 
  3579. six notebook pages are as follows: 
  3580.  
  3581. o Data members 
  3582.  
  3583. o Member functions 
  3584.  
  3585. o Base classes 
  3586.  
  3587. o Derived classes 
  3588.  
  3589. o Class friends 
  3590.  
  3591. o Friend functions 
  3592.  
  3593. Menu Bar Summary 
  3594.  
  3595. Options 
  3596.   Controls how the window is displayed. 
  3597.  
  3598. Help 
  3599.   You have access to several kinds of help information that compliments the 
  3600.   online help information that you can get for the debugger. Press F1 or select 
  3601.   the Help push button. 
  3602.  
  3603.  
  3604. ΓòÉΓòÉΓòÉ 6.5.1. Options Menu ΓòÉΓòÉΓòÉ
  3605.  
  3606. The Options menu choices allow you to select what you want displayed in the 
  3607. Class Details window. 
  3608.  
  3609. Menu Summary 
  3610.  
  3611. Window settings 
  3612.   Control how the fields in the Class Details window are displayed. 
  3613.  
  3614. Debug session control 
  3615.   Displays the Debug Session Control window. 
  3616.  
  3617. Close debug 
  3618.   End the debugging session. 
  3619.  
  3620.  
  3621. ΓòÉΓòÉΓòÉ 6.5.2. Window Settings Cascading Choice ΓòÉΓòÉΓòÉ
  3622.  
  3623. The Window Settings cascading choice lets you control the font for the notebook 
  3624. page and choose how you want the fields displayed. 
  3625.  
  3626. Menu Summary 
  3627.  
  3628. Display Style 
  3629.   Select which fields are displayed on the notebook page. 
  3630.  
  3631. Fonts 
  3632.   Select the font you want to use for the text displayed in the active window. 
  3633.  
  3634.  
  3635. ΓòÉΓòÉΓòÉ 6.5.3. Display Style Choice ΓòÉΓòÉΓòÉ
  3636.  
  3637. Select the Display style choice to choose which fields are displayed on the 
  3638. notebook page. When you select Display style, the Window Settings action window 
  3639. is displayed. This action window controls the current notebook page. 
  3640.  
  3641. Note:  If you want to change another notebook page, use the spin buttons to 
  3642. move through the notebook pages and then select the Display style choice. 
  3643.  
  3644.  
  3645. ΓòÉΓòÉΓòÉ 6.5.4. Window Settings Action Window ΓòÉΓòÉΓòÉ
  3646.  
  3647. Use the Window Settings action window to control which columns or fields are 
  3648. displayed on the notebook page and how you want the information sorted. There 
  3649. are two list boxes in the Window Settings action window: Details to display and 
  3650. Sort by. 
  3651.  
  3652. Details to display: 
  3653.  
  3654. The list box contains the fields from the notebook page. You can select the 
  3655. columns you want displayed on the notebook page. If you do not want a field 
  3656. displayed on the notebook page, click on it. The field is immediately removed 
  3657. from the notebook page and deselected in the list. 
  3658.  
  3659. Sort by: 
  3660.  
  3661. The list box contains the column names or fields from the notebook page. Select 
  3662. how you want the fields sorted on the notebook page. When you select a field 
  3663. name, all the rows are sorted based on the alphabetical order of the selected 
  3664. field. 
  3665.  
  3666. You can choose Defined order from the list box to place the rows in the default 
  3667. order. 
  3668.  
  3669. Hide column titles 
  3670.  
  3671. This check box lets you choose to hide or show the column titles. When a ΓêÜ is 
  3672. displayed, the titles are hidden. When a ΓêÜ is not displayed, the titles are 
  3673. shown. 
  3674.  
  3675. Select one of the push buttons to continue. 
  3676.  
  3677.  
  3678. ΓòÉΓòÉΓòÉ 7. Exception Window ΓòÉΓòÉΓòÉ
  3679.  
  3680. The Exception action window is displayed whenever an OS/2 exception has 
  3681. occurred.  It may have occurred in application or system code. In either case, 
  3682. the debugger displays and highlights the line where the exception occurred in 
  3683. the source window. 
  3684.  
  3685. The three options that are available are: 
  3686.  
  3687. Examine/Retry       This option allows the user to investigate the cause of the 
  3688.                     exception and if desired, retry execution of the line that 
  3689.                     caused the original fault.  Execution will begin with the 
  3690.                     line that caused the fault and attempt to continue from 
  3691.                     that point. 
  3692.  
  3693.                     This is the default action that occurs if you press Enter. 
  3694.  
  3695. Step Exception      This action causes the debugger to step into the first 
  3696.                     registered exception handler (tracked by OS/2).  Execution 
  3697.                     will stop at the first executable line of code in that 
  3698.                     exception handler.  At this point, the user controls what 
  3699.                     happens next. 
  3700.  
  3701. Run Exception       This action causes the debugger to run the normal exception 
  3702.                     handler(s) that are registered with OS/2 to handle 
  3703.                     exception conditions. 
  3704.  
  3705.  
  3706. ΓòÉΓòÉΓòÉ 8. Window Analysis ΓòÉΓòÉΓòÉ
  3707.  
  3708. Window Analysis gives you an understanding of PM application windows. It 
  3709. presents both graphical and textual information about your application's 
  3710. windows and lets you observe the relationships between windows. 
  3711.  
  3712. It allows you to view a three-dimensional image of your application's windows, 
  3713. characteristics of windows, and parent-child relationships between the windows. 
  3714.  
  3715. Your application creates many windows, directly or indirectly, to perform 
  3716. tasks.  All of these windows are children or descendents of desktop and 
  3717. desktop-object windows.  Windows created by the application being debugged are 
  3718. referred to as debuggee windows.  Window Analysis consists of the following 
  3719. windows: 
  3720.  
  3721. o Window Analysis is the primary window. 
  3722. o Parent and Z-Order Tree is a secondary window. 
  3723. o Window Characteristics is a secondary window. 
  3724.  
  3725. The secondary windows provide information pertaining to the Window Analysis 
  3726. window. When you select an item in any of the three windows, it is reflected in 
  3727. the other two windows. If you close the Window Analysis window, the secondary 
  3728. windows will also close. 
  3729.  
  3730. The Window Analysis presents an image of your debuggee windows. When this image 
  3731. is displayed, you can rotate the image to visually separate the windows, select 
  3732. a window on the image, and look at the detailed information pertaining to that 
  3733. window. The Window Analysis window is represented in a notebook format.  The 
  3734. notebook is divided in two sections: desktop and desktop-object. The notebook 
  3735. has major and minor tabs.  Major tabs correspond to the two major sections that 
  3736. are located at the bottom of the notebook.  Major tab pages define the 
  3737. beginning of major sections and are called primary pages.  Pages within major 
  3738. sections are called regular pages.  They have minor tabs that are located at 
  3739. the right of the notebook. 
  3740.  
  3741. The images on the desktop and desktop-object primary pages represent children 
  3742. of the desktop window and desktop-object window respectively. 
  3743.  
  3744. The images on the regular pages represent the child of the desktop or 
  3745. desktop-object window as a parent and all its descendents. 
  3746.  
  3747. To display the pages and tabs, you can use the notebook standard keyboard 
  3748. selection technique.  Another method of displaying the pages is to double-click 
  3749. on the window on the primary page. 
  3750.  
  3751. You can select any window on a page by clicking on the window. By using the Tab 
  3752. and BackTab keys, you can move the selection from window to another window. 
  3753. When you select an item in the Window Analysis window, it is reflected in the 
  3754. two secondary windows. 
  3755.  
  3756. Each page has a status line that is used to display sizes of a window that is 
  3757. selected on the page. 
  3758.  
  3759. Use the vertical slider or vertical arrows to rotate the page image vertically 
  3760. (around the x-axis).  Use the horizontal slider to rotate the image 
  3761. horizontally (around the y-axis). 
  3762.  
  3763. The borders of the windows are drawn as follows: 
  3764.  
  3765. screen                        solid thick line (only on a primary page) 
  3766. visible window                solid thin line 
  3767. invisible window              dashed thin line 
  3768.  
  3769. Menu Bar Summary 
  3770.  
  3771. Details 
  3772.   View the secondary windows of Window Analysis. 
  3773.  
  3774. Options 
  3775.   Control the way that Window Analysis is displayed. 
  3776.  
  3777. Help 
  3778.   Online help information that compliments the information you get when you 
  3779.   press F1 or select a Help push button. 
  3780.  
  3781.  
  3782. ΓòÉΓòÉΓòÉ <hidden> Desktop ΓòÉΓòÉΓòÉ
  3783.  
  3784. The desktop section is comprised of a primary page and a number of regular 
  3785. pages. The primary page of the desktop section contains the image of the 
  3786. desktop window and debuggee windows that are children of the desktop window. 
  3787. The primary page has a major tab with the name Desktop at the bottom of the 
  3788. notebook. The major tab defines the beginning of the desktop section. 
  3789.  
  3790. The regular page of the desktop section contains the image of the child of the 
  3791. desktop as a parent and all its descendents. The regular page has a minor tab 
  3792. with the image of the desktop window child and its descendents or a text. The 
  3793. minor tabs are at the right of the notebook. 
  3794.  
  3795. Note:  The sizes and distribution of windows may cause the image to be 
  3796. displayed as a small dot on the screen, or number of dots positioned according 
  3797. to the z-order. This may occur as a consequence of minimizing the debuggee 
  3798. windows, or if the sizes of windows are zero. 
  3799.  
  3800.  
  3801. ΓòÉΓòÉΓòÉ <hidden> Desktop-Object Windows ΓòÉΓòÉΓòÉ
  3802.  
  3803. The desktop-object section is comprised of a primary page and a number of 
  3804. regular pages. The primary page of the desktop-object section contains the 
  3805. image of debuggee windows that are children of the Desktop-object window. The 
  3806. primary page has a major tab with the name "Desktop-object" at the bottom of 
  3807. the notebook. The major tab defines the beginning of the desktop-object 
  3808. section. ;p. The regular page of the desktop-object section contains the image 
  3809. of the child of the desktop-object as a parent and all its descendents. The 
  3810. regular page has a minor tab with a text on it. The minor tab is at the right 
  3811. of the notebook. The desktop-object part is optional. 
  3812.  
  3813. Note:  The sizes and distribution of windows may cause the image to be 
  3814. displayed as a small dot on the screen, or number of dots positioned according 
  3815. to  the z-order. This is a consequence of sizes of object windows often being 
  3816. zero. 
  3817.  
  3818.  
  3819. ΓòÉΓòÉΓòÉ 8.1. Details Menu ΓòÉΓòÉΓòÉ
  3820.  
  3821. Select choices from the Details menu to view the secondary windows of Window 
  3822. Analysis. 
  3823.  
  3824. Menu Summary 
  3825.  
  3826. Parent and Z-Order tree 
  3827.   Display the Parent and Z_Order Tree window to view the relationships between 
  3828.   the debuggee window and non-debuggee windows. 
  3829.  
  3830. Window characteristics 
  3831.   Display the Window Characteristics window to view characteristics of the 
  3832.   window such as class, handle, and so on. 
  3833.  
  3834. Close debug 
  3835.   Close the debugging session. 
  3836.  
  3837.  
  3838. ΓòÉΓòÉΓòÉ 8.1.1. Parent and Z-Order Tree Choice ΓòÉΓòÉΓòÉ
  3839.  
  3840. Select the Parent and z-order tree choice to show the relationships between the 
  3841. following windows: 
  3842.  
  3843. o debuggee 
  3844.  
  3845. o non-debuggee 
  3846.  
  3847. o debuggee and non-debuggee. 
  3848.  
  3849. Note:  Items selected in this window are reflected in the other two windows 
  3850. (Window Analysis and Window Characteristics). 
  3851.  
  3852. When you select Parent and z-order tree, the Parent and Z-Order Tree window is 
  3853. displayed. 
  3854.  
  3855.  
  3856. ΓòÉΓòÉΓòÉ 8.1.2. Window Characteristics Choice ΓòÉΓòÉΓòÉ
  3857.  
  3858. Select the Window characteristics choice to view the characteristics of the 
  3859. debuggee windows. 
  3860.  
  3861. Note:  Items selected in this window are reflected in the other two windows 
  3862. (Window Analysis and Parent and Z-Order Tree). 
  3863.  
  3864. When you select Window characteristics, the Window Characteristics window is 
  3865. displayed. 
  3866.  
  3867.  
  3868. ΓòÉΓòÉΓòÉ 8.2. Options Menu ΓòÉΓòÉΓòÉ
  3869.  
  3870. Select choices from the Options menu to control the display of bitmaps and 
  3871. desktop-object windows and to rotate the image to the center or to the default 
  3872. position. 
  3873.  
  3874. Menu Summary 
  3875.  
  3876. Bitmaps 
  3877.   Display the bitmaps on the notebook tabs. 
  3878.  
  3879. Desktop-object windows 
  3880.   Display the desktop-object windows in the Window Analysis and Parent and 
  3881.   Z-Order Tree windows. 
  3882.  
  3883. Rotate to center 
  3884.   Rotate the image on the window to the center position. 
  3885.  
  3886. Rotate to default 
  3887.   Rotate the image on the window to the default position. 
  3888.  
  3889. Debug session control 
  3890.   Display the Debug Session Control window. 
  3891.  
  3892.  
  3893. ΓòÉΓòÉΓòÉ 8.2.1. Bitmaps Choice ΓòÉΓòÉΓòÉ
  3894.  
  3895. Enable the Bitmaps choice to display bitmaps on the tabs of the notebook in the 
  3896. Window Analysis window. When bitmaps are enabled, a bitmap is displayed on the 
  3897. tab if the window is shown on the screen.  If the window is hidden, text is 
  3898. displayed on the tab.  (For desktop-object section, this is always the case). 
  3899. The text is displayed on the tabs when bitmaps are disabled.  The text is the 
  3900. letter "D" (Desktop) or letter "O" (Desktop-object) concatenated with the 
  3901. number of a regular page in the section. 
  3902.  
  3903.  
  3904. ΓòÉΓòÉΓòÉ 8.2.2. Desktop-Object Windows Choice ΓòÉΓòÉΓòÉ
  3905.  
  3906. You can enable or disable the the Desktop-object windows choice to include the 
  3907. desktop-object windows in the Window Analysis window. 
  3908.  
  3909.  
  3910. ΓòÉΓòÉΓòÉ 8.2.3. Rotate to Center Choice ΓòÉΓòÉΓòÉ
  3911.  
  3912. Select the Rotate to center choice to center the image on the Window Analysis 
  3913. window. 
  3914.  
  3915.  
  3916. ΓòÉΓòÉΓòÉ 8.2.4. Rotate to Default Choice ΓòÉΓòÉΓòÉ
  3917.  
  3918. Select the Rotate to default choice to rotate the image to the default position 
  3919. in the Window Analysis window 
  3920.  
  3921.  
  3922. ΓòÉΓòÉΓòÉ 8.3. Window Characteristics Window ΓòÉΓòÉΓòÉ
  3923.  
  3924. The Window Characteristics window displays the characteristics of the debuggee 
  3925. windows. The Window Characteristics window is displayed in a table format with 
  3926. each row representing a different debuggee window and each column representing 
  3927. a different characteristic. The rows listed in the Window Characteristics 
  3928. window reflect the debuggee windows on the current page of the Window Analysis 
  3929. window. 
  3930.  
  3931. Note:  Items selected in this window are reflected in the other two windows 
  3932. (Window Analysis and Parent and Z-Order Tree). 
  3933.  
  3934. Menu Summary 
  3935.  
  3936. Options 
  3937.   Control which characteristics are displayed. 
  3938.  
  3939. Help 
  3940.   Online help information that compliments the information you get when you 
  3941.   press F1 or select a Help push button. 
  3942.  
  3943.  
  3944. ΓòÉΓòÉΓòÉ 8.3.1. Options Menu ΓòÉΓòÉΓòÉ
  3945.  
  3946. Select choices from the Options menu to control the display of windows 
  3947. characteristics, titles in the window, and fonts for the window. 
  3948.  
  3949. Menu Summary 
  3950.  
  3951. Display style 
  3952.   Select which window characteristics are displayed. 
  3953.  
  3954. Window controls 
  3955.   Turn titles on or off in the Window Characteristics window. 
  3956.  
  3957. Fonts 
  3958.   Select the font you want to use for the text displayed in the active window. 
  3959.  
  3960.  
  3961. ΓòÉΓòÉΓòÉ 8.3.2. Display Style Choice ΓòÉΓòÉΓòÉ
  3962.  
  3963. Select the Display style choice to choose which window characteristics you want 
  3964. displayed in the Window Characteristics window. 
  3965.  
  3966. When you select Display style, the Display Styles action window is displayed. 
  3967.  
  3968.  
  3969. ΓòÉΓòÉΓòÉ 8.3.3. Window Controls Choice ΓòÉΓòÉΓòÉ
  3970.  
  3971. Select the window controls choice to choose whether titles are displayed in the 
  3972. Window Characteristics window. 
  3973.  
  3974. When you select Window controls, the Window Controls action window is 
  3975. displayed. 
  3976.  
  3977.  
  3978. ΓòÉΓòÉΓòÉ 8.3.4. Display Style Action Window ΓòÉΓòÉΓòÉ
  3979.  
  3980. Use the Display Style action window to select the characteristics you want 
  3981. displayed in the Window Characteristics window. 
  3982.  
  3983. Visible characteristics 
  3984.  
  3985. Select the characteristics you want displayed in the Window Characteristics 
  3986. window by clicking on the names of the titles.  The highlighted names will be 
  3987. displayed in the Window Characteristics window. 
  3988.  
  3989. Save window settings 
  3990.  
  3991. Select this check box to save your selections for the next debugging session. 
  3992.  
  3993. Select one of the push buttons to continue. 
  3994.  
  3995.  
  3996. ΓòÉΓòÉΓòÉ <hidden> Characteristics List ΓòÉΓòÉΓòÉ
  3997.  
  3998. Class 
  3999.           Window class of the window 
  4000.  
  4001. Hwnd 
  4002.           Window handle in 32-bit hex format 
  4003.  
  4004. Hwnd (16:16) 
  4005.           Window handle in 16:16-bit hex format 
  4006.  
  4007. Parent 
  4008.           Parent window handle of the window in 32-bit hex format 
  4009.  
  4010. Parent (16:16) 
  4011.           Parent window handle of the window in 16:16-bit hex format 
  4012.  
  4013. Owner 
  4014.           Owner window handle of the window in 32-bit hex format 
  4015.  
  4016. Owner (16:16) 
  4017.           Owner window handle of the window in 16:16-bit hex format 
  4018.  
  4019.           X-coordinate of the position of the window relative to the desktop 
  4020.  
  4021.           Y-coordinate of the position of the window relative to the desktop 
  4022.  
  4023. Width 
  4024.           Width of the window 
  4025.  
  4026. Height 
  4027.           Height of the window 
  4028.  
  4029. X' 
  4030.           X-coordinate of the position of the window relative to its parent 
  4031.           window 
  4032.  
  4033. Y' 
  4034.           Y-coordinate of the position of the window relative to its parent 
  4035.           window 
  4036.  
  4037. PID 
  4038.           Process identification of the window 
  4039.  
  4040. TID 
  4041.           Thread identification of the window 
  4042.  
  4043. Text 
  4044.           Window text (valid only for windows with the class of WC_BUTTON, 
  4045.           WC_STATIC and WC_TITLEBAR) 
  4046.  
  4047. Active 
  4048.           Whether the window is the active window 
  4049.  
  4050. Focus 
  4051.           Whether the window has the focus 
  4052.  
  4053. Enabled 
  4054.           Whether the window is enabled 
  4055.  
  4056. Checked 
  4057.           Whether the window is checked (only for windows with a class of 
  4058.           WC_BUTTON, WC_STATIC and WC_TITLEBAR) 
  4059.  
  4060. Visible 
  4061.           Whether the window has its visibility set on 
  4062.  
  4063. Showing 
  4064.           Whether the window is showing 
  4065.  
  4066. Proc 
  4067.           Address of the window procedure 
  4068.  
  4069. Proc name 
  4070.           Name of the window procedure 
  4071.  
  4072. Thunk proc 
  4073.           Address of the thunk procedure of the window 
  4074.  
  4075. Class proc 
  4076.           Address of the procedure for the class of the window 
  4077.  
  4078. Model 
  4079.           The memory model of the window 
  4080.  
  4081. Msgq 
  4082.           The handle of message queue of the window 
  4083.  
  4084. Style 
  4085.           The window style settings 
  4086.  
  4087. HHeap 
  4088.           The heap handle used by the child window of the window 
  4089.  
  4090. Hwnd focus 
  4091.           The window handle of the child window of the window that last had the 
  4092.           focus in 32-bit HEX format 
  4093.  
  4094. Hwnd focus (16:16) 
  4095.           The window handle of the child window of the window that last had the 
  4096.           focus in 16:16-bit hex format 
  4097.  
  4098. User 
  4099.           A ULONG value for applications to use at the offset QWL_USER in the 
  4100.           windows of some preregistered window classes 
  4101.  
  4102. Defbutton 
  4103.           The window handle of the default push button for a dialog in 32-bit 
  4104.           hex format 
  4105.  
  4106. Defbutton (16:16) 
  4107.           The window handle of the default push button for a dialog in 
  4108.           16:16-bit hex format 
  4109.  
  4110. ID 
  4111.           The window identity of the window.  The value of the id parameter of 
  4112.           the WinCreateWindow function. 
  4113.  
  4114. Flags 
  4115.           The frame window flags of the window 
  4116.  
  4117. Result 
  4118.           The dialog result parameter, as established by the WinDismissDlg 
  4119.           function 
  4120.  
  4121. X Restore 
  4122.           X coordinate of the position to which the window is restored 
  4123.  
  4124. Y Restore 
  4125.           Y coordinate of the position to which the window is restored 
  4126.  
  4127. CX Restore 
  4128.           Width to which the window is restored 
  4129.  
  4130. CY Restore 
  4131.           Height to which the window is restored 
  4132.  
  4133. X Minimize 
  4134.           X coordinate of the position to which the window is minimized If this 
  4135.           value is -1 the window has not been minimized 
  4136.  
  4137. Y Minimize 
  4138.           Y coordinate of the position to which the window is minimized If this 
  4139.           value is -1 the window has not been minimized 
  4140.  
  4141. Minimized 
  4142.           The window is minimized 
  4143.  
  4144. Maximized 
  4145.           The window is maximized. 
  4146.  
  4147.  
  4148. ΓòÉΓòÉΓòÉ 8.3.5. Window Controls Action Window ΓòÉΓòÉΓòÉ
  4149.  
  4150. Use the Window controls action window to turn the titles on or off in the 
  4151. Window Characteristics window. 
  4152.  
  4153. Display titles 
  4154.  
  4155. Select this box if you want titles to be displayed in the window. 
  4156.  
  4157. Save window settings 
  4158.  
  4159. Select this box if you want to save the selections you have made for the next 
  4160. debugging session. 
  4161.  
  4162. Select the appropriate  push button to continue. 
  4163.  
  4164.  
  4165. ΓòÉΓòÉΓòÉ 8.4. Parent and Z-Order Tree Window ΓòÉΓòÉΓòÉ
  4166.  
  4167. The Parent and Z-Order Tree window shows the relationship between the following 
  4168. windows: 
  4169.  
  4170. o debuggee 
  4171.  
  4172. o non-debuggee 
  4173.  
  4174. o debuggee and non-debuggee. 
  4175.  
  4176. Note:  Items selected in this window are reflected in the other two windows 
  4177. (Window Analysis and Window Characteristics). 
  4178.  
  4179. The non-debuggee windows shown in the Parent and Z-Order Tree window are the 
  4180. desktop and desktop-object windows and their children which are not debuggee 
  4181. windows. 
  4182.  
  4183. Menu Summary 
  4184.  
  4185. Options 
  4186.   Control how the items in the Parent and Z-Order Tree window are displayed. 
  4187.  
  4188. Help 
  4189.   Online help information that compliments the information you get when you 
  4190.   press F1 or select a Help push button. 
  4191.  
  4192.  
  4193. ΓòÉΓòÉΓòÉ 8.4.1. Options Menu ΓòÉΓòÉΓòÉ
  4194.  
  4195. Select choices from the Options menu to control the display of the window class 
  4196. and handle and select the fonts. 
  4197.  
  4198. Menu Summary 
  4199.  
  4200. Display style 
  4201.   Select to display the window class and window handle. 
  4202.  
  4203. Fonts 
  4204.   Select the font you want to use for the text displayed in the active window. 
  4205.  
  4206.  
  4207. ΓòÉΓòÉΓòÉ 8.4.2. Display Style Choice ΓòÉΓòÉΓòÉ
  4208.  
  4209. Select the Display style choice to display the window class and window handle 
  4210. in the Parent and Z-Order Tree window. 
  4211.  
  4212. When you select Display style, the Display Style action window is displayed. 
  4213.  
  4214.  
  4215. ΓòÉΓòÉΓòÉ 8.4.3. Display Style Action Window ΓòÉΓòÉΓòÉ
  4216.  
  4217. Use the Display Styles action window to select which items you want displayed 
  4218. in the Parent and Z-Order Tree window. 
  4219.  
  4220. Visible Characteristics 
  4221.  
  4222. Select one of these radio button to select the information you want displayed 
  4223. for each window: 
  4224.  
  4225. Window class The registered class of the window. 
  4226.  
  4227. Window handle The handle of the window. 
  4228.  
  4229. Both window handle and class The handle and class of the window will be 
  4230.           displayed. 
  4231.  
  4232. Include non-debuggee desktop children 
  4233.  
  4234. Select this box if you want to display all the non-debuggee desktop children. 
  4235.  
  4236. Include non-debuggee desktop-object children 
  4237.  
  4238. Select this check box to display all of the non-debuggee desktop-object 
  4239. children. 
  4240.  
  4241. Note:  This choice is only available if you selected Desktop-object windows 
  4242. from the Window Analysis window. 
  4243.  
  4244. Save window settings 
  4245.  
  4246. Select this check box to save your selections for the next debugging session. 
  4247.  
  4248.  
  4249. ΓòÉΓòÉΓòÉ 9. Message Queue Monitor Window ΓòÉΓòÉΓòÉ
  4250.  
  4251. The Message Queue Monitor window displays PM messages associated with a PM 
  4252. application.  It presents formatted messages in a list as they occur.  Using 
  4253. the message queue monitor, you can control: 
  4254.  
  4255. o How the information is displayed for each message. 
  4256. o How message parameters are formatted. 
  4257. o Which messages are monitored. 
  4258. o Which windows have their messages monitored. 
  4259. o Which message queues have their messages monitored. 
  4260. o How the user generated messages are displayed. 
  4261.  
  4262. Menu Bar Summary 
  4263.  
  4264. Monitor 
  4265.   Suspend messages, clear messages, resize the columns, and close the debugging 
  4266.   session. 
  4267.  
  4268. Options 
  4269.   Access various utility action windows where you can set message queue 
  4270.   options.  These options control how messages are monitored and displayed. 
  4271.  
  4272. Help 
  4273.   You have access to several kinds of help information that compliments the 
  4274.   online help information that you can get for the debugger. Press F1 or select 
  4275.   a Help push button. 
  4276.  
  4277.  
  4278. ΓòÉΓòÉΓòÉ 9.1. Monitor Menu ΓòÉΓòÉΓòÉ
  4279.  
  4280. Select choices from the Monitor menu to suspend messages, clear messages, 
  4281. resize the columns, and close the debugging session. 
  4282.  
  4283. Menu Summary 
  4284.  
  4285. Suspend 
  4286.   Suspends messages from being added to the Message Queue Monitor window. 
  4287.  
  4288. Clear 
  4289.   Delete all the messages that are displayed in the the Message Queue Monitor 
  4290.   window. 
  4291.  
  4292. Resize column width 
  4293.   Resize the columns in the Message Queue Monitor window. 
  4294.  
  4295. Close Debug 
  4296.   Close the debugging session. 
  4297.  
  4298.  
  4299. ΓòÉΓòÉΓòÉ 9.1.1. Suspend Choice ΓòÉΓòÉΓòÉ
  4300.  
  4301. Select the Suspend choice to stop any new messages from being added to the 
  4302. Message Queue Monitor window. 
  4303.  
  4304.  
  4305. ΓòÉΓòÉΓòÉ 9.1.2. Clear Choice ΓòÉΓòÉΓòÉ
  4306.  
  4307. Select the Clear choice to clear all the messages in the Message Queue Monitor 
  4308. window. 
  4309.  
  4310.  
  4311. ΓòÉΓòÉΓòÉ 9.1.3. Resize Column Width Choice ΓòÉΓòÉΓòÉ
  4312.  
  4313. Select the Resize column width choice to recalculate the widths of the columns 
  4314. in the Message Queue Monitor window. 
  4315.  
  4316. Note:  This option is available only when the automatic column resizing choice 
  4317. is not selected in the Display Style action window. 
  4318.  
  4319.  
  4320. ΓòÉΓòÉΓòÉ 9.2. Options Menu ΓòÉΓòÉΓòÉ
  4321.  
  4322. Select choices from the Options menu to control the monitor window. 
  4323.  
  4324. Menu Summary 
  4325.  
  4326. Monitor messages 
  4327.   Select which PM messages you want monitored and displayed. 
  4328.  
  4329. Monitor windows 
  4330.   Select which windows have their messages monitored. 
  4331.  
  4332. Monitor queues 
  4333.   Select which message queues have their messages monitored. 
  4334.  
  4335. Format parameters 
  4336.   Select how PM message parameters are displayed. 
  4337.  
  4338. Define messages 
  4339.   Select user-defined messages. 
  4340.  
  4341. Display styles 
  4342.   Select the information you want displayed in the Message Queue Monitor 
  4343.   window. 
  4344.  
  4345. Fonts 
  4346.   Select the font you want to use for the text displayed in the active window. 
  4347.  
  4348. Debug session control 
  4349.   Display the Debug Session Control window. 
  4350.  
  4351.  
  4352. ΓòÉΓòÉΓòÉ 9.2.1. Monitor Messages Choice ΓòÉΓòÉΓòÉ
  4353.  
  4354. The Monitor messages choice lets you select which PM messages you want 
  4355. monitored. 
  4356.  
  4357. When you select Monitor Messages, the Monitor Messages action window is 
  4358. displayed. 
  4359.  
  4360.  
  4361. ΓòÉΓòÉΓòÉ 9.2.2. Monitor Messages Action Window ΓòÉΓòÉΓòÉ
  4362.  
  4363. Use the Monitor Messages action window to specify the messages you want 
  4364. monitored. 
  4365.  
  4366. The Monitor Messages action window consists of the following: 
  4367.  
  4368. Defined Message IDs 
  4369.  
  4370. These are the pre-defined and user-defined messages. Each message is displayed 
  4371. as a name and hex number. You can select multiple messages for monitoring. 
  4372.  
  4373. Sort 
  4374.  
  4375. o Select the Name button to sort the messages alphabetically by name. 
  4376.  
  4377. o Select the ID button to sort the messages numerically by ID. 
  4378.  
  4379. Undefined Messages IDs 
  4380.  
  4381. o Select the Include WM_USER check box to include all undefined messages that 
  4382.   are in the range WM_USER and above. 
  4383.  
  4384. o Select the Include non WM_USER check box to include all undefined messages 
  4385.   that are in the range less than WM_USER. 
  4386.  
  4387. Include all message IDs 
  4388.  
  4389. Select the Include all message IDs check box to include all messages.  When 
  4390. this check box is enabled, the defined and undefined message selections are 
  4391. disabled. 
  4392.  
  4393. Define Messages IDs 
  4394.  
  4395. Select this button and the Define Messages action window is displayed. 
  4396.  
  4397. Monitor 
  4398.  
  4399. o Select the Messages to application check box to monitor messages that are 
  4400.   received by an application. 
  4401.  
  4402. o Select the Messages from application check box to monitor messages that are 
  4403.   dispatched by an application. 
  4404.  
  4405. o Select the Post messages check box to monitor post messages. 
  4406.  
  4407. o Select the Send messages check box to monitor send messages. 
  4408.  
  4409. Save window settings 
  4410.  
  4411. Select the Save window settings check box to save your selections in profile 
  4412. information. 
  4413.  
  4414. The messages you select to have monitored are saved in restart information. 
  4415.  
  4416. Click on the appropriate push button to continue. 
  4417.  
  4418.  
  4419. ΓòÉΓòÉΓòÉ 9.2.3. Monitor Windows Choice ΓòÉΓòÉΓòÉ
  4420.  
  4421. The monitor windows choice lets you select which windows have their messages 
  4422. monitored. 
  4423.  
  4424. When you select Monitor windows, the Monitor Windows action window is 
  4425. displayed. 
  4426.  
  4427.  
  4428. ΓòÉΓòÉΓòÉ 9.2.4. Monitor Windows Action Window ΓòÉΓòÉΓòÉ
  4429.  
  4430. Use the Monitor Windows action window to specify the windows you want 
  4431. monitored. 
  4432.  
  4433. You may identify specific windows you want to monitor by using the Window 
  4434. Analysis window. 
  4435.  
  4436. The Monitor Windows action window consists of the following: 
  4437.  
  4438. Windows 
  4439.  
  4440. Each window is displayed with the class and handle. You can select multiple 
  4441. windows for monitoring. 
  4442.  
  4443. Sort 
  4444.  
  4445. o Select the Class button to sort the window names alphabetically. 
  4446.  
  4447. o Select the Hwnd button to sort the window handles in numerical order. 
  4448.  
  4449. o Select the Parent and z-order button to sort the window handles to show the 
  4450.   parent and z-order relationship of application windows. 
  4451.  
  4452. Monitor all windows 
  4453.  
  4454. Select the Monitor all windows check box to monitor all the windows.  This will 
  4455. disable individual selection. 
  4456.  
  4457. Save window settings 
  4458.  
  4459. Select the Save window settings check box to your selections for the next 
  4460. session. 
  4461.  
  4462. Click on the appropriate push button to continue. 
  4463.  
  4464.  
  4465. ΓòÉΓòÉΓòÉ 9.2.5. Monitor Queues Choice ΓòÉΓòÉΓòÉ
  4466.  
  4467. The Monitor queues choice lets you select which message queues are being 
  4468. monitored. 
  4469.  
  4470. When you select Monitor windows, the Monitor Message Queue action window is 
  4471. displayed. 
  4472.  
  4473.  
  4474. ΓòÉΓòÉΓòÉ 9.2.6. Monitor Message Queue Action Window ΓòÉΓòÉΓòÉ
  4475.  
  4476. Use the Monitor Message Queue action window to specify the message queues you 
  4477. want monitored. 
  4478.  
  4479. The Monitor Message Queue action window consists of the following: 
  4480.  
  4481. Message Queue 
  4482.  
  4483. This section contains a list of the message queues. You can select multiple 
  4484. queues. 
  4485.  
  4486. Sort 
  4487.  
  4488. o Select the HMQ button to sort the message queues by message queue handles. 
  4489.  
  4490. o Select the TID button to sort the message queues by thread id. 
  4491.  
  4492. Monitor all message queues 
  4493.  
  4494. Select the Monitor all message queues check box to monitor all the message 
  4495. queues.  This will disable individual selections. 
  4496.  
  4497. Save window settings 
  4498.  
  4499. Select the Save window settings check box to your selections for the next 
  4500. session. 
  4501.  
  4502. Click on the appropriate push button to continue. 
  4503.  
  4504.  
  4505. ΓòÉΓòÉΓòÉ 9.2.7. Format Parameters Choice ΓòÉΓòÉΓòÉ
  4506.  
  4507. The Format parameters choice lets you choose how PM message parameters are 
  4508. displayed. 
  4509.  
  4510. When you select Format parameters, the Format Message Parameters action window 
  4511. is displayed. 
  4512.  
  4513.  
  4514. ΓòÉΓòÉΓòÉ 9.2.8. Format Message Parameters Action Window ΓòÉΓòÉΓòÉ
  4515.  
  4516. Use the Format Message Parameters action window to specify how message 
  4517. parameters are displayed. 
  4518.  
  4519. The Format Message Parameters action window consists of the following: 
  4520.  
  4521. Message 
  4522.  
  4523. This section contains a list of the all the defined messages. 
  4524.  
  4525. Sort 
  4526.  
  4527. o Select the Name button to sort the messages alphabetically by name. 
  4528.  
  4529. o Select the ID button to sort the messages numerically by ID. 
  4530.  
  4531. Parameter formatting 
  4532.  
  4533. o MP1 - Message parameter 1 
  4534.  
  4535.   Select the arrow to open the MP1 list. Select the type of formatting you want 
  4536.   from the parameter list. The formatting selections are saved in restart 
  4537.   information. 
  4538.  
  4539. o MP2 - Message parameter 2 
  4540.  
  4541.   Select the arrow to open the MP2 list. Select the type of formatting you want 
  4542.   from the parameter list. The formatting selections are saved in restart 
  4543.   information. 
  4544.  
  4545. Save window settings 
  4546.  
  4547. Select the Save window settings check box to your selections for the next 
  4548. session. 
  4549.  
  4550. Click on the appropriate push button to continue. 
  4551.  
  4552.  
  4553. ΓòÉΓòÉΓòÉ 9.2.9. Parameter List ΓòÉΓòÉΓòÉ
  4554.  
  4555. The following is a list of paramters that may not be self-explanatory: 
  4556.  
  4557. 32-bit fixed (int, frac) 
  4558.           A 32-bit fixed number formatted by separating the integer and 
  4559.           fractional parts. 
  4560.  
  4561. 32-bit fixed (decimal rounded) 
  4562.           A 32-bit fixed number formatted as a rounded decimal number. 
  4563.  
  4564. WM_CHAR mp1 
  4565.           Parameter formatted as the message parameter 1 for a WMCHAR message. 
  4566.  
  4567. WM_CHAR mp2 
  4568.           Parameter formatted as the message parameter 2 for a WMCHAR message. 
  4569.  
  4570.  
  4571. ΓòÉΓòÉΓòÉ 9.2.10. Define Messages Choice ΓòÉΓòÉΓòÉ
  4572.  
  4573. The Define message choice lets you define messages that you want to have 
  4574. displayed in the Message Queue Monitor window. 
  4575.  
  4576. When you select Define message, the Define Messages action window is displayed. 
  4577.  
  4578.  
  4579. ΓòÉΓòÉΓòÉ 9.2.11. Define Messages Action Window ΓòÉΓòÉΓòÉ
  4580.  
  4581. Use the Define Messages action window to define messages. 
  4582.  
  4583. Message 
  4584.  
  4585. In the Name entry field, type in the name of the message that you want to 
  4586. define. 
  4587.  
  4588. In the ID entry field, type in the hex number for the message or use the spin 
  4589. button to locate the number of the message. 
  4590.  
  4591. Default parameter formatting 
  4592.  
  4593. o MP1 - Message parameter 1 
  4594.  
  4595.   Select the arrow to open the MP1 list. Select the default type of formatting 
  4596.   you want from the parameter list. The formatting selections are saved in 
  4597.   restart information. 
  4598.  
  4599. o MP2 - Message parameter 2 
  4600.  
  4601.   Select the arrow to open the MP2 list. Select the default type of formatting 
  4602.   you want from the parameter list. The formatting selections are saved in 
  4603.   restart information. 
  4604.  
  4605. Message monitored by default 
  4606.  
  4607. Select the Message monitored by default check box if you want to monitor the 
  4608. messages by default. 
  4609.  
  4610. Save window settings 
  4611.  
  4612. Select the Save window settings check box to save the selections you have made 
  4613. for the next debugging session. 
  4614.  
  4615. Click on the appropriate  push button to continue. 
  4616.  
  4617.  
  4618. ΓòÉΓòÉΓòÉ 9.2.12. Push Buttons ΓòÉΓòÉΓòÉ
  4619.  
  4620. Add 
  4621.   Click on Add to add the new message you have defined. 
  4622.  
  4623. Update 
  4624.   Click on Update to update a message that previously existed. 
  4625.  
  4626. Delete 
  4627.   Click on Delete to delete a message that previously existed. 
  4628.  
  4629. Cancel 
  4630.   Click on Cancel to ignore any changes that were made and close this action 
  4631.   window. 
  4632.  
  4633. Help 
  4634.   Click on Help to display help information that tells you how to use this 
  4635.   action window. 
  4636.  
  4637.  
  4638. ΓòÉΓòÉΓòÉ 9.2.13. Display Style Choice ΓòÉΓòÉΓòÉ
  4639.  
  4640. Use the Display style choice to select which columns you want to display in the 
  4641. Message Queue Monitor window. 
  4642.  
  4643. When you select Display style, the Display Style action window is displayed. 
  4644.  
  4645.  
  4646. ΓòÉΓòÉΓòÉ 9.2.14. Display Style Action Window ΓòÉΓòÉΓòÉ
  4647.  
  4648. Use the Display Style action window to specify which columns you want displayed 
  4649. in the Message Queue Monitor window. 
  4650.  
  4651. The items in this window affect system performance.  You may want to experiment 
  4652. with different settings to see what works best for your system. 
  4653.  
  4654. Columns 
  4655.  
  4656. Select the columns you want displayed in the Message Queue Monitor window. 
  4657. These are described in the column list. 
  4658.  
  4659. Messages count 
  4660.  
  4661. The following choices affect system performance: 
  4662.  
  4663. Maximum displayed 
  4664.  
  4665. Select the number of messages you want displayed from the Maximum displayed 
  4666. entry field.  You can type in a number or use the spin button to select the 
  4667. number you want. A higher maximum may cause the system to respond faster. 
  4668. However, too high a maximum, may cause the system may respond slower. 
  4669.  
  4670. Note:  You may need to experiment with this setting to see what works best for 
  4671. your system. 
  4672.  
  4673. Deleted at one time 
  4674.  
  4675. Select the number of messages you want deleted at one time from the Deleted at 
  4676. one time entry field.  You can type in a number or use the spin button to enter 
  4677. the number you want. The more messages deleted at one time will cause the 
  4678. system to respond faster. 
  4679.  
  4680. Unlimited 
  4681.  
  4682. Select Unlimited to have no maximum on the number of messages to be displayed. 
  4683. When you select unlimited, the Maximum displayed and Deleted at one time entry 
  4684. fields are disabled. This choice sets no limit on messages to have displayed 
  4685. and the system may respond slower. 
  4686.  
  4687. Automatic scrolling 
  4688.  
  4689. Select Automatic scrolling if you want the window to automatically scroll 
  4690. forward when the screen is filled with messages. Selecting this will decrease 
  4691. system performance. 
  4692.  
  4693. Automatic column resizing 
  4694.  
  4695. Select Automatic column resizing if you want the columns to automatically 
  4696. resize. Selecting this will decrease system performance. 
  4697.  
  4698. Note:  When this check box is selected, the Resize Column Width choice is not 
  4699. available. 
  4700.  
  4701. Display titles 
  4702.  
  4703. Select Display titles if you want titles to be displayed in the window. This 
  4704. does not affect system performance. 
  4705.  
  4706. Save window settings 
  4707.  
  4708. Select the Save window settings check box if you want to save the selections 
  4709. you have made for the next debugging session. 
  4710.  
  4711. Click on the appropriate push button to continue. 
  4712.  
  4713.  
  4714. ΓòÉΓòÉΓòÉ 9.2.15. Column List ΓòÉΓòÉΓòÉ
  4715.  
  4716. The following is a list of column titles that are available: 
  4717.  
  4718.  Class              Window class of the window handle the message is being 
  4719.                     directed to. 
  4720.  
  4721.                     Note:  Some messages do not have a window handle (for 
  4722.                     example, WinPostQueueMsg). 
  4723.  
  4724. Hwnd                Window handle the message is being directed to. 
  4725.  
  4726.                     Note:  Some messages do not have a window handle (for 
  4727.                     example, WinPostQueueMsg). 
  4728.  
  4729. Queue               Message queue the message is being directed to. 
  4730.  
  4731. Message             Message name. 
  4732.  
  4733. Msg ID              Message formatted as 32-bit signed integer. 
  4734.  
  4735. Msg-hex             Message formatted as 32-bit hex number. 
  4736.  
  4737. MP1                 Message parameter 1. 
  4738.  
  4739. MP2                 Message parameter 2. 
  4740.  
  4741. Type                Indicates whether the message is a post message or a send 
  4742.                     message. 
  4743.  
  4744. Time                Indicates the time stamp of the message was generated.  The 
  4745.                     time stamp is an offset from a starting time.  Time style 
  4746.                     is only for Post messages. 
  4747.  
  4748. Mouse               The mouse position when the message was generated.  Mouse 
  4749.                     style is only for Post messages. 
  4750.  
  4751. Options             Message removal options.  Options style is only for Post 
  4752.                     messages. 
  4753.  
  4754. Model               Message identity.  Model style is only for Send messages. 
  4755.  
  4756. Task                Whether the message was dispatched between tasks or not. 
  4757.                     Task style is only for Send messages. 
  4758.  
  4759. From PID            Process identity of the process that dispatched the 
  4760.                     message. From PID style is only for Send messages. 
  4761.  
  4762. From TID            Thread identity of the thread that dispatched the message. 
  4763.                     From TID style is only for Send messages. 
  4764.  
  4765. To PID              Process identity of the process that received the message. 
  4766.  
  4767. To TID              Thread identity of the thread that received the message. 
  4768.  
  4769. Direction           Direction the message relative to the debuggee process. 
  4770.  
  4771.                     Dispatched - Debuggee process dispatched a message to 
  4772.                     another process . 
  4773.  
  4774.                     Received  - Debuggee process received a message from 
  4775.                     another process . 
  4776.  
  4777.                     Internal  - Debuggee process dispatched a message to 
  4778.                     itself. 
  4779.  
  4780. Processed           Whether the debugger processed message on behalf the 
  4781.                     debuggee. This occurs when the debuggee is stopped. 
  4782.  
  4783.  
  4784. ΓòÉΓòÉΓòÉ 10. Storage Window ΓòÉΓòÉΓòÉ
  4785.  
  4786. Use the Storage window to view and update the contents of the storage used by 
  4787. your program. The following storage data is displayed in the Storage window: 
  4788.  
  4789. o Fields for the displayed addresses.  You can select one of the following 
  4790.   storage models for the addresses that are displayed: 
  4791.  
  4792.    - 16:16 (segmented) storage addresses 
  4793.    - Flat storage model addresses 
  4794.    - Both 16:16 and flat storage model addresses. 
  4795.  
  4796. o Fields for the data storage contents.  The number of fields displayed and 
  4797.   their display characteristics depend on the storage style you select. 
  4798.  
  4799.   Storage can be displayed in various styles. You can display only one storage 
  4800.   style at a time. 
  4801.  
  4802. o Titles for the displayed addresses and storage content fields. 
  4803.  
  4804. You can open multiple storage windows to view different storage locations at 
  4805. the same time. When the state of your program changes, the contents of the 
  4806. Storage window is updated to reflect the change. 
  4807.  
  4808. To scroll through memory, use one of the following methods: 
  4809.  
  4810. o Scroll bars 
  4811. o Up and Down cursor keys 
  4812. o PageUp and PageDown keys. 
  4813.  
  4814. The address of the cursor is displayed in the title bar of the Storage window. 
  4815.  
  4816. You can update the contents of storage, or you can view the contents of storage 
  4817. at a new address location. Double-click on one of the following topics to find 
  4818. out how to update the contents of storage or specify a new address location: 
  4819.  
  4820. o Updating storage 
  4821. o Specifying address location. 
  4822.  
  4823. To view a variable in storage: 
  4824.  
  4825.  1. Determine the storage address of a variable by monitoring its address.  For 
  4826.     example, to find out the address of a variable VAR, select Monitor 
  4827.     expression from the Variable menu and type "&VAR" into the Expression entry 
  4828.     field. 
  4829.  
  4830.  2. The monitor window that displays this expression will show a pointer with 
  4831.     an address. 
  4832.  
  4833.  3. Open a storage window by selecting Storage from the Window menu or 
  4834.     selecting the Storage button in the title bar.  Type over the address field 
  4835.     and enter the address of the variable shown by the pointer in the monitor 
  4836.     window. The Storage window will scroll to that address, and the contents of 
  4837.     storage at that address will be the value of the variable VAR. 
  4838.  
  4839.  4. If you also put the variable VAR in the monitor window, you can update the 
  4840.     variable and watch the storage location change, or update the storage 
  4841.     location and watch the variable's value change. 
  4842.  
  4843. Menu Bar Summary 
  4844.  
  4845. Options 
  4846.   Set options that control how the storage content and addresses are displayed 
  4847.   and display additional storage window control attributes. 
  4848.  
  4849. Help 
  4850.   You have access to several kinds of help information that compliment the 
  4851.   online help information that you can get for the debugger.  Press F1 or 
  4852.   select the Help push button. 
  4853.  
  4854.  
  4855. ΓòÉΓòÉΓòÉ 10.1. Storage Display Styles ΓòÉΓòÉΓòÉ
  4856.  
  4857. Storage can be displayed in the following address styles: 
  4858.  
  4859. o Flat and 16:16 
  4860. o Flat only 
  4861. o 16:16 only. 
  4862.  
  4863. Storage can be displayed in the following value styles: 
  4864.  
  4865. o Hexadecimal and character text 
  4866. o Character text 
  4867. o 16-bit integer 
  4868. o 16-bit unsigned integer 
  4869. o 16-bit integer in hexadecimal (byte reversed) 
  4870. o 32-bit integer 
  4871. o 32-bit unsigned integer 
  4872. o 32-bit integer in hexadecimal (byte reversed) 
  4873. o 32-bit floating point 
  4874. o 64-bit floating point 
  4875. o 80-bit floating point 
  4876. o 16-bit near pointers 
  4877. o 16:16-bit far pointers 
  4878. o 32-bit flat pointers. 
  4879.  
  4880. You can also change the number of bytes per line that are displayed. This 
  4881. number varies depending on the content style you have selected. 
  4882.  
  4883.  
  4884. ΓòÉΓòÉΓòÉ 10.2. Updating Storage ΓòÉΓòÉΓòÉ
  4885.  
  4886. To update the contents of storage, type over the current contents in the 
  4887. storage field. 
  4888.  
  4889. The contents of storage are updated when an elapsed time of one second occurs 
  4890. after the last keystroke has been entered. 
  4891.  
  4892.  
  4893. ΓòÉΓòÉΓòÉ 10.3. Specifying Address Location ΓòÉΓòÉΓòÉ
  4894.  
  4895. To view the storage at a different address, type over the contents of the 
  4896. address field with the new address. You can choose to update either the Flat 
  4897. address field or the 16:16 (segmented) address field. 
  4898.  
  4899. The contents of the address are updated when an elapsed time of one second 
  4900. occurs after the last keystroke has been entered. The Storage window is 
  4901. scrolled to the appropriate address. 
  4902.  
  4903.  
  4904. ΓòÉΓòÉΓòÉ 10.4. Options Menu ΓòÉΓòÉΓòÉ
  4905.  
  4906. Select choices from the Options menu to control how the storage contents and 
  4907. addresses are displayed, control the display of the storage window control 
  4908. attributes, and end your debugging session. 
  4909.  
  4910. Menu Summary 
  4911.  
  4912. Window settings 
  4913.   Change the storage display format. 
  4914.  
  4915. Debug session control 
  4916.   Display the Debug Session Control window. 
  4917.  
  4918. Close debug 
  4919.   End your debugging session. 
  4920.  
  4921.  
  4922. ΓòÉΓòÉΓòÉ 10.4.1. Window Settings Choice ΓòÉΓòÉΓòÉ
  4923.  
  4924. Select the Window settings cascaded choice to change the context and address 
  4925. style of the Storage window. 
  4926.  
  4927. Menu Summary 
  4928.  
  4929. Content style 
  4930.   Select the display format for the storage contents. 
  4931.  
  4932. Address style 
  4933.   Select the display format for storage addresses. 
  4934.  
  4935. Window control 
  4936.   Control the display of the horizontal scroll bar and the headings in the 
  4937.   Storage window. 
  4938.  
  4939. Fonts 
  4940.   Change the font used to display text in the Storage window. 
  4941.  
  4942.  
  4943. ΓòÉΓòÉΓòÉ 10.4.2. Content Style Choice ΓòÉΓòÉΓòÉ
  4944.  
  4945. Select the Content choice to select the display format for the storage 
  4946. contents. You can select from several storage display styles. 
  4947.  
  4948. When you select the Content choice, the Storage Content Style action window is 
  4949. displayed. 
  4950.  
  4951.  
  4952. ΓòÉΓòÉΓòÉ 10.4.3. Address Style Choice ΓòÉΓòÉΓòÉ
  4953.  
  4954. Select the Address choice to display the format of the storage addresses. 
  4955.  
  4956. Storage can be displayed in the following address styles: 
  4957.  
  4958. o Flat and 16:16 
  4959. o Flat only 
  4960. o 16:16 only. 
  4961.  
  4962. When you select the Address choice, the Storage Address Style action window is 
  4963. displayed. 
  4964.  
  4965.  
  4966. ΓòÉΓòÉΓòÉ 10.4.4. Window Controls Choice ΓòÉΓòÉΓòÉ
  4967.  
  4968. Select the Display window controls choice to select the options that control 
  4969. the display of : 
  4970.  
  4971. o Titles in the Storage window 
  4972. o The horizontal scroll bar. 
  4973.  
  4974. When you select the Display window controls, the Storage Window Controls action 
  4975. window is displayed. 
  4976.  
  4977.  
  4978. ΓòÉΓòÉΓòÉ 10.4.5. Storage Window Controls Action Window ΓòÉΓòÉΓòÉ
  4979.  
  4980. Use the Storage Window Controls action window to control the display of the 
  4981. horizontal scroll bar and the titles in the Storage window. 
  4982.  
  4983. After you have finished selecting the options from the Storage Window Controls 
  4984. action window, select one of the push buttons. 
  4985.  
  4986. Display 
  4987.  
  4988. Select the following check boxes to control the display of the horizontal 
  4989. scroll bar and the titles in the Storage window: 
  4990.  
  4991. Horizontal scroll bars 
  4992.   Select this check box to display the horizontal scroll bar. 
  4993.  
  4994. Titles 
  4995.   Select this check box to display the column titles in the Storage window. 
  4996.  
  4997. Save settings 
  4998.  
  4999. Select the Save settings check box to save the selections you make in this 
  5000. action window for the next debugging session. 
  5001.  
  5002.  
  5003. ΓòÉΓòÉΓòÉ 10.4.6. Storage Content Style Action Window ΓòÉΓòÉΓòÉ
  5004.  
  5005. Use the Storage Content Style action window to select the parameters that 
  5006. control how the storage contents are displayed. 
  5007.  
  5008. When you are finished, select the appropriate push button. 
  5009.  
  5010. Style 
  5011.  
  5012. You can select from the following storage value styles: 
  5013.  
  5014. o HEX and character 
  5015. o Character 
  5016. o 16-bit integer 
  5017. o 16-bit unsigned integer 
  5018. o 16-bit integers in HEX 
  5019. o 32-bit integer 
  5020. o 32-bit unsigned integer 
  5021. o 32-bit integers in HEX 
  5022. o 32-bit float 
  5023. o 64-bit float 
  5024. o 80-bit float 
  5025. o 16-bit near pointers 
  5026. o 16:16-bit far pointers 
  5027. o 32-bit flat pointers. 
  5028.  
  5029. To select a value style: 
  5030.  
  5031.  1. Select the arrow to open the Style list. 
  5032.  
  5033.  2. Highlight the value style. 
  5034.  
  5035.     The value style you highlighted is placed in the Style entry field. 
  5036.  
  5037. Bytes per line 
  5038.  
  5039. You can set the number of bytes per line. The available choices for the number 
  5040. of bytes per line you can display vary with the storage content style you 
  5041. select. 
  5042.  
  5043. To select the number of bytes per line: 
  5044.  
  5045.  1. Select the arrow to open the Bytes per line list. 
  5046.  
  5047.  2. Highlight the number of bytes per line you want to select. 
  5048.  
  5049.     The number of bytes per line you highlighted is placed in the Bytes per 
  5050.     line entry field. 
  5051.  
  5052. Save settings 
  5053.  
  5054. Select the Save settings check box to save the selections you make in this 
  5055. action window for the next debugging session. 
  5056.  
  5057.  
  5058. ΓòÉΓòÉΓòÉ 10.4.7. Storage Address Style Action Window ΓòÉΓòÉΓòÉ
  5059.  
  5060. Use the Storage Address Style action window to set the storage addresses are 
  5061. displayed. 
  5062.  
  5063. When you are finished, select the appropriate push button. 
  5064.  
  5065. Style 
  5066.  
  5067. You can select from the following address styles: 
  5068.  
  5069. o Flat and 16:16 (segmented) 
  5070. o Flat only 
  5071. o 16:16 only. 
  5072.  
  5073. To select an address style: 
  5074.  
  5075.  1. Select the arrow to open the Style list. 
  5076.  
  5077.  2. Highlight the address style. 
  5078.  
  5079.     The address style you highlighted is placed in the Style entry field. 
  5080.  
  5081. Save settings 
  5082.  
  5083. Select the Save settings check box to save the selections you make in this 
  5084. action window for the next debugging session. 
  5085.  
  5086.  
  5087. ΓòÉΓòÉΓòÉ 10.4.8. Push Buttons ΓòÉΓòÉΓòÉ
  5088.  
  5089. OK 
  5090.   Click on OK to accept the information you have entered and to close this 
  5091.   action window. 
  5092.  
  5093. Reset 
  5094.   Click on Reset to clear any changes you have made in this session. 
  5095.  
  5096. Default 
  5097.   Click on Default to replace the current default display style with the 
  5098.   debugger default display style. 
  5099.  
  5100. Cancel 
  5101.   Click on Cancel to close this action window. 
  5102.  
  5103. Help 
  5104.   Click on Help to display Help information that tells you how to use this 
  5105.   action window. 
  5106.  
  5107.  
  5108. ΓòÉΓòÉΓòÉ 11. Register Window ΓòÉΓòÉΓòÉ
  5109.  
  5110. Use the Register window to view or modify the contents of the registers 
  5111. monitored for your program.  One set of processor registers exists for each 
  5112. thread. 
  5113.  
  5114. In the Register window, floating point registers are displayed as floating 
  5115. point decimal numbers.  They can be updated with a floating point decimal 
  5116. number or with a hexadecimal string that represents a floating point number. 
  5117.  
  5118. Menu Bar Summary 
  5119.  
  5120. Options 
  5121.   Change the font used for the text displayed in the Register window, display 
  5122.   other debugger windows, and end your debugging session. 
  5123.  
  5124. Help 
  5125.   Provides you with online help information that compliments the online help 
  5126.   that you can when you press F1 or select a Help pushbutton. 
  5127.  
  5128.  
  5129. ΓòÉΓòÉΓòÉ 11.1. Options Menu ΓòÉΓòÉΓòÉ
  5130.  
  5131. Select the Options menu-bar choice to change the fonts used for the text 
  5132. displayed in the Register window, set debugger options, and end the debugging 
  5133. session. 
  5134.  
  5135. Menu Summary 
  5136.  
  5137. Fonts 
  5138.   Change the fonts for the text displayed in the Register window. 
  5139.  
  5140. Where 
  5141.   Open a program view containing the next line to be executed. 
  5142.  
  5143. Debug session control 
  5144.   Display the Debug Session Control window. 
  5145.  
  5146. Close debug 
  5147.   End your debugging session. 
  5148.  
  5149.  
  5150. ΓòÉΓòÉΓòÉ 12. Stack Window ΓòÉΓòÉΓòÉ
  5151.  
  5152. The Stack window lists all of the active functions for a particular thread, 
  5153. including PM calls. The functions are displayed in the order that they were 
  5154. called. Each Stack window displays call stack information for one thread only. 
  5155. When the state of the program changes (as you execute the program, or you 
  5156. update displayed data) the Stack window is updated to reflect the current 
  5157. state. You can double-click on any call stack entry to display the source for 
  5158. that entry. The line that calls the next stack entry is highlighted. 
  5159.  
  5160. Menu Bar Summary 
  5161.  
  5162. File 
  5163.   Open a program view of your program and end your debugging session. 
  5164.  
  5165. Options 
  5166.   Select the font you want to use for the text displayed in the Stack window, 
  5167.   select the parameters that control how the items on the stack are displayed. 
  5168.  
  5169. Help 
  5170.   Provides you with online help information that compliments the online help 
  5171.   you can get when you press F1 or select a Help push button. 
  5172.  
  5173.  
  5174. ΓòÉΓòÉΓòÉ 12.1. File Menu ΓòÉΓòÉΓòÉ
  5175.  
  5176. Select the File menu choice to open different views of your program and to end 
  5177. your debugging session. 
  5178.  
  5179. Menu Summary 
  5180.  
  5181. View 
  5182.   Open a program view of the highlighted call stack item. 
  5183.  
  5184. Where 
  5185.   Open a program view containing the next line to be executed. 
  5186.  
  5187. Close debug 
  5188.   End your debugging session. 
  5189.  
  5190.  
  5191. ΓòÉΓòÉΓòÉ 12.2. Options Menu ΓòÉΓòÉΓòÉ
  5192.  
  5193. Select the Options menu choice to control how the items on the stack are 
  5194. displayed, and to set various debugger options. 
  5195.  
  5196. Menu Summary 
  5197.  
  5198. Window settings 
  5199.   Control how the items on the call stack are displayed. 
  5200.  
  5201. Debug session control 
  5202.   Display the Debug Session Control window. 
  5203.  
  5204.  
  5205. ΓòÉΓòÉΓòÉ 12.2.1. Window Settings Choice ΓòÉΓòÉΓòÉ
  5206.  
  5207. Select choices from the Window settings cascaded menu to change the font for 
  5208. the Stack window and to select the information that is displayed for the items 
  5209. on the call stack. 
  5210.  
  5211. Menu Summary 
  5212.  
  5213. Display style 
  5214.   Control how the items on the stack are displayed. 
  5215.  
  5216. Fonts 
  5217.   Select the font you want to use for the text displayed in the Stack window. 
  5218.  
  5219.  
  5220. ΓòÉΓòÉΓòÉ 12.2.2. Display Style Choice ΓòÉΓòÉΓòÉ
  5221.  
  5222. Select the Display style cascaded choice to control how the items on the stack 
  5223. are displayed. You can select the type of information you want displayed for 
  5224. all of the stack items and you can choose to display new stack items on the top 
  5225. or the bottom of the stack. 
  5226.  
  5227. When you select the Display style choice, the Display Style action window 
  5228. appears. 
  5229.  
  5230.  
  5231. ΓòÉΓòÉΓòÉ 12.3. Display Style Action Window ΓòÉΓòÉΓòÉ
  5232.  
  5233. Use the Display Style action window to control how the items on the stack are 
  5234. displayed. You can select the type of descriptive information you want 
  5235. displayed for all of the call stack items.  You can also choose to display new 
  5236. call stack items on the top or the bottom of the stack. 
  5237.  
  5238. To change how stack items are displayed: 
  5239.  
  5240.  1. Select one or more of the check boxes under Items to select the information 
  5241.     you want displayed for each stack entry. 
  5242.  
  5243.  2. Select one Growth radio button to display new call stack items at the top 
  5244.     of the stack or at the bottom of the stack. 
  5245.  
  5246.  3. Select one of the push buttons to finish your dialog. 
  5247.  
  5248. Items 
  5249.  
  5250. Select one or more of these check boxes to select the information you want 
  5251. displayed for each stack entry: 
  5252.  
  5253. Entry number          The entry number represents the position of the call 
  5254.                       stack item in the list.  Entry level 1 is the first 
  5255.                       function invoked. 
  5256.  
  5257. Function              The name of the program or the address of the function 
  5258.                       call that created the new stack entry. 
  5259.  
  5260. Source                The name of the component that contains the function. The 
  5261.                       name displayed corresponds with a name listed in the 
  5262.                       Components list box in the Debug Session Control window. 
  5263.  
  5264. Recursion level       Recursion level 0 is the first invocation. 
  5265.  
  5266. Growth direction 
  5267.  
  5268. Select a radio button to display new stack items at the top or the bottom of 
  5269. the stack window: 
  5270.  
  5271. Up        Displays new stack items at the top of the stack window. 
  5272.  
  5273. Down      Displays new stack items at the bottom of the stack window. 
  5274.  
  5275. Save window settings 
  5276.  
  5277. Select the Save window settings check box to save the selections you made in 
  5278. this action window for this debugging sessions. 
  5279.  
  5280.  
  5281. ΓòÉΓòÉΓòÉ 13. Local Variables Window ΓòÉΓòÉΓòÉ
  5282.  
  5283. The Local Variables window displays the local variables for the current 
  5284. execution point in a given thread.  As execution moves from function to 
  5285. function, the window is updated with the new local variables. 
  5286.  
  5287. For more information about manipulating the variable monitors, double-click on 
  5288. Using the data popup and monitor windows . 
  5289.  
  5290. You can select the variables or expressions you want to display from a window: 
  5291.  
  5292. o Using the mouse 
  5293.  
  5294. o Using the mouse and the Monitor action window 
  5295.  
  5296. o Using the keyboard. 
  5297.  
  5298. You must select an expression with: 
  5299.  
  5300. o A valid operand type 
  5301. o A valid operator 
  5302. o A valid typecasting operation 
  5303.  
  5304. Note:  When your program returns from a called function, the data display 
  5305. options you previously selected (for example, representation) are lost. If you 
  5306. want to save these display options, monitor the variable or expression in a 
  5307. Private Monitor window, the Program Monitor window, or a data pop-up window. 
  5308.  
  5309. Menu Bar Summary 
  5310.  
  5311. Edit 
  5312.   Edit text and search for strings in the text. 
  5313.  
  5314. Options 
  5315.   Control how the contents of variables are displayed, to set the debugger 
  5316.   options, and end your debugging session. 
  5317.  
  5318. Help 
  5319.   Provides you with online help information that compliments the online help 
  5320.   you can get when you press F1 or click on a Help push button. 
  5321.  
  5322.  
  5323. ΓòÉΓòÉΓòÉ 13.1. Edit Menu ΓòÉΓòÉΓòÉ
  5324.  
  5325. Select choices from the Edit menu to copy and place items into the clipboard, 
  5326. locate the next line to be executed and close the debugger. 
  5327.  
  5328. Menu Summary 
  5329.  
  5330. Copy 
  5331.   Copy text into the clipboard. 
  5332.  
  5333. Paste 
  5334.   Places the contents of the clipboard at the current cursor position. 
  5335.  
  5336. Where 
  5337.   Open a program view containing the next line to be executed. 
  5338.  
  5339. Close debug 
  5340.   Close the debugging session. 
  5341.  
  5342.  
  5343. ΓòÉΓòÉΓòÉ 13.1.1. Copy Choice ΓòÉΓòÉΓòÉ
  5344.  
  5345. Select the Copy choice to copy text and place it into the clipboard. To copy 
  5346. the text: 
  5347.  
  5348. o Highlight the text you want to copy and select the Copy choice or press 
  5349.   Ctrl+Ins 
  5350.  
  5351.  
  5352. ΓòÉΓòÉΓòÉ 13.1.2. Paste ΓòÉΓòÉΓòÉ
  5353.  
  5354. Select the Paste choice to copy from the clipboard into a new location. To 
  5355. paste the text: 
  5356.  
  5357. o Select the location where you want the text to appear and select the Paste 
  5358.   choice or press Shift+Ins. 
  5359.  
  5360.  
  5361. ΓòÉΓòÉΓòÉ 13.2. Options Menu ΓòÉΓòÉΓòÉ
  5362.  
  5363. Select choices from the Options menu to control how the contents of variables 
  5364. are displayed and to set the debugger options. 
  5365.  
  5366. Menu Summary 
  5367.  
  5368. Fonts 
  5369.   Select the font you want to use for the text displayed in the Local Variables 
  5370.   Monitor window. 
  5371.  
  5372. Representation 
  5373.   Display the contents of a monitored variable in a different format. 
  5374.  
  5375. Select all 
  5376.   Select all expressions. 
  5377.  
  5378. Deselect all 
  5379.   Deselect all expressions. 
  5380.  
  5381. Delete 
  5382.   Delete all the selected expressions. 
  5383.  
  5384. Show context 
  5385.   Display the contextual information for all selected expressions. 
  5386.  
  5387. Hide context 
  5388.   Prevent the display of contextual information for all selected expressions. 
  5389.  
  5390. Debug session control 
  5391.   Displays the Debug Session Control window. 
  5392.  
  5393.  
  5394. ΓòÉΓòÉΓòÉ 13.2.1. Representation Cascading Choice ΓòÉΓòÉΓòÉ
  5395.  
  5396. Select the Representation cascading choice to display the contents of the 
  5397. variable in a new representation.  The types of representation that are 
  5398. displayed on the menu depend on the data type of the variable you are 
  5399. monitoring. 
  5400.  
  5401. The following are possible representations: 
  5402.  
  5403. Hexadecimal 
  5404.   Displays the contents of the monitored variable in hexadecimal notation. 
  5405.  
  5406. Decimal 
  5407.   Displays the contents of the monitored variable in decimal notation. 
  5408.  
  5409. String 
  5410.   Displays the contents of the monitored variable as a character string. 
  5411.  
  5412. Hexadecimal pointer 
  5413.   Displays the contents of the monitored variable as a hexadecimal pointer. 
  5414.  
  5415. Decimal pointer 
  5416.   Displays the contents of the monitored variable as a decimal pointer. 
  5417.  
  5418. Array 
  5419.   Displays the contents of the monitored variable as an array. 
  5420.  
  5421. Floating point 
  5422.   Displays the contents of the monitored variable in floating point notation. 
  5423.  
  5424. Character 
  5425.   Displays the contents of the monitored variable in character form. 
  5426.  
  5427. Note:  Floating point registers or variables are displayed as either a floating 
  5428. point decimal number or a hexadecimal string.  However, they cannot be updated 
  5429. with a hexadecimal string that represents a floating point number.  If you need 
  5430. to update a floating point variable with a hexadecimal representation of a 
  5431. floating point number, you must step through the Disassembly view to see when 
  5432. the variable is loaded into a register and change the value in the Register 
  5433. window at that time. 
  5434.  
  5435.  
  5436. ΓòÉΓòÉΓòÉ 13.2.2. Representations ΓòÉΓòÉΓòÉ
  5437.  
  5438. Select the Hexadecimal choice to display the contents of a variable that is 
  5439. being monitored in hexadecimal notation. 
  5440.  
  5441. Select the Decimal choice to display the contents of a variable that is being 
  5442. monitored in decimal notation. 
  5443.  
  5444. Select the String choice to display the contents of a monitored variable as a 
  5445. character string. 
  5446.  
  5447. Select the Hexadecimal pointer choice to display the contents of a monitored 
  5448. variable as a hexadecimal pointer. 
  5449.  
  5450. Select the Decimal pointer choice to display the contents of a monitored 
  5451. variable as a decimal pointer. 
  5452.  
  5453. Select the Array choice to display the contents of a monitored variable as an 
  5454. array. 
  5455.  
  5456. Select the Floating point choice to display the contents of a monitored 
  5457. variable in floating point notation. 
  5458.  
  5459. Select the Character choice to display the contents of a monitored variable in 
  5460. the form of a character. 
  5461.  
  5462.  
  5463. ΓòÉΓòÉΓòÉ 13.2.3. Select All Choice ΓòÉΓòÉΓòÉ
  5464.  
  5465. Select the Select all choice to select all the expressions in the window. 
  5466.  
  5467.  
  5468. ΓòÉΓòÉΓòÉ 13.2.4. Deselect All Choice ΓòÉΓòÉΓòÉ
  5469.  
  5470. Select the Deselect all choice to cancel the selection of all the expressions 
  5471. in the window. 
  5472.  
  5473.  
  5474. ΓòÉΓòÉΓòÉ 14. Program Monitor Window ΓòÉΓòÉΓòÉ
  5475.  
  5476. Use the Program Monitor window to collect variables or expressions that want 
  5477. you monitor.  This window is not associated with any specific program view 
  5478. window and remains open at all times unless explicitly closed by the user. 
  5479.  
  5480. For more information about manipulating the variable monitors, double-click on 
  5481. Using the data popup and monitor windows 
  5482.  
  5483. You can select the variables or expressions you want to display: 
  5484.  
  5485. o Using the mouse 
  5486.  
  5487. o Using the mouse and the Monitor action window 
  5488.  
  5489. o Using the keyboard. 
  5490.  
  5491. You must select an expression with: 
  5492.  
  5493. o A valid operand type 
  5494. o A valid operator 
  5495. o A valid typecasting operation 
  5496.  
  5497. Menu Bar Summary 
  5498.  
  5499. Edit 
  5500.   Copy to the clipboard and paste to the clipboard. 
  5501.  
  5502. Options 
  5503.   Modify the style of monitoring and the presentation of variables and 
  5504.   expressions 
  5505.  
  5506. Help 
  5507.   Provides you with online help information that compliments the online help 
  5508.   you can get when you press F1 or select a Help pushbutton. 
  5509.  
  5510.  
  5511. ΓòÉΓòÉΓòÉ 14.1. Options Menu ΓòÉΓòÉΓòÉ
  5512.  
  5513. Select choices from the Options menu to change the representation of a variable 
  5514. or expression, delete a variable or expression from the Program Monitor window, 
  5515. control the updating of the displayed contents, display context, and change the 
  5516. font for the text displayed in this window. 
  5517.  
  5518. Menu Summary 
  5519.  
  5520. Fonts 
  5521.   Select the font you want to use for the text displayed in the Program Monitor 
  5522.   window. 
  5523.  
  5524. Representation 
  5525.   Display the contents of a monitored variable or expression in a different 
  5526.   representation. 
  5527.  
  5528. Select all 
  5529.   Select all expressions. 
  5530.  
  5531. Deselect all 
  5532.   Deselects all expressions. 
  5533.  
  5534. Delete all 
  5535.   Delete all the expressions. 
  5536.  
  5537. Delete 
  5538.   Delete all of the selected data items that are being monitored. 
  5539.  
  5540. Enable 
  5541.   Displays the contents of a variable or expression as it is updated. 
  5542.  
  5543. Disable 
  5544.   Prevent the displayed contents of a variable or expression from being 
  5545.   updated. 
  5546.  
  5547. Show context 
  5548.   Display the contextual information for a variable or expression being 
  5549.   monitored. 
  5550.  
  5551. Hide context 
  5552.   Prevent the contextual information for a monitored variable or expression 
  5553.   from being displayed. 
  5554.  
  5555. Debug session control 
  5556.   Display the Debug Session Control window. 
  5557.  
  5558. Close debug 
  5559.   Close the debugging session. 
  5560.  
  5561.  
  5562. ΓòÉΓòÉΓòÉ 14.1.1. Delete Choice ΓòÉΓòÉΓòÉ
  5563.  
  5564. Select the Delete choice to delete variables or expressions that are being 
  5565. monitored from a monitor window. 
  5566.  
  5567. To delete a variable or expression from a monitor window: 
  5568.  
  5569.  1. Select the variable or expression with your mouse. The monitor for the 
  5570.     variable or expression is highlighted. 
  5571.  
  5572.  2. Select the Delete choice from the Options menu. 
  5573.  
  5574.  
  5575. ΓòÉΓòÉΓòÉ 14.1.2. Delete All Choice ΓòÉΓòÉΓòÉ
  5576.  
  5577. Select the Delete all choice to delete all the variables or expressions that 
  5578. are being monitored from a monitor window. 
  5579.  
  5580. To delete the variables or expressions from a monitor window, select the Delete 
  5581. all choice from the Options menu. 
  5582.  
  5583.  
  5584. ΓòÉΓòÉΓòÉ 15. Private Monitor Window ΓòÉΓòÉΓòÉ
  5585.  
  5586. Use the Private Monitor window to collect variables or expressions that you 
  5587. want to monitor.  This window is associated with a specific program view window 
  5588. and closes when the associated program view window is closed. 
  5589.  
  5590. For more information about manipulating the variable monitors, double-click on 
  5591. Using the data popup and monitor windows 
  5592.  
  5593. You can select the variables or expressions you want to display from a window: 
  5594.  
  5595. o Using the mouse 
  5596.  
  5597. o Using the mouse and the Monitor action window 
  5598.  
  5599. o Using the keyboard. 
  5600.  
  5601. You must select an expression with: 
  5602.  
  5603. o A valid operand type 
  5604. o A valid operator 
  5605. o A valid typecasting operation 
  5606.  
  5607. Menu Bar Summary 
  5608.  
  5609. Edit 
  5610.   Copy to the clipboard and paste to the clipboard. 
  5611.  
  5612. Options 
  5613.   Modify the style of monitoring and the presentation of variables and 
  5614.   expressions. 
  5615.  
  5616. Help 
  5617.   Provides you with online help information that compliments the online help 
  5618.   you can get when you press F1 or select a Help push button. 
  5619.  
  5620.  
  5621. ΓòÉΓòÉΓòÉ 15.1. Options Menu ΓòÉΓòÉΓòÉ
  5622.  
  5623. Select choices from the Options menu to change the representation of a variable 
  5624. or expression, delete a variable or expression from the Private Monitor window, 
  5625. control the updating of the displayed contents, display context, and change the 
  5626. font for the text displayed in this window. 
  5627.  
  5628. Menu Summary 
  5629.  
  5630. Fonts 
  5631.   Select the font you want to use for the text displayed in the Private Monitor 
  5632.   window. 
  5633.  
  5634. Representation 
  5635.   Display the contents of a monitored variable or expression in a different 
  5636.   representation. 
  5637.  
  5638. Select all 
  5639.   Select all expressions. 
  5640.  
  5641. Deselect all 
  5642.   Deselects all expressions. 
  5643.  
  5644. Delete all 
  5645.   Delete all the expressions. 
  5646.  
  5647. Delete 
  5648.   Delete a selected data item that is being monitored. 
  5649.  
  5650. Enable 
  5651.   Displays the contents of a variable or expression as it is updated. 
  5652.  
  5653. Disable 
  5654.   Prevent the displayed contents of a variable or expression from being 
  5655.   updated. 
  5656.  
  5657. Show context 
  5658.   Display the contextual information for a variable or expression being 
  5659.   monitored. 
  5660.  
  5661. Hide context 
  5662.   Prevent the contextual information for a monitored variable or expression 
  5663.   from being displayed. 
  5664.  
  5665.  
  5666. ΓòÉΓòÉΓòÉ 16. Data Popup Window ΓòÉΓòÉΓòÉ
  5667.  
  5668. The Data Popup window displays the variable or expression you select for 
  5669. monitoring. It is associated with a specific program view window and closes 
  5670. when the associated window is closed. 
  5671.  
  5672. For more information about manipulating the variable monitors, double-click on 
  5673. Using the data popup and monitor windows 
  5674.  
  5675. You can select the variables or expressions you want to display: 
  5676.  
  5677. o Using the mouse 
  5678.  
  5679. o Using the mouse and the Monitor action window 
  5680.  
  5681. o Using the keyboard. 
  5682.  
  5683. You must select an expression with: 
  5684.  
  5685. o A valid operand type 
  5686. o A valid operator 
  5687. o A valid typecasting operation 
  5688.  
  5689. Menu Bar Summary 
  5690.  
  5691. Edit 
  5692.   Copy to the clipboard and paste to the clipboard. 
  5693.  
  5694. Options 
  5695.   Transfer a variable to the Private Monitor or the Program Monitor window, 
  5696.   select the length of time a variable is monitored, and control how the 
  5697.   contents of the variable are displayed. 
  5698.  
  5699. Help 
  5700.   Provides you with online help information that compliments the online help 
  5701.   you can get when you press F1 or select a Help push button. 
  5702.  
  5703.  
  5704. ΓòÉΓòÉΓòÉ 16.1. Edit Menu ΓòÉΓòÉΓòÉ
  5705.  
  5706. Select choices from the Edit menu to copy and place selected items into the 
  5707. clipboard and locate the next line to be executed. 
  5708.  
  5709. Menu Bar Summary 
  5710.  
  5711. Copy 
  5712.   Copy text into the clipboard. 
  5713.  
  5714. Paste 
  5715.   Places the contents of the clipboard at the current cursor position. 
  5716.  
  5717. Where 
  5718.   Open a program view containing the next line to be executed. 
  5719.  
  5720.  
  5721. ΓòÉΓòÉΓòÉ 16.2. Options Menu ΓòÉΓòÉΓòÉ
  5722.  
  5723. Select choices from the Options menu to control how the contents of the 
  5724. monitored variable are displayed, the updating of the displayed contents, the 
  5725. length of time that the Data Popup window remains open, and the window to which 
  5726. you can transfer the variable. 
  5727.  
  5728. Menu Summary 
  5729.  
  5730. Fonts 
  5731.   Choose the font for the text displayed in the Data Popup window. 
  5732.  
  5733. Representation 
  5734.   Change the representation of the displayed contents. 
  5735.  
  5736. Enabled 
  5737.   Control the updating of the displayed contents. 
  5738.  
  5739. Show Context 
  5740.   Display the contextual information for a variable. 
  5741.  
  5742. Duration 
  5743.   Select when the Data Popup window is dismissed. 
  5744.  
  5745. Transfer to 
  5746.   Transfer the variable to the Program Monitor window or the Private Monitor 
  5747.   window. 
  5748.  
  5749.  
  5750. ΓòÉΓòÉΓòÉ 16.2.1. Enabled Choice ΓòÉΓòÉΓòÉ
  5751.  
  5752. Select the Enabled choice to update the displayed value of the variables or 
  5753. expressions you are monitoring as the state of the program changes. The Enabled 
  5754. choice is selected when ΓêÜ is displayed. To disable the variable, select the 
  5755. Enabled menu choice again, to remove ΓêÜ. 
  5756.  
  5757.  
  5758. ΓòÉΓòÉΓòÉ 16.2.2. Enable Choice ΓòÉΓòÉΓòÉ
  5759.  
  5760. Select the Enable choice to have the displayed contents of a variable or 
  5761. expression updated as the state of the program changes. 
  5762.  
  5763.  
  5764. ΓòÉΓòÉΓòÉ 16.2.3. Disable Choice ΓòÉΓòÉΓòÉ
  5765.  
  5766. Select the Disable choice to prevent the displayed contents of a variable or 
  5767. expression from being updated as the state of the program changes. 
  5768.  
  5769.  
  5770. ΓòÉΓòÉΓòÉ 16.2.4. Duration Choice ΓòÉΓòÉΓòÉ
  5771.  
  5772. Select the Duration choice to set the conditions under which the Data Popup 
  5773. window is dismissed. 
  5774.  
  5775. Menu Summary 
  5776.  
  5777. Step/run 
  5778.   The monitor window closes when the next step command or Run is executed. 
  5779.  
  5780. New source 
  5781.   The monitor window closes when a new object file is entered. 
  5782.  
  5783. Permanent 
  5784.   The monitor window stays open for the remainder of the debugging session. 
  5785.  
  5786.  
  5787. ΓòÉΓòÉΓòÉ 16.2.5. Step/Run Choice ΓòÉΓòÉΓòÉ
  5788.  
  5789. Select the Step/run choice to close the Data Popup window the next time a step 
  5790. command or Run is executed. 
  5791.  
  5792.  
  5793. ΓòÉΓòÉΓòÉ 16.2.6. New Source Choice ΓòÉΓòÉΓòÉ
  5794.  
  5795. Select the New source choice to close the Data Popup window when the current 
  5796. line moves to a different part of the program. 
  5797.  
  5798.  
  5799. ΓòÉΓòÉΓòÉ 16.2.7. Permanent Choice ΓòÉΓòÉΓòÉ
  5800.  
  5801. Select the Permanent choice to cause the Data Popup window to remain open for 
  5802. the remainder of the debugging session. 
  5803.  
  5804.  
  5805. ΓòÉΓòÉΓòÉ 16.2.8. Transfer to Choice ΓòÉΓòÉΓòÉ
  5806.  
  5807. Select the Transfer choice to move the variable or expression you are 
  5808. monitoring to the Private Monitor or Program Monitor window. Any variable or 
  5809. expression can be transferred to either the Private Monitor window or to the 
  5810. Program Monitor window. It does not matter whether the variable or expression 
  5811. is used throughout the program. The Private Monitor window, however, is a 
  5812. secondary window to the program view window for which it was opened.  It closes 
  5813. when its associated program view window closes. You should, therefore, monitor 
  5814. local variables in the Private Monitor window, and monitor global variables in 
  5815. the Program Monitor window. 
  5816.  
  5817. Menu Summary 
  5818.  
  5819. Private monitor 
  5820.   Move the variable or expression you are monitoring to the Private Monitor 
  5821.   window. 
  5822.  
  5823. Program monitor 
  5824.   Move the variable or expression you are monitoring to the Program Monitor 
  5825.   window. 
  5826.  
  5827.  
  5828. ΓòÉΓòÉΓòÉ 16.2.9. Private Monitor Choice ΓòÉΓòÉΓòÉ
  5829.  
  5830. Select the Private monitor choice to move the variable or expression you are 
  5831. monitoring to the Private Monitor window. 
  5832.  
  5833.  
  5834. ΓòÉΓòÉΓòÉ 16.2.10. Program Monitor Choice ΓòÉΓòÉΓòÉ
  5835.  
  5836. Select the Program monitor choice to move the variable or expression you are 
  5837. monitoring to the Program Monitor window. 
  5838.  
  5839.  
  5840. ΓòÉΓòÉΓòÉ 16.2.11. Data Manipulation Icons ΓòÉΓòÉΓòÉ
  5841.  
  5842. You can select any of the following icons from any monitor window (Program, 
  5843. Private, Data Popup, or Local Variables) to manipulate the data parts of 
  5844. variables: 
  5845.  
  5846.      Expands the contracted parts of an array. 
  5847.      Expands the contracted parts of a structure. 
  5848.      Expands the contracted parts of a class. 
  5849.      Contracts the parts of an array, structure or class that has been 
  5850.      expanded. 
  5851.      Displays the object referenced by a pointer in a new monitor. 
  5852.  
  5853. The four windows to monitor variables and expressions are: 
  5854.  
  5855. o Program Monitor 
  5856. o Private Monitor 
  5857. o Data Popup 
  5858. o Local Variables Monitor 
  5859.  
  5860.  
  5861. ΓòÉΓòÉΓòÉ 16.2.12. Show Context Choice ΓòÉΓòÉΓòÉ
  5862.  
  5863. Select the Show context choice to display contextual information for the 
  5864. variables you are monitoring. The following information is displayed: 
  5865.  
  5866. o Source 
  5867. o File 
  5868. o Line 
  5869. o Thread. 
  5870.  
  5871. The Show context choice is selected when ΓêÜ is displayed. To hide the contextual 
  5872. information, select the Show context choice again to remove ΓêÜ. 
  5873.  
  5874.  
  5875. ΓòÉΓòÉΓòÉ 16.2.13. Show Context Choice ΓòÉΓòÉΓòÉ
  5876.  
  5877. Select the Show context choice to display the contextual information for the 
  5878. variable you are monitoring. The following information is displayed: 
  5879.  
  5880. o Source 
  5881. o File 
  5882. o Line 
  5883. o Thread. 
  5884.  
  5885.  
  5886. ΓòÉΓòÉΓòÉ 16.2.14. Hide Context Choice ΓòÉΓòÉΓòÉ
  5887.  
  5888. Select the Hide context choice to hide the contextual information for the 
  5889. variable you are monitoring. 
  5890.  
  5891.  
  5892. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  5893.  
  5894. Trademark of IBM 
  5895.  
  5896.  
  5897. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  5898.  
  5899. There are two wait states in the debugger. 
  5900.  
  5901. When the debugger is busy doing something, it displays a clock icon.  This icon 
  5902. will disappear when the wait is over (for example, loading a program into the 
  5903. debugger). 
  5904.  
  5905. When your program is running, the debugger displays a clock icon with a 
  5906. rectangle behind it. This may mean that your program is waiting for input. If 
  5907. so, select your application window (if necessary) and provide it with the input 
  5908. it needs.