rk dap
Summary
Debug Adapter Protocol (BrightScript) debugging for Roku devices (server mode only).
Description
Debug Adapter Protocol (BrightScript) debugging for Roku devices. DAP debugging requires a running rk server. Start it with 'rk server'.
Usage
rk dap <subcommand> [options]reconnect
Summary
Reconnect the shared DAP connection
Description
Reconnect the shared DAP connection. It operates on the shared connection regardless of session, so --session is not accepted.
Usage
rk dap reconnect [options]Options
| Flag | Value/type | Required |
|---|---|---|
--json | boolean | no |
--json
Output raw JSON response
Examples
rk dap reconnectSee also
- dapReconnect (
POST /api/dap/reconnect) - dap_reconnect
threads
Summary
List device threads
Description
List device threads
Usage
rk dap threads [options]Options
| Flag | Value/type | Required |
|---|---|---|
--session | id (string) | no |
--json | boolean | no |
--session
Target session ID
--json
Output raw JSON response
Examples
rk dap threadsSee also
- dapListThreads (
GET /api/dap/threads) - dap_threads
thread select
Summary
Select the active thread
Description
Select the active thread
Usage
rk dap thread select <id> [options]| Argument | Description | Required | Repeatable |
|---|---|---|---|
| id | Thread ID to select. | yes | no |
Options
| Flag | Value/type | Required |
|---|---|---|
--session | id (string) | no |
--json | boolean | no |
--session
Target session ID
--json
Output raw JSON response
Examples
rk dap thread select thread-1See also
- dapSelectThread (
POST /api/dap/thread/select) - dap_thread_select
thread stop-reason
Summary
Get the selected thread's stop reason
Description
Get the selected thread's stop reason
Usage
rk dap thread stop-reason [options]Options
| Flag | Value/type | Required |
|---|---|---|
--session | id (string) | no |
--thread | id (string) | no |
--json | boolean | no |
--session
Target session ID
--thread
Target thread ID
--json
Output raw JSON response
See also
- dapGetThreadStopReason (
GET /api/dap/thread/stop-reason) - dap_thread_stop_reason
variables
Summary
Get variables at a thread/frame/path
Description
Get variables at a thread/frame/path
Usage
rk dap variables [options]Options
| Flag | Value/type | Required |
|---|---|---|
--session | id (string) | no |
--thread | id (string) | no |
--frame-index | n (number) | no |
--path | path (string) | no |
--include-virtual-keys | boolean | no |
--json | boolean | no |
--session
Target session ID
--thread
Target thread ID
--frame-index
Stack frame index
--path
Dotted/bracketed variable path (e.g. "m.top.children[0].text")
Example:
rk dap variables --thread 1 --frame-index 0 --path "m.top.children[0].text"--include-virtual-keys
Include virtual keys (e.g. $children)
--json
Output raw JSON response
Examples
rk dap variables --path "m.top.text"See also
- dapGetVariables (
GET /api/dap/variables) - dap_variables
Updated about 6 hours ago