author | Jan Vrany <jan.vrany@labware.com> |
Tue, 26 Jul 2022 15:01:33 +0100 | |
changeset 265 | f2470f0dd9cd |
parent 258 | 789898d2b71a |
permissions | -rw-r--r-- |
201 | 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 |
"/ |
|
258
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
9 |
"/ Smalltalk loadPackage: 'jv:vdb/plugins/xyz' |
201 | 10 |
|
11 |
"/ Set console prompt |
|
12 |
"/ |
|
13 |
"/ vdb debugger send: 'set prompt vdb > '. |
|
14 |
||
258
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
15 |
"/ Set light mode (theme) |
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
16 |
"/ |
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
17 |
"/ View defaultStyle:#'Adwaita'. |
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
18 |
"/ UserPreferences current codeViewTheme: Solarized new. "/ choose one... |
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
19 |
"/ UserPreferences current codeViewTheme: nil. "/ ...or the other |
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
20 |
"/ |
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
21 |
"/ Set dark mode |
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
22 |
"/ |
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
23 |
"/ View defaultStyle:#'Adwaita_dark'. |
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
24 |
"/ UserPreferences current codeViewTheme: SolarizedDark new. "/ choose one... |
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
25 |
"/ UserPreferences current codeViewTheme: Monokai new. "/ ...or the other |
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
26 |
|
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
27 |
|
201 | 28 |
"/ Set default text font for all text and list views |
258
789898d2b71a
python: add set/show variable vdb-autodebug
Jan Vrany <jan.vrany@labware.com>
parents:
201
diff
changeset
|
29 |
"/ |
201 | 30 |
"/ VDBAbstractApplication defaultTextFont: (FontDescription family:#'DejaVu Sans Mono' face:#normal size:12). |
31 |
"/ VDBAbstractApplication defaultTextFont: (CodeView defaultFont asSize: 16). |
|
32 |
||
33 |
"/ Choose debugger layout. For list of layouts, see VDBDebuggerApplicaton class, |
|
34 |
"/ protocol 'interface specs - layouts'. Default is #layoutEclipseSpec. |
|
35 |
"/ |
|
36 |
"/ vdb layout: #layoutEclipseSpec. |
|
37 |
"/ vdb layout: #layoutIDAProSpec. |
|
38 |
"/ vdb layout: #layoutSingleSpec. |
|
39 |
||
40 |
"/ Enable pretty printers and frame filters in user interface. |
|
41 |
"/ Very likely you want this, if you want to turn the off |
|
42 |
"/ (not recommended), comment out following: |
|
43 |
vdb debugger enablePrettyPrinting. |
|
44 |
vdb debugger enableFrameFilters. |