Skip to content

DAP crash: unhandledRejection - Cannot read properties of undefined (reading 'continue') #858

Description

@sethmaclean

Type: Bug

Debug Adapter Crash

Type: unhandledRejection
Message: Cannot read properties of undefined (reading 'continue')

Steps to reproduce:
Hit a breakpoint in a callback function nested in the .then() clause of a promise chain.
The breakpoint triggered & then while examining the code (5-6 seconds later) the debugger crashed unexpectedly.

Stack:

TypeError: Cannot read properties of undefined (reading 'continue')
    at DebugProtocolAdapter.continue (/Users/sethmaclean/.vscode/extensions/rokucommunity.brightscript-2.67.2/node_modules/roku-debug/dist/adapters/DebugProtocolAdapter.js:455:28)
    at BrightScriptDebugSession.continueRequest (/Users/sethmaclean/.vscode/extensions/rokucommunity.brightscript-2.67.2/node_modules/roku-debug/dist/debugSession/BrightScriptDebugSession.js:1611:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
Additional Info
Item Value
Client Name Visual Studio Code
Roku Debug Version 0.23.16
Ecp Mode enabled
Developer Mode true
Firmware 15.2.4.3442
Protocol Version 3.5.0
Protocol Enabled true

Extension version: 2.67.2
VS Code version: Code 1.128.0 (Universal) (fc3def6774c76082adf699d366f31a557ce5573f, 2026-07-07T15:14:24-07:00)
OS version: Darwin arm64 24.4.0
Modes:

System Info
Item Value
CPUs Apple M1 (8 x 2400)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M1, Version 15.4 (Build 24E248))], DRIVER_VENDOR=Apple, DRIVER_VERSION=15.4 ACTIVE
Machine model name: MacBookPro
Machine model version: 17.1
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 7, 7, 8
Memory (System) 8.00GB (0.07GB free)
Process Argv --crash-reporter-id 1651a769-183f-423d-992c-c8a211dc44f3
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
pythonvspyt551cf:31249601
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31538736
478i5457:31544283
cloudbuttont:31379625
3efgi100_wstrepl:31403338
bj468946:31457056
ec5jj548:31422691
cp_cls_t_966_ss:31526232
8hhj4413:31478653
38bie571_auto:31426784
cp_cls_t_1081:31454832
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
46204921:31447328
control_6dc23131:31544977
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ddid_t:31478206
hmra_i5g22:31518061
ja75b849:31547460
ie3bb177:31543534
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
748c7209:31512887
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31543584
jh5f2457_c:31540921
8hfba999:31537718
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31548657
jf4hg949:31526829
nes-curr-leftover-1500:31538366
h561g132:31533256
sessions_3:31532893
ihg5j128:31534457
jh7i3328:31546038
7g2b5551:31542111
sandbox-ui-on-2:31543161
nes-ex-cf-euporie-03:31542868
nes-nc-lc-nf:31546584

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions