Variable explorer displays functions with a leading underscore
- 主要語言
- Python
- 星號
- 734
- 分支
- 412
- 平均合併
- 1 天 5 小時
- 30 天內合併 PR
- 8
描述
The `inspectVariables` request and the variable explorer panel in the debugger seems to display functions with a leading underscore.
Here's a simple repro
```
def _abc():
return "Hello"
def abc():
return "Hello"
```
In the above code snippet, `_abc` will appear in the "Variables" panel whereas `abc` will not, as demonstrated below

貢獻指南
研究方向
Start by tracing the `inspectVariables` request and the debugger's variable explorer panel, using the provided Python reproduction to compare how `_abc` and `abc` are displayed. Done means the variable panel handles both functions consistently with the reported expected behavior, with a regression test covering the reproduction.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- jupyter, python
- 領域
- devtools
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 35/100