Debugging Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Debugging - Commands >

Debugging Commands

DBM. - Debugmode

Previous Top Next


MiniRobotLanguage (MRL)

 

DBM. Command

Debug Mode

 

 

Intention

 

The DBM.-Command enables different options for Debugging.

 

DBM.1 opens a separate Window with Single-Step option.

 

DBM.2 prints the actual Command into a Debug-Console-Window.

 

DBM.4 prints all Browser-Events that come from the Mini-Browser, if it was launched using LBR.

 

DBM.32 enables additional Infos.

 

 

 

Syntax

 

 

DBM.P1

 

 

Parameter Explanation

 

P1 -   0 = Mode off

     1 = Mode on, messages in debug-window of the editor

     2 = Mode on, messages in Concole-window

     4 = Show Browser Events, while loading a WEB-Site

          MiniBrowser only, and must be started using LBR.

    32 = Mode on, Additional infos mostly for internal use.

 

Debugmode 32 prints every executed Line in the Debug-Window together with following informations:

 

001   000000782162   0001 DBM.1

 

1. Linenumber

2. used CPU-Time

3. Times the Line was executed

4. Command

 

 

 

Example

 

'***********************************

' DBM.-Demo

'***********************************

DBM.2

PRT.This is a text to display something

:over

MBX.Halt to read output

'***********************************

 

 

Remarks

 

With the USM. Command you can redirect the ouput of DBM.-Mode2 into an separate Log-file.

 

 

Limitations:

-

 

 

See also:

 

  DBP - Debug Print

  DBV. - Debug Print Variable

  DBO. - Debug Raw Output

  DIP. - Delayed Instruction Processing

  USM - Use silent Mode

  DMP. - Dump internat Informations