Variable

class lauterbach.trace32.rcl.VariableService(conn)
read(name, **kwargs)

Reads a Variable from the debugger

Parameters:

name (str) – Name of the desired Variable

Returns:

Result

Return type:

Variable

read_by_name(name, **kwargs)

Reads a Variable by name from the debugger

Parameters:

name (str) – Name of the desired Variable

Returns:

Result

Return type:

Variable

write(name, value, **kwargs)

Writes a Variable object to the debugger

Parameters:
  • name (str) – Name of the Variable that should be written

  • value – Value that should be written

Returns:

Result

Return type:

Variable

write_by_name(name, value, **kwargs)

Writes a Variable by name to the debugger

Parameters:
  • name (str) – Name of the Variable that should be written

  • value – Value that should be written

Returns:

Result

Return type:

Variable

class lauterbach.trace32.rcl.Variable(conn, *, name=None, value=None)
deserialize(buffer)

Deserializer of the variable class Extracts parameters from an API message and sets its own parameters accordingly

Parameters:

buffer (bytes) – bytes to deserialize

Returns:

self

Return type:

Variable

serialize()

Serializer of the variable class

Args: :returns: result :rtype: Bytes

read()

Calls read function of the VariableService

write()

Calls write function of the VariableService