Skip to content

preview String() for []byte when debug in "WATCH" field doesn't work #3931

@blacksheepaul

Description

@blacksheepaul

Type: Bug

  1. Debug
  2. Stop at breakpoint, there is a []byte{} in Local variables, and you watch some part of this slice.
  3. Then it happen
Image

Extension version: 0.50.0
VS Code version: Code 1.106.2 (Universal) (1e3c50d64110be466c0b4a45222e81d2c9352888, 2025-11-19T16:56:50.023Z)
OS version: Darwin arm64 25.1.0
Modes:

System Info
Item Value
CPUs Apple M2 (8 x 2400)
GPU Status 2d_canvas: enabled
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
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 4, 4, 4
Memory (System) 16.00GB (0.08GB free)
Process Argv --crash-reporter-id 9711b098-8bef-4dc9-898a-15acc6ddf99c
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
pythonvspyt551:31249599
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
aj953862:31281341
nes-set-on:31351930
6abeh943:31336334
editstats-enabled:31346257
cloudbuttont:31379625
todos-1:31405332
v66_all_req:31402695
control_gpt5applypatchexclusively:31412085
3efgi100_wstrepl:31403338
trigger-command-fix:31379601
auto_model_enabled:31385282
use-responses-api:31390855
je187915:31401257
agentic_ask_h7d75428:31426754
ec5jj548:31422691
copilot-nes-oct-t:31418199
terminalsuggestdisabled:31426256
cmp-ext-treat:31426748
cp_cls_c_966_ss:31426491
chatvisible:31426294
defaulttokens:31426298
c0683394:31419495
g0h3h215:31426582
7gj03587:31426750
fa76a614:31426783
5j92g670_sonnet:31426787

Metadata

Metadata

Assignees

No one assigned

    Labels

    DebugIssues related to the debugging functionality of the extension.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions