vdbinit.st
changeset 173 bc6174f3570f
equal deleted inserted replaced
172:9ce05ad5c37e 173:bc6174f3570f
       
     1 "/ VDB init script
       
     2 "/ Current VDB instance (instance of VDBDebuggerApplication) can be accessed
       
     3 "/ in via variable `vdb`
       
     4 "/ Current GDB instance (instance of GDBDebugger) can be accessed via
       
     5 "/ `vdb debugger`.
       
     6 
       
     7 "/ Load plugins.
       
     8 "/ 
       
     9 "/   Smalltalk loadPackage: 'jv:vdb/plugins/bee'
       
    10 
       
    11 "/ Set console prompt
       
    12 "/ 
       
    13 "/   vdb debugger send: 'set prompt (vdb) '.
       
    14 vdb debugger send: 'set prompt (vdb) '.
       
    15 
       
    16 "/ Set default text font for all text and list views
       
    17 "/ 
       
    18 "/   VDBAbstractApplication defaultTextFont: (FontDescription family:#'DejaVu Sans Mono' face:#normal size:12).
       
    19 "/   VDBAbstractApplication defaultTextFont: (CodeView defaultFont asSize: 16).
       
    20 
       
    21 "/ Choose debugger layout. For list of layouts, see VDBDebuggerApplicaton class,
       
    22 "/ protocol 'interface specs - layouts'. Default is #layoutEclipseSpec.
       
    23 "/
       
    24 "/   vdb layout: #layoutEclipseSpec.
       
    25 "/   vdb layout: #layoutIDAProSpec.
       
    26 "/   vdb layout: #layoutSingleSpec.
       
    27 
       
    28 "/ Enable pretty printers and frame filters in user interface.
       
    29 "/ Very likely you want this, if you want to turn the off
       
    30 "/ (not recommended), comment out following:
       
    31 vdb debugger enablePrettyPrinting.
       
    32 vdb debugger enableFrameFilters.