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
AddressServicefor this debugger.- Type:
- breakpoint
BreakpointServicefor this debugger.- Type:
- cmd
CommandServicefor this debugger.- Type:
- fnc
FunctionServicefor this debugger.- Type:
- memory
MemoryServicefor this debugger.- Type:
- practice
PracticeServicefor this debugger.- Type:
- register
RegisterServicefor this debugger.- Type:
- symbol
SymbolServicefor this debugger.- Type:
- variable
VariableServicefor this debugger.- Type:
- disconnect()
Disconnect from PowerView.
- cmm(cmd, *, timeout=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 an error during execution occurs.
TimeoutError – If script execution took longer than timeout.