Dot Commands


The following dot commands may be entered after stopping a program at the console prompt:


.

Execute the next line of the current program stepping into any CALL or GOSUB or CustomObject method.

. n

Execute the next n lines of current program stepping into any CALL or GOSUB or CustomObject method.

..

In BBj 9.0 and higher, execute the next line of the current program stepping over any CALL or GOSUB or CustomObject method.

.. n

In BBj 9.0 and higher, execute the next n lines of the current program stepping over any CALL or GOSUB or CustomObject method.

.clientmem

In BBj 17.0 and higher, print information about the current memory usage of the clientJVM. See also <BBjRuntime::getClientMemoryString()>.

.debug

Toggle the debug status of the current BBjSession and print the resulting debug status. See <BBjRuntime::setDebugState()> and <BBjRuntime::getDebugState()>.

.dvklic

In BBj 9.0 and higher, print "true" if BBjServices is running with a development kit (DVK) license. Otherwise print "false"  See <BBjRuntime::isDVKLicenseActive()>.

.gc

Cause the jvm to do a garbage collection. See  <BBjRuntime::doGC()>.

.memstat

In BBj 4.0 and higher, print information about the current memory usage of the JDK. See also <BBjRuntime::getMemStatString()>.

.sameJVM

Tells whether the client is in the same JVM as the server. See <BBjRuntime::isClientInServerJVM()>.

.stack

In BBj 9.0 and higher, print the current BBj stack. See <BBjRuntime::getBBjStack()> and <BBjRuntime::getBBjStackTrace()>.

.stepout

Step out of the current CALL or GOSUB. If not executing within a CALL or GOSUB, execute the next statement line.

.unwatch

If the variable has been initialized in the active program, the variable name will appear in the watch window along with its current value. If the variable has not been initialized or is not in the active program, then the variable will not appear in the watch window. See Debugging a Program in WinConsole.

.watch

Watches a variable in the current program or a variable that has been entered at the command prompt. See Debugging a Program in WinConsole.

!command

Shortcut for SCALL, i.e. !notepad

?

PRINT verb

/

LIST verb

\

SCAN command, i.e. \text

AUTO

AUTO verb

RENUM

RENUM verb

DENUM

DENUM verb

EDIT

ED

'

EDIT verb