home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / sd386v50.zip / sd386.pro < prev    next >
Text File  |  1995-03-05  |  13KB  |  322 lines

  1. Version 2.00
  2.  
  3. /*---------------------------------------------------------------------------*/
  4. /*  Changes in the .PRO from the earlier versions.                           */
  5. /*---------------------------------------------------------------------------*/
  6. /*
  7.     - All the functions on the Action Bar can be assigned accelerator
  8.       keys. The format of SD386.PRO has been reorganized to list the
  9.       functions in the order in which they appear on the Action Bar
  10.       pulldowns. The name of the function in the pulldown is shown
  11.       in the comment next to the internal function name.
  12.  
  13.     - F1 on any pulldown selection will give context sensitive help
  14.       for that function.
  15.  
  16.     - The Run pulldown functions now provide a more complete and consistent
  17.       implementation of swapping and no swapping actions associated with
  18.       execution functions.  In previous versions, we added some functions
  19.       per user requests for swapping and no swapping actions and it
  20.       eventually became unclear which functions swapped and which ones
  21.       didn't. The following is a summary of changes made in the execution
  22.       functions from 1.01- to 1.02:
  23.  
  24.        1.02            | 1.01-           | Action
  25.        --------------  |-----------------|--------
  26.        Run             | same            | Swap
  27.        SStep           | FgSStep         | Swap
  28.        SStepIntoFunc   | not implemented | Swap
  29.        RunToCursor     | same            | Swap
  30.        RunNoScreenSwap | same            | No Swap
  31.        BgSStep         | SStep           | No Swap
  32.        BgSStepIntoFunc | SStepIntoFunc   | No Swap
  33.        BgRunToCursor   | not implemented | No Swap
  34.  
  35.     - Two additional default function keys were assigned -
  36.       GetFile was assigned C_F11 and GetFunction was assigned
  37.       A_F11.
  38.  
  39.     - The following are no longer assignable.
  40.  
  41.       UP,C_UP,DOWN,C_DOWN,LEFT,C_LEFT,BACKSPACE,RIGHT,C_RIGHT,S_TAB,
  42.       PGUP,C_PGUP,PGDN,C_PGDN,C_HOME,C_END
  43.  
  44.     - The following key names were changed:
  45.  
  46.        SPACEBAR->S_BAR ( This will be changed to SBAR per user request. )
  47.        PADMINUS->PAD-
  48.        PADPLUS ->PAD+
  49.        C_ENTER ->C_ENT
  50.        A_ENTER ->A_ENT
  51.  
  52.     - Key names A_SPACEBAR and C_SPACEBAR that were assignable in
  53.       1.01- were inadvertantly not provided key names in 1.02.
  54.       This has been fixed.
  55.  
  56.     - In 1.01- the TAB key was assigned to the TabRight function and the
  57.       S_TAB key was assigned to the the TabLeft function.  In 1.02 these
  58.       functions continue to work as the did by default in 1.01;however,
  59.       only the TAB key remains assignable.  By default, the TAB key will
  60.       execute the EditStorage function in the data window. ( Note that in
  61.       1.02 you can simply click on the byte you want to change in storage
  62.       area.)
  63.  
  64.     - The ESC key is shown in the .PRO as being assigned to the ActionBar
  65.       function. This is not true. ESC implements the function of Alt-F which
  66.       pulls down the File pulldown. A function "ExpressBar" was created and
  67.       assigned to ESC key by default.
  68.  
  69.     - KeysHelp function has been created for the second item of Help pulldown.
  70.       C_F1 is assigned for KeysHelp by default.
  71.       ( Note that you can get context sensitive help for a function
  72.       from the "Keys Help" dialog.)
  73. */
  74.  
  75. /*---------------------------------------------------------------------------*/
  76. /*  User assignable keys with their default assignments.                     */
  77. /*---------------------------------------------------------------------------*/
  78. /*
  79.     F1    = GenHelp
  80.     F2    = ToggleStorage
  81.     F3    = ToggleAsm
  82.     F4    = TimedShowAppWindow
  83.     F5    = Run
  84.     F6    = FindExecLine
  85.     F7    = RunToCursor
  86.     F8    = BgSStep
  87.     F9    = SetClearBkpt
  88.     F10   = ActionBar
  89.     F11   = Browse
  90.     F12   = SetColors
  91.  
  92.     C_F1  =
  93.     C_F2  = ToggleHideStorage
  94.     C_F3  =
  95.     C_F4  =
  96.     C_F5  = Find
  97.     C_F6  = RepeatFind
  98.     C_F7  =
  99.     C_F8  =
  100.     C_F9  = ClearAllBkpts
  101.     C_F10 = CoProRegDisplay
  102.     C_F11 = GetFile
  103.     C_F12 = SetExceptions
  104.  
  105.     A_F1  = ShowCallStack
  106.     A_F2  = ShowThreads
  107.     A_F3  = ToggleDis
  108.     A_F4  = NextFile
  109.     A_F5  =
  110.     A_F6  = FindFunction
  111.     A_F7  = SetExecutionLine
  112.     A_F8  = BgSStepIntoFunc
  113.     A_F9  = SetClearCondBkpt
  114.     A_F10 =
  115.     A_F11 = GetFunction
  116.     A_F12 =
  117.  
  118.     S_F1  = ShowDlls
  119.     S_F2  = ShowHideStorage
  120.     S_F3  = ToggleAsmView
  121.     S_F4  = TimedShowAppWindow
  122.     S_F5  = RunNoScreenSwap
  123.     S_F6  =
  124.     S_F7  = SetWatchPoints
  125.     S_F8  = SStep
  126.     S_F9  =
  127.     S_F10 = RegisterDisplay
  128.     S_F11 =
  129.     S_F12 =
  130.  
  131.  
  132.     SBAR   = BgSStep
  133.     S_SBAR =
  134.     A_SBAR =
  135.     C_SBAR =
  136.  
  137.     INS    = ShowVar
  138.     C_INS  = PutVarInStg
  139.     S_INS  = ExpandVar
  140.     A_INS  =
  141.  
  142.     DEL    = ShowVarPtsTo
  143.     C_DEL  = PutVarPtsToInStg
  144.     S_DEL  =
  145.     A_DEL  =
  146.  
  147.     ENTER  = ExpandVar
  148.     C_ENT  = FormatVar
  149.     S_ENT  = Expandvar ( Not documented in old profile.)
  150.     A_ENT  = EditFormula
  151.  
  152.     TAB    = EditStorage( data window only )
  153.     PAD-   = DeleteLine ( data window only )
  154.     PAD+   = InsertLine ( data window only )
  155.  
  156.     ESC    = ExpressBar
  157. */
  158.  
  159. Start_Of_Defs
  160. /*
  161.         KEY            FUNCTION
  162.       --------     ----------------
  163. */
  164. /*-----------------*/
  165. /* File  pulldown  */
  166. /*-----------------*/
  167. ?            GetFunction                /* Get Function...                   */
  168. ?            GetAddress                 /* Get Address...                    */
  169. C_F8         GetFile                    /* Get File                          */
  170. A_F6         FindFunction               /* Find Function                     */
  171. F6           FindExecLine               /* A_f6 Exec Line                    */
  172. A_F4         NextFile                   /* Next File                         */
  173. ?            DropFile                   /* Drop File                         */
  174. F11          Browse                     /* Browse File...                    */
  175. ?            Restart                    /* Restart                           */
  176.  
  177. /*-----------------*/
  178. /* Run pulldown    */
  179. /*-----------------*/
  180. F5           Run                        /* Run                   ( Swap )    */
  181. S_F8         SStep                      /* Single Step           ( Swap )    */
  182. ?            SStepIntoFunc              /* Step Into             ( Swap )    */
  183. F7           RunToCursor                /* Run To Cursor         ( Swap )    */
  184. S_F5         RunNoScreenSwap            /* Run                   ( No Swap ) */
  185. SBAR         BgSStep                    /* Single Step           ( No Swap ) */
  186. F8           BgSStep                    /* Single Step           ( No Swap ) */
  187. A_SBAR       BgSStepIntoFunc            /* Step Into             ( No Swap ) */
  188. ?            BgRunToCursor              /* Run To Cursor         ( No Swap ) */
  189. A_F7         SetExecutionLine           /* Set Exec Line                     */
  190.  
  191. /*----------------------*/
  192. /* Breakpoints pulldown */
  193. /*----------------------*/
  194. F9           SetClearBkPt               /* Set/Clear on Cursor               */
  195. A_F9         SetClearCondBkPt           /* Set Conditional on Cursor...      */
  196. ?            SetFuncBkPt                /* Function entry...                 */
  197. ?            SetAddrBkPt                /* Address...                        */
  198. C_F9         ClearAllBkpts              /* Clear All Breaks                  */
  199. S_F7         SetWatchPoints             /* Hardware Debug Regs...            */
  200.  
  201. /*-----------------*/
  202. /* Search pulldown */
  203. /*-----------------*/
  204. C_F5         Find                       /* Find...                           */
  205. C_F6         RepeatFind                 /* Repeat Find                       */
  206.  
  207. /*-----------------*/
  208. /* Data  pulldown  */
  209. /*-----------------*/
  210. INS          ShowVar                    /* Show Var                          */
  211. DEL          ShowVarPtsTo               /* Show Var->                        */
  212. C_INS        PutVarInStg                /* Watch Var                         */
  213. C_DEL        PutVarPtsToInStg           /* Watch Var->                       */
  214. S_INS        ExpandVar                  /* Expand Var                        */
  215. ENTER        ExpandVar                  /* Expand Var                        */
  216. A_ENT        EditFormula                /* Edit Expression                   */
  217. ?            EditStorage                /* Edit Storage                      */
  218. C_ENT        FormatVar                  /* Format Var                        */
  219. PAD-         DeleteLine                 /* Remove Var                        */
  220. PAD+         InsertLine                 /* Insert                            */
  221.  
  222. /*-----------------*/
  223. /* View  pulldown  */
  224. /*-----------------*/
  225. F3           ToggleAsm                  /* Source/Assembly Toggle            */
  226. F2           ToggleStorage              /* Data                              */
  227. S_F2         ShowHideStorage            /* Data Show/Hide                    */
  228. F4           TimedShowAppWindow         /* Timed Show App                    */
  229. S_F4         TimedShowAppWindow         /* Timed Show App                    */
  230.  
  231. /*-------------------*/
  232. /* Settings pulldown */
  233. /*-------------------*/
  234. F12          SetColors                  /* Colors                            */
  235. C_F12        SetExceptions              /* Exceptions                        */
  236. S_F3         ToggleAsmView              /* Assembler +/- Source              */
  237. A_F3         ToggleDis                  /* Mnemonics                         */
  238.  
  239. /*------------------------*/
  240. /* Miscellaneous pulldown */
  241. /*------------------------*/
  242. A_F1         ShowCallStack              /* Call Stack                        */
  243. A_F2         ShowThreads                /* Threads                           */
  244. S_F1         ShowDlls                   /* Dlls                              */
  245. S_F10        RegisterDisplay            /* Registers                         */
  246. A_INS        EditRegisters              /* Edit Registers                    */
  247. C_F10        CoProRegDisplay            /* Coprocessor Regs                  */
  248.  
  249. /*-----------------*/
  250. /* Help  pulldown  */
  251. /*-----------------*/
  252. F1           GenHelp                    /* General Help - CUA Interface      */
  253. C_F1         KeysHelp                   /* Keys Help - Old Interface         */
  254.  
  255. /*---------------------------------------------------------------------------*/
  256. /* Miscellaneous                                                             */
  257. /*---------------------------------------------------------------------------*/
  258.  
  259. ESC          ExpressBar           /* present action bar with pulldown  */
  260. F10          ActionBar            /* present action bar options        */
  261. C_F2         ToggleHideStorage    /* toggle between code & data window */
  262.                                   /* leave the data window hidden      */
  263.  
  264. Start_Of_Colors
  265. /*
  266.          ATTRIBUTE TYPE     BACKGROUND  FOREGROUND
  267.       --------------------  ---------- -------------
  268. */
  269.       ProgramLine            BG_BLUE    FG_WHITE
  270.       LinesOkayForBrkPoint   BG_BLUE    FG_LT_WHITE
  271.       LinesWithBrkPoint      BG_RED     FG_LT_WHITE
  272.       ExecLineWithNoBrkPt    BG_WHITE   FG_GREY
  273.       ExecLineWithBrkPt      BG_WHITE   FG_RED
  274.       MenuBar                BG_CYAN    FG_LT_WHITE
  275.       MenuBarCursor          BG_BLACK   FG_LT_WHITE
  276.       StorageExpression      BG_WHITE   FG_BLACK
  277.       StorageValues          BG_WHITE   FG_BLACK
  278.       RegisterWindow         BG_BLUE    FG_WHITE
  279.       MenuPrompts            BG_BROWN   FG_LT_WHITE
  280.       ErrorMessages          BG_BLACK   FG_LT_RED
  281.       FileAndPosition        BG_CYAN    FG_LT_WHITE
  282.       HelpPanels             BG_WHITE   FG_BLACK
  283.       StorageExprsnPrompts   BG_MAGENTA FG_LT_WHITE
  284.       ClearScreenOnExit      BG_BLACK   FG_WHITE
  285.       DataWindowStatusLine   BG_CYAN    FG_LT_WHITE
  286.       AsmWindowSourceLines   BG_BLUE    FG_WHITE
  287.       MenuBarItemSelected    BG_CYAN    FG_YELLOW
  288.       SelectionWindow        BG_BROWN   FG_LT_WHITE
  289.       SelectWinItemSelected  BG_WHITE   FG_BROWN
  290.  
  291. Start_Of_Exceptions
  292. /*
  293.          EXCEPTION TYPE           NOTIFICATION
  294.       --------------------       --------------
  295. */
  296.       GuardPageViolation            NoNotify
  297.       UnableToGrowStack             Notify
  298.       DataTypeMisAlignment          Notify
  299.       AccessViolation               Notify
  300.       IllegalInstruction            Notify
  301.       FloatingDenormalOperand       Notify
  302.       FloatingDivideByZero          Notify
  303.       FloatingInExactResult         Notify
  304.       FloatingInvalidOperation      Notify
  305.       FloatingOverflow              Notify
  306.       FloatingStackCheck            Notify
  307.       FloatingUnderflow             Notify
  308.       IntegerDivideByZero           Notify
  309.       IntegerOverFlow               Notify
  310.       PrivilegedInstruction         Notify
  311.       PageError                     Notify
  312.       ProcessTerminate              NoNotify
  313.       AsyncProcessTerminate         NoNotify
  314.       NonContinuableException       Notify
  315.       InvalidDisposition            Notify
  316.       InvalidLockSequence           Notify
  317.       ArrayBoundsExceeded           Notify
  318.       UnwindException               NoNotify
  319.       BadStack                      Notify
  320.       InvalidUnwindTarget           Notify
  321.       Signal                        Notify
  322.