8.8.1.1.2.2.18. DebugSession

class DebugSession
armAdvancedFeatures: ArmAdvancedFeatures
breakpoints: Breakpoints
callstack: Callstack
clock: Clock
cio: Cio
expressions: Expressions
flash: Flash
globalBreakpoint: GlobalBreakpoint
memory: Memory
registers: Registers
settings: Settings
symbols: Symbols
target: Target
getName() str

Returns the name of this target. This is the same name for the target that is returned by :py:meth:~DebuggerScripting.listCores.

name = session.getName()
print(f"This is the session for {name}")
Returns:

the name of this target

Return type:

str

getPartNum() str

Returns the part number of this target's device.

# get the part number
partNum = session.getPartNum()
Returns:

the part number

Return type:

str