Debugger

lager debug erase

lager debug erase [OPTIONS]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

MCU to erase

lager debug flash

lager debug flash [OPTIONS]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

MCU to disconnect

--hexfile <hexfile>

Hexfile to flash.

lager debug gdb

Debug a DUT using an ELF file

lager debug gdb [OPTIONS] ELF_FILE

Options

--gateway, --dut <gateway>

ID of gateway to which DUT is connected

-i, --interpreter <interpreter>

Select a specific interpreter / user interface

-v, --verbose

Print verbose debug info

--tty <tty>

Use TTY for input/output by the program being debugged.

-q, --quiet, --silent

Do not print the introductory and copyright messages. These messages are also suppressed in batch mode.

--args <args>

Arguments passed to debugger

--ignore-missing, --no-ignore-missing

Ignore missing files

--cwd <cwd>

Set current working directory

--cache, --no-cache

Use cached source if ELF file unchanged

Default

True

--mcu <mcu>

MCU to query

--elf-only

Only send ELF file; no source

--debugfile <debugfile>

Debugger command file

Arguments

ELF_FILE

Required argument

lager debug reset

lager debug reset [OPTIONS]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

MCU to disconnect

--halt

Halt the DUT after reset. Default: do not halt

Default

False