home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s165 / 1.ddi / HELPME!.DOC < prev    next >
Encoding:
Text File  |  1990-10-29  |  9.9 KB  |  200 lines

  1. /***********************************************************************/
  2.               TURBO PROFILER 1.0 COMMON QUESTIONS AND ANSWERS
  3.               -----------------------------------------------
  4.  
  5.   Below is a list of most commonly asked questions about Turbo Profiler.
  6.   Following this list is an explanation of some of the new mouse features
  7.   in Turbo Profiler 1.0.
  8.  
  9.   1. How does TPROF handle screen output for graphics- and text-based
  10.      programs?
  11.  
  12.      Turbo Profiler has a number of strategies that it can use to
  13.      control how and when the screen gets refreshed. If you are
  14.      debugging a program that uses a graphics display mode or if
  15.      you want to use Borland pop-up utilities such as SideKick
  16.      and SideKick Plus while inside Turbo Profiler, you should
  17.      review the following tips.
  18.  
  19.      The default screen-updating mode is "Flip"; this means that
  20.      Turbo Profiler uses an alternate video display page on
  21.      adapters that support multiple display pages. This results
  22.      in fast screen-swapping between Turbo Profiler and your
  23.      program, but it also can interfere with the operation of
  24.      pop-up utilities and graphics programs.
  25.  
  26.      Pop-up utilities may not appear on the screen, even though
  27.      they are active and processing your keystrokes. You must
  28.      select "Swap" mode for display-updating in order for pop-ups
  29.      to work properly. Use Turbo Profiler's -ds command-line
  30.      option to do this, or use the TFINST utility to permanently
  31.      set this mode. "Swap" mode makes screen updating slower, but
  32.      it makes sure that Turbo Profiler's screen does not
  33.      interfere with either your program's or any other program's
  34.      display.
  35.  
  36.      You may also need to use "Swap" when you use the DOS Shell
  37.      command or run an editor from within TPROF. Most programs
  38.      expect to run on video page 0, and do not check to see what
  39.      the current video page is. TPROF's DOS Shell and any editors
  40.      that TPROF runs in "Flip" mode do not run from video page 0,
  41.      and the programs may appear to hang, even though you will be
  42.      able to type in keystrokes normally. If this happens, use
  43.      the -ds command-line option when you run TPROF or reinstall TPROF
  44.      to use "Swap" instead of "Flip."
  45.  
  46.      If you are debugging a graphics mode application, you must
  47.      specify the -ds command-line option ("Swap" contents) and
  48.      you may want to use Turbo Profiler's -vg command-line
  49.      option (Graphics Save). This causes additional memory to be
  50.      set aside for saving the entire graphics image your
  51.      program produces. If you don't use this option, a "red
  52.      cloud" may appear on your program's screen. These options
  53.      can also be set permanently by using the TFINST program.
  54.      The Graphics Save option takes an additional 8K of memory
  55.      and slows screen-swapping.
  56.  
  57.      If you are running a graphics program that changes the EGA
  58.      palette, make sure you use the -vp command line option to
  59.      save the palette.
  60.  
  61.   2. Can Turbo Profiler execute other programs while you are
  62.      still using the profiler?
  63.  
  64.      The DOS Shell and Edit commands in the Module and File
  65.      windows can swap the program you are debugging to disk in
  66.      order to make room to run DOS or your editor. The default
  67.      amount of memory to swap is 128K. You can use TFINST to set a
  68.      different amount if that's not enough memory to run your
  69.      editor or other programs. Setting the swap size to 0K tells
  70.      Turbo Profiler to swap the entire user program to disk
  71.      before running the DOS command processor.
  72.  
  73.      Only your program gets swapped to disk; Turbo Profiler
  74.      remains in memory.
  75.  
  76.   3. How can I break out of a program even though interrupts are
  77.      disabled?
  78.  
  79.      If you have an 80386-chip-based computer and are using
  80.      TF386, option -B allows break even when interrupts are
  81.      disabled. For example, this option enables a break from
  82.  
  83.        CLI
  84.        JMP $
  85.  
  86.   4. Why can't I press Ctrl-Break to get out of a program
  87.      running on a remote machine?
  88.  
  89.      The program running in the remote machine has taken control
  90.      of Interrupt 1B (Ctrl-Break). TFREMOTE does not take back
  91.      control of Interrupt 1B until you stop execution of the
  92.      running program on the profiler side by completing the
  93.      program or pressing Ctrl-F2 (Program Reset).
  94.  
  95.   5. What is the most likely reason for Turbo Profiler to hang
  96.      when starting up on a PC-compatible computer?
  97.  
  98.      If your computer is a Tandy 1000A, IBM PC Convertible, or
  99.      NEC MultiSpeed, or if TPROF hangs when loading on your system,
  100.      run TFINST and change the item in the Options|Miscellaneous
  101.      menu so that NMI Intercept is not set. Some computers use
  102.      the NMI (Non-Maskable Interrupt) in ways that conflict with TPROF,
  103.      so you must disable TPROF's use of this interrupt in order to
  104.      run the program.
  105.  
  106.      Also, if you are using a 80386-based machine and have the
  107.      SuperKey utility loaded, be careful not to press a key when
  108.      TF386 is loading, since SuperKey may capture the keystroke
  109.      and cause unexpected results.
  110.  
  111.  
  112. *    Common questions about using mouse support in Turbo Profiler 1.0.
  113.  
  114. Turbo Profiler 1.0 provides mouse support that allows you to manipulate
  115. elements within the user interface. The following lists mouse-related
  116. terms to help you become accustomed to Turbo Profiler's mouse support.
  117.  
  118. If you have a mouse driver installed by default, Turbo Profiler and TFINST
  119. will try to use your mouse. If you do not wish to use your mouse during a
  120. debugging session, you can use the command-line switch '-p-' to turn the
  121. mouse off. This can also be set in TFINST in the Options|Input & prompting
  122. dialog box.
  123.  
  124. Clicking and Dragging
  125.     Most mice provide two or three buttons that allow for various
  126.     functions inside an application. In Turbo Profiler you can,
  127.     among other things, use the left mouse button to select options,
  128.     move items around on the screen, and set breakpoints. The right
  129.     mouse button has some of the same functionality as the left mouse
  130.     button, but you can also open local menus within windows using
  131.     this button. Double clicking the mouse on options in a list will
  132.     select that item. For instance, in the File|Open dialog box you
  133.     can highlight a file by clicking the mouse once on the file name.
  134.     You can load the file by double clicking on the name. The commands
  135.     shown at the bottom of the screen, like F1-Help, can also be selected
  136.     using the mouse. Dragging the mouse consists of depressing the mouse
  137.     button and moving the mouse cursor to a new location.
  138.  
  139. Mouse drivers
  140.     Your mouse driver is the application that you install to make your
  141.     mouse active inside Turbo Profiler and other programs. Most mouse
  142.     drivers will work with Turbo Profiler but may have to be updated to
  143.     a newer version if you are using an older version and having problems.
  144.     If you have problems with the mouse once you have loaded TPROF or
  145.     TFINST, you might try using the Display Swap option that can be
  146.     specified either in TFINST or on the command-line with the -ds switch.
  147.     Consult your mouse manual to ensure proper use of the mouse and its
  148.     driver. Early versions of mouse drivers don't support screen
  149.     display modes larger than 80 columns by 24 lines. As a result, your
  150.     mouse driver might not work correctly when you use Turbo Profiler's
  151.     enhanced display modes EGA 80x43, VGA 80x50, or EGA/VGA graphics
  152.     modes.
  153.  
  154. Scroll bars
  155.     Scroll bars, located at the right and bottom of all windows, allow
  156.     you to specify a new position within a window by clicking the mouse
  157.     on an indicator on the scroll bar and dragging it to a new location.
  158.     Arrows located at either end of a scroll bar also allow you to scroll
  159.     through the window when you click and hold the mouse on the arrow heads.
  160.  
  161. Icons
  162.     An icon is a window that has been shrunk down to a smaller
  163.     representation of the window. These icons can be moved around
  164.     with the mouse by clicking on the border of the icon and dragging
  165.     it to a new location.  Arrows located at the top right of each
  166.     viewer allow you to zoom and unzoom the viewer when you click the
  167.     mouse on the arrows. When you iconize a window, it is stored at the
  168.     bottom right side of the screen. If any other windows are currently
  169.     showing at this position, the icon will be put behind that viewer.
  170.     The global Window menu allows you to pick from a list of currently
  171.     open windows. This will also take you to an iconized window.
  172.  
  173. Resize box
  174.     The resize box is located at the bottom right of each window. You
  175.     can click the mouse on the box and drag the mouse to resize the
  176.     viewer. Using the mouse you can also resize the viewer by clicking
  177.     the mouse on the right border of any window and dragging it. Windows
  178.     and inspectors can be moved using the mouse by clicking on the top
  179.     and left borders and dragging the window to a new location. Double
  180.     clicking the mouse on the top border is a short cut to zoom/unzoom
  181.     the current window.
  182.  
  183. Dialog boxes
  184.     Dialog boxes allow you to select options, specify files to save or
  185.     restore, and choose different settings. You can click the mouse to
  186.     make prompts or panes within the dialog box active. Help for the
  187.     current dialog box is available by clicking on the Help button
  188.     in the box.
  189.  
  190. Close buttons
  191.     A Close button is located at the top left of all windows and dialog
  192.     boxes. It lets you close the current window or dialog box when you
  193.     click the mouse on it. If you have entered any information into a
  194.     dialog box and you use the Close button to close it, the settings
  195.     you specified in the dialog box will not be saved. This is the same
  196.     as clicking the mouse on the Cancel button inside a dialog box.
  197.     You must select the Ok button in dialog boxes in order to save
  198.     these settings.
  199.  
  200.