Brightsign BrightScript 3.0 Reference Manual Manual do Utilizador Página 59

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 75
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 58
54
BRIGHTSCRIPT DEBUG CONSOLE
If, while a script is running, a runtime error occurs or a STOP statement is encountered, the BrightSign application will
enter the BrightScript debug console. This console can be accessed from a terminal program using a null-modem cable
connected to the RS-232, GPIO, or VGA port (depending on the player model). Networked players can also be accessed
via Telnet or SSH.
The console scope is set to the function that was running when the runtime error or STOP statement occurred. While in the
console, you can type in any BrightScript statement; it will then be compiled and executed in the current context.
Typically, the debug console is the default device for the PRINT statement.
Console Commands
The following console commands are currently available:
bt
Print a backtrace of call-function context frames.
classes
List all public classes.
cont or c
Continue script execution.
counts
List count of BrightScript Component instances.
da
Show disassembly and bytecode for this function.
down or d
Move one position down the function context chain.
exit
Exit the debug shell.
gc
Run the garbage collector and show collection statistics.
hash
Print the internal hash-table histograms.
last
Show the last line that executed.
method <class>
List methods provided by specified class.
method <class>.<interface>
List methods provided by the specified interface or class.
list
List the current source of the current function.
Vista de página 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 74 75

Comentários a estes Manuais

Sem comentários