Re-add lost `vdbinit.st`
authorJan Vrany <jan.vrany@labware.com>
Tue, 17 Nov 2020 15:24:47 +0000
changeset 201 2dfcfb2fe3c5
parent 200 8f54ea4e6d11
child 202 8064029822c5
Re-add lost `vdbinit.st`
jv_vdb.st
vdbinit.st
--- a/jv_vdb.st	Mon Nov 16 22:10:04 2020 +0000
+++ b/jv_vdb.st	Tue Nov 17 15:24:47 2020 +0000
@@ -259,6 +259,17 @@
     "Modified: / 23-11-2017 / 22:36:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
+!jv_vdb class methodsFor:'file generation'!
+
+protectedFileNames
+    "names of files which should NOT be generated (because they are hand-maintained)
+     - redefine this to protect a hand-written Make.proto or other handwritten support files"
+
+    ^ #('vdbinit.st')
+
+    "Created: / 17-11-2020 / 15:23:46 / Jan Vrany <jan.vrany@labware.com>"
+! !
+
 !jv_vdb class methodsFor:'documentation'!
 
 version_HG
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vdbinit.st	Tue Nov 17 15:24:47 2020 +0000
@@ -0,0 +1,31 @@
+"/ VDB init script
+"/ Current VDB instance (instance of VDBDebuggerApplication) can be accessed
+"/ in via variable `vdb`
+"/ Current GDB instance (instance of GDBDebugger) can be accessed via
+"/ `vdb debugger`.
+
+"/ Load plugins.
+"/
+"/   Smalltalk loadPackage: 'jv:vdb/plugins/bee'
+
+"/ Set console prompt
+"/
+"/   vdb debugger send: 'set prompt vdb > '.
+
+"/ Set default text font for all text and list views
+"/ 
+"/   VDBAbstractApplication defaultTextFont: (FontDescription family:#'DejaVu Sans Mono' face:#normal size:12).
+"/   VDBAbstractApplication defaultTextFont: (CodeView defaultFont asSize: 16).
+
+"/ Choose debugger layout. For list of layouts, see VDBDebuggerApplicaton class,
+"/ protocol 'interface specs - layouts'. Default is #layoutEclipseSpec.
+"/
+"/   vdb layout: #layoutEclipseSpec.
+"/   vdb layout: #layoutIDAProSpec.
+"/   vdb layout: #layoutSingleSpec.
+
+"/ Enable pretty printers and frame filters in user interface.
+"/ Very likely you want this, if you want to turn the off
+"/ (not recommended), comment out following:
+vdb debugger enablePrettyPrinting.
+vdb debugger enableFrameFilters.