Debugger

class lauterbach.trace32.rcl.Debugger(*, node, port, packlen, protocol, timeout)

Connect to a debugger.

Parameters
  • node (str) – Remote API node. Defaults to ‘localhost’.

  • port (int) – Remote API port. Defaults to 20000.

  • packlen (int) – Remote API packet length. Defaults to 1024.

  • protocol (str) – Remote API protocol type: TCP, UDP. Defaults to “TCP”.

  • timeout (float) – Connection establishment timeout in seconds. Defaults to 10.0.

address

AddressService for this debugger.

Type

AddressService

breakpoint

BreakpointService for this debugger.

Type

BreakpointService

cmd

CommandService for this debugger.

Type

CommandService

fnc

FunctionService for this debugger.

Type

FunctionService

memory

MemoryService for this debugger.

Type

MemoryService

practice

PracticeService for this debugger.

Type

PracticeService

register

RegisterService for this debugger.

Type

RegisterService

symbol

SymbolService for this debugger.

Type

SymbolService

variable

VariableService for this debugger.

Type

VariableService

cmm(cmd: str, *, timeout: float = None)

Executes PRACTICE CMM script, blocking.

Parameters
  • cmd (str) – Script path and name.

  • timeout (float, optional, default=0) – Timeout in seconds. Special values: - None: Wait indefinitely. - 0: Don’t poll for script to finish (non-blocking)

Raises

PracticeError – If script execution took longer than timeout.