Module starlark::debug

source ·
Expand description

Provides debug-related functionality and utilities.

Structs§

  • Information about expression evaluation result
  • Information about variable child “sub-values”
  • Breakpoints resolved to their spans.
  • Information about the variables scopes
  • Information about a “structural variable” inspected by a debugger this currently has DAP-like semantic meaning that every complex object returned by debugger from the stack or from the heap can be broken down into “variables” this is how structured data is managed by the debugger. Something similar to LLDB’s SBValue
  • Represents a variable’s “access path” for a local variable or watch expression.
  • Information about variables in scope.

Enums§

  • Represents a segment in an access expression.
  • Represents the scope of a variable.
  • The kind of debugger step, used for next/stepin/stepout requests.

Traits§

  • The DapAdapter accepts DAP requests and updates the hooks in the running evaluator.
  • The DapAdapterClient is implemented by the user and provides functionality required by the DapAdapter.
  • This is sort of the evaluation side of the DapAdapter. It’s expected that these are on different threads (the starlark evaluation is single-threaded, so certainly the DapAdapter itself doesn’t do interesting things there).

Functions§