microsoft / microsoft/vscode-python-debugger
"Copy Value" in watch panel does nothing
未關閉
@eleanorjboyd 已經在處理了。
開始於 2025年10月3日。
- 主要語言
- TypeScript
- 星號
- 181
- 分支
- 126
- 平均合併
- 2 天 3 小時
- 30 天內合併 PR
- 3
描述
Type: Bug
Behaviour
Attempting to copy the value of a "watched" expression does nothing.
Steps to reproduce:
- Start a debugging session and hit a break point
- Add some variable available at the current point in the session to the watch panel
- Right click the line of the watched variable in the watch panel and select to "copy value"
- Nothing is placed in the clipboard and trying to paste gives no result.
The debug session itself behaves exactly as expected and has no issues.
Diagnostic data
launch.json configuration
// MAYA
{
"name": "Maya with port 3000",
"type": "debugpy",
"request": "attach",
"connect": {
"host": "localhost",
"port": 3000,
},
"pathMappings": [
{
"localRoot": "Y:/irenec/pipeline/src",
"remoteRoot": "Y:/irenec/pipeline/src"
},
],
"justMyCode": false,
// "logToFile": true
},
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
2025-08-25 07:13:52.584 [info] Active interpreter [y:\irenec\pipelaunch\src]: y:\irenec\pipelaunch\pl_venv\Scripts\python.exe
2025-08-25 07:13:52.584 [info] Starting Pylance language server.
Output for Python Debugger in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python Debugger)
2025-08-25 05:15:03.205 [info] Resolving attach configuration with substituted variables
2025-08-25 05:15:03.225 [info] Connecting to DAP Server at: localhost:3000
2025-08-25 05:15:03.320 [info] Received 'debugpySockets' event from debugpy.
Extension version: 2025.10.0
VS Code version: Code 1.103.2 (6f17636121051a53c88d3e605c491d22af2ba755, 2025-08-20T16:45:34.255Z)
OS version: Windows_NT x64 10.0.19045
Modes:
- Python version (& distribution if applicable, e.g. Anaconda): 3.9.13
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): VirtualEnvironment
| Item | Value |
|---|---|
| CPUs | Intel(R) Xeon(R) W-2225 CPU @ 4.10GHz (8 x 4104) |
| 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: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 63.69GB (47.68GB free) |
| Process Argv | Y:\irenec\vscode\irenec.code-workspace --crash-reporter-id 0f3862e7-250e-488d-8961-f1c20f56d1d7 |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
747dc170:31275177
aj953862:31281341
9d2cg352:31346308
nesew2to5:31336538
agentclaude:31335814
nes-set-on:31340697
63221493:31336333
0927b901:31350571
f76d9909:31348711
custommodelcf:31371783
45650338:31358607
0cj2b977:31352657
justeven_python:31371804
gemagent1:31368469
retryenabled:31370050
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
評估
這個 Issue 還沒有評估資料。