binaryage / binaryage/cljs-devtools

Rendering issue in devtools scope tree

未关闭
#52 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
chrome-bug
主要语言
Clojure
星标
1.1k
派生
51
PR 合并指标
30 天内没有已合并 PR

描述

## Problem
We have recently noticed the following rendering issue with the devtools scope tree.

![image](https://user-images.githubusercontent.com/4626024/64827447-91c17280-d607-11e9-8116-647caffbc037.png)

## Environment / Observations

- this started happening a few weeks back.
- seems to happen intermittently although presently it is all the time.
- happens both on my Linux Ubuntu (Ubuntu 18.04.3 LTS) desktop and a colleague's Windows 10.
- Chrome Version 77.0.3865.75 (Official Build) (64-bit)
- Chrome restart does not clear it.
- Playing with docking position does not change anything.
- Sometimes I have seen it render some of the vars but not all of them if you resize the devtools scope panel.
- If you disable custom formatters in settings, it renders fine but alas back to raw JS data structures.
- Rendering same ds in console via `js/console.log` does the right thing and expandable tree renders perfectly.

This might be a cljs-devtools issue I see latest 0.9.10 was released over a year ago. I'm not sure but did dirac embed the devtools and is it possibly running a more up to date version ? (we don't use dirac at the moment, but if installing it instead of cljs-devtools would that solve it ?

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 未指明源文件或测试;首先在启用 custom formatters 的 Chrome 中重现作用域树渲染问题,并将其与控制台渲染进行比较。完成的标准是:即使在调整面板大小之后,变量也能在作用域树中完整且正确地渲染,而无需禁用 custom formatters。

由索引模型根据 Issue 内容生成。

评估

技术栈
clojure, javascript
领域
devtools
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。